aboutsummaryrefslogtreecommitdiffstats
path: root/tests/code_fenced.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactor to use a bunch of `into`Libravatar Titus Wormer2022-10-111-4/+4
|
* Refactor to split parse from compile optionsLibravatar Titus Wormer2022-10-061-6/+9
|
* Add support for turning mdast to hastLibravatar Titus Wormer2022-09-281-2/+4
|
* Add support for compiling to mdastLibravatar Titus Wormer2022-09-261-1/+35
| | | | See: <https://github.com/syntax-tree/mdast>.
* Add support for recoverable syntax errorsLibravatar Titus Wormer2022-09-071-2/+4
|
* Add `pretty_assertions` to tests for diffsLibravatar Titus Wormer2022-08-181-0/+1
|
* Refactor to improve statesLibravatar Titus Wormer2022-07-291-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`
* Add support for turning off constructsLibravatar Titus Wormer2022-07-181-7/+15
|
* Fix to close containers before several (blank) line endingsLibravatar Titus Wormer2022-07-131-12/+10
|
* Fix a lot of list thingsLibravatar Titus Wormer2022-07-121-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
* Fix block quote bugsLibravatar Titus Wormer2022-07-111-6/+5
|
* Fix bug around forcibly closed flow exitsLibravatar Titus Wormer2022-07-081-19/+16
|
* Add improved container enter/exit mechanismLibravatar Titus Wormer2022-07-081-4/+4
|
* Fix closing of flow when exiting containersLibravatar Titus Wormer2022-07-081-2/+2
|
* Add support for concrete constructsLibravatar Titus Wormer2022-07-081-12/+10
|
* Add basic support for block quotesLibravatar Titus Wormer2022-07-071-32/+36
|
* 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