aboutsummaryrefslogtreecommitdiffstats
path: root/tests/code_fenced.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make paragraphs really fastLibravatar Titus Wormer2022-07-011-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.
* Add heading (setext)Libravatar Titus Wormer2022-06-161-6/+5
|
* Add code (text)Libravatar Titus Wormer2022-06-151-18/+15
|
* Add basic subtokenization, string content in fenced codeLibravatar Titus Wormer2022-06-091-6/+5
|
* .Libravatar Titus Wormer2022-06-081-0/+266