Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-09-28 | Add support for turning mdast to hast | Titus Wormer | 1 | -2/+4 | |
2022-09-26 | Add support for compiling to mdast | Titus Wormer | 1 | -1/+20 | |
See: <https://github.com/syntax-tree/mdast>. | |||||
2022-09-07 | Add support for recoverable syntax errors | Titus Wormer | 1 | -2/+4 | |
2022-08-18 | Add `pretty_assertions` to tests for diffs | Titus Wormer | 1 | -0/+2 | |
2022-08-01 | Fix bug on empty heading (atx) | Titus Wormer | 1 | -1/+7 | |
2022-07-18 | Add support for turning off constructs | Titus Wormer | 1 | -7/+15 | |
2022-07-11 | Add support for lazy lines | Titus Wormer | 1 | -5/+5 | |
2022-07-07 | Add basic support for block quotes | Titus Wormer | 1 | -6/+5 | |
2022-07-04 | Add support for attention (emphasis, strong) | Titus Wormer | 1 | -6/+5 | |
2022-07-01 | Make paragraphs really fast | Titus Wormer | 1 | -1/+1 | |
The approach that `micromark-js` takes is as follows: to parse a paragraph, check whether each line starts with something else. If it does, exit, otherwise continue. That is slow, because our actual flow parser does similar things: the work was being done twice. To fix this, this commit introduces parsing each line of a paragraph separately. And finally, when done with flow, combining adjacent paragraphs. This same mechanism is reused for setext headings. Additionally, this commit adds support for interrupting things (or not). E.g., HTML (flow, complete) cannot interrupt paragraphs. Definitions cannot interrupt paragraphs, and connect be interrupted either, but they can follow each other. | |||||
2022-06-30 | Add support for trimming whitespace around string, text | Titus Wormer | 1 | -6/+5 | |
This commit introduces trimming initial and final whitespace around the whole string or text, or around line endings inside that string or text. * Add `register_resolver_before`, to run resolvers earlier than others, used for labels * Add resolver to merge `data` events, which are the most frequent token that occurs, and can happen adjacently. In `micromark-js` this sped up parsing a lot * Fix a bug where a virtual space was not seen as an okay event * Refactor to enable all turned off whitespace tests | |||||
2022-06-15 | Add support for text in heading (atx) | Titus Wormer | 1 | -17/+15 | |
2022-06-15 | Update to enable some tests for added constructs | Titus Wormer | 1 | -6/+6 | |
2022-06-10 | Add proper support for subtokenization | Titus Wormer | 1 | -5/+6 | |
- Add “content” content type - Add paragraph - Add skips - Add linked tokens | |||||
2022-06-09 | Add temporary support for stripping whitespace | Titus Wormer | 1 | -6/+5 | |
2022-06-09 | Add support for indented lines in paragraphs | Titus Wormer | 1 | -1/+1 | |