Vitaly Puzrin
8b815a6072
lint: reduce empty lines
1 year ago
Vitaly Puzrin
9e7378775f
standard: init vars in separate declaration
1 year ago
Vitaly Puzrin
7dfcf69b71
standard: no spaces near array brackets
1 year ago
Vitaly Puzrin
0eb4cb96a4
standard: space before function params
1 year ago
Vitaly Puzrin
d0219010ad
standard: remove semi
1 year ago
Vitaly Puzrin
88b8669c46
var => const, let
1 year ago
Vitaly Puzrin
e92e776411
Rewrite core to es6 modules
1 year ago
Eddie Kohler
8bcc82aa74
Parser: Set ordered list_item_open token info to input marker.
For instance, in a list
1. Item 1
20. Item 2
the first list_item_open token will have token.info === '1', and the
second will have token.info === '20'.
This is useful for later rendering plugins that might want to
use the actual markers.
4 years ago
Taneli Hukkinen
32564bad8d
Clarify `Token.info` comment
4 years ago
Marijn Haverbeke
5837f6bc5b
Add an attrGet method to Token
To make it easier to write code that consumes tokens for
tasks other than generating HTML.
9 years ago
Vitaly Puzrin
18f1531024
New .attrJoin() & .attrSet() methods in Token
9 years ago
Alex Kocharin
b91a56dac2
Fix ndoc comments
10 years ago
Alex Kocharin
78bbb9a200
Add token.meta for use in plugins
10 years ago
Vitaly Puzrin
00117cb2e7
Changes to improve speed on node 0.12 & iojs
10 years ago
Vitaly Puzrin
3730820945
Added token helpers & reorganized renderer
10 years ago
Vitaly Puzrin
199e2488e6
Docs update
10 years ago
Alex Kocharin
4aabd5592e
Use a common class for tokens
10 years ago