Vitaly Puzrin
8b815a6072
lint: reduce empty lines
5 months ago
Vitaly Puzrin
9e7378775f
standard: init vars in separate declaration
6 months ago
Vitaly Puzrin
7dfcf69b71
standard: no spaces near array brackets
6 months ago
Vitaly Puzrin
0eb4cb96a4
standard: space before function params
6 months ago
Vitaly Puzrin
d0219010ad
standard: remove semi
6 months ago
Vitaly Puzrin
88b8669c46
var => const, let
6 months ago
Vitaly Puzrin
e92e776411
Rewrite core to es6 modules
6 months 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.
3 years ago
Taneli Hukkinen
32564bad8d
Clarify `Token.info` comment
3 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.
8 years ago
Vitaly Puzrin
18f1531024
New .attrJoin() & .attrSet() methods in Token
8 years ago
Alex Kocharin
b91a56dac2
Fix ndoc comments
9 years ago
Alex Kocharin
78bbb9a200
Add token.meta for use in plugins
9 years ago
Vitaly Puzrin
00117cb2e7
Changes to improve speed on node 0.12 & iojs
9 years ago
Vitaly Puzrin
3730820945
Added token helpers & reorganized renderer
9 years ago
Vitaly Puzrin
199e2488e6
Docs update
9 years ago
Alex Kocharin
4aabd5592e
Use a common class for tokens
9 years ago