Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-09-26 | Add support for compiling to mdast | Titus Wormer | 1 | -1/+35 | |
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/+1 | |
2022-07-29 | Refactor to improve states | Titus Wormer | 1 | -0/+6 | |
* Remove custom kind wrappers, use plain bytes instead * Remove `Into`s, use the explicit expected types instead * Refactor to use `slice.as_str` in most places * Remove unneeded unique check before adding a definition * Use a shared CDATA prefix in constants * Inline byte checks into matches * Pass bytes back from parser instead of whole parse state * Refactor to work more often on bytes * Rename custom `size` to `len` | |||||
2022-07-18 | Add support for turning off constructs | Titus Wormer | 1 | -7/+15 | |
2022-07-13 | Fix to close containers before several (blank) line endings | Titus Wormer | 1 | -12/+10 | |
2022-07-12 | Fix a lot of list things | Titus Wormer | 1 | -10/+12 | |
* Add `ListItem`, `ListOrdered`, and `ListUnordered` tokens * Add support for multiline list items * Add support for tight lists * Fix bug where 10 digit long list item values worked * Fix skip bug when skipping over nested events | |||||
2022-07-11 | Fix block quote bugs | Titus Wormer | 1 | -6/+5 | |
2022-07-08 | Fix bug around forcibly closed flow exits | Titus Wormer | 1 | -19/+16 | |
2022-07-08 | Add improved container enter/exit mechanism | Titus Wormer | 1 | -4/+4 | |
2022-07-08 | Fix closing of flow when exiting containers | Titus Wormer | 1 | -2/+2 | |
2022-07-08 | Add support for concrete constructs | Titus Wormer | 1 | -12/+10 | |
2022-07-07 | Add basic support for block quotes | Titus Wormer | 1 | -32/+36 | |
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-16 | Add heading (setext) | Titus Wormer | 1 | -6/+5 | |
2022-06-15 | Add code (text) | Titus Wormer | 1 | -18/+15 | |
2022-06-09 | Add basic subtokenization, string content in fenced code | Titus Wormer | 1 | -6/+5 | |