aboutsummaryrefslogtreecommitdiffstats
path: root/src/content/string.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add support for trimming whitespace around string, textLibravatar Titus Wormer2022-06-301-5/+12
| | | | | | | | | | | | | 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
* Refactor to improve tokenizer, add docsLibravatar Titus Wormer2022-06-221-3/+4
|
* Make data a constructLibravatar Titus Wormer2022-06-211-41/+9
|
* Refactor to improve a bunch of statesLibravatar Titus Wormer2022-06-211-8/+0
| | | | | | * Improve passing stuff around * Add traits to enums for markers and such * Fix “life time” stuff I didn’t understand
* Add some more enabled testsLibravatar Titus Wormer2022-06-201-2/+0
|
* Add support for line endings in stringLibravatar Titus Wormer2022-06-201-9/+23
|
* Remove unneeded `content` content typeLibravatar Titus Wormer2022-06-201-1/+3
|
* Add support for definitionsLibravatar Titus Wormer2022-06-171-0/+2
| | | | | | * Add definitions * Add partials for label, destination, title * Add `go`, to attempt something, and do something else on `ok`
* Refactor to reorder thing alphabeticallyLibravatar Titus Wormer2022-06-161-0/+1
|
* Add text content typeLibravatar Titus Wormer2022-06-101-8/+2
| | | | | * Add character reference and character escapes in text * Add recursive subtokenization
* Add proper support for subtokenizationLibravatar Titus Wormer2022-06-101-36/+6
| | | | | | | - Add “content” content type - Add paragraph - Add skips - Add linked tokens
* Add basic subtokenization, string content in fenced codeLibravatar Titus Wormer2022-06-091-16/+4
|
* Refactor to pass more slices aroundLibravatar Titus Wormer2022-06-091-1/+1
|
* .Libravatar Titus Wormer2022-06-081-0/+120