aboutsummaryrefslogtreecommitdiffstats
path: root/tests/code_fenced.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-07-08Fix closing of flow when exiting containersLibravatar Titus Wormer1-2/+2
2022-07-08Add support for concrete constructsLibravatar Titus Wormer1-12/+10
2022-07-07Add basic support for block quotesLibravatar Titus Wormer1-32/+36
2022-07-01Make paragraphs really fastLibravatar Titus Wormer1-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-16Add heading (setext)Libravatar Titus Wormer1-6/+5
2022-06-15Add code (text)Libravatar Titus Wormer1-18/+15
2022-06-09Add basic subtokenization, string content in fenced codeLibravatar Titus Wormer1-6/+5