7 Commits

Author SHA1 Message Date
Trevor Buckner
288f1cbe2f
Tokenizers lex their own child tokens (#2124)
BREAKING CHANGES:

- Tokenizers will create their own tokens with `this.lexer.inline(text, tokens)`. The `inline` function will queue the token creation until after all block tokens are rendered.
- `nptable` tokenizer is removed and merged with `table` tokenizer.
- Extensions tokenizer `this` object will include the `lexer` as a property. `this.inlineTokens` becomes `this.lexer.inline`.
- Extensions parser `this` object will include the `parser` as a property. `this.parseInline` becomes `this.parser.parseInline`.
- `tag` and `inlineText` tokenizer function signatures have changed.
2021-08-02 14:12:43 -05:00
Tony Brix
27070705d3
fix: remove string.repeat for ie11 (#1772) 2020-10-21 09:56:32 -05:00
Mateusz Burzyński
34df290fd0 Remove static properties from helpers 2019-12-04 21:14:51 +01:00
Tony Brix
b01aa4f5b4 clean up code 2019-11-07 12:46:32 -06:00
Tony Brix
a4652f1363 add license in rollup 2019-11-06 11:54:31 -06:00
Tony Brix
f9f5580c42 use commonjs and es6 classes 2019-11-06 11:11:06 -06:00
Tony Brix
099983ffcb move marked to es modules in ./src folder 2019-11-05 15:29:42 -06:00