aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add support for passing token types to destination, label, titleLibravatar Titus Wormer2022-06-211-2/+2
|
* Refactor to move protocols to constantsLibravatar Titus Wormer2022-06-211-6/+2
|
* Refactor to improve a bunch of statesLibravatar Titus Wormer2022-06-211-26/+32
| | | | | | * Improve passing stuff around * Add traits to enums for markers and such * Fix “life time” stuff I didn’t understand
* Add support for inferring line ending, configurableLibravatar Titus Wormer2022-06-211-16/+73
| | | | | | * Rename `CompileOptions` to `Options` * Add support for an optional default line ending style * Add support for inferring the used line ending style
* Add improved whitespace handlingLibravatar Titus Wormer2022-06-201-9/+1
| | | | | | * add several helpers for parsing betwen x and y `space_or_tab`s * use those helpers in a bunch of places * move initial indent parsing to flow constructs themselves
* Remove unneeded `content` content typeLibravatar Titus Wormer2022-06-201-2/+0
|
* Add support for definitionsLibravatar Titus Wormer2022-06-171-0/+29
| | | | | | * Add definitions * Add partials for label, destination, title * Add `go`, to attempt something, and do something else on `ok`
* Add heading (setext)Libravatar Titus Wormer2022-06-161-55/+71
|
* Refactor to reorder thing alphabeticallyLibravatar Titus Wormer2022-06-161-167/+168
|
* Add support for hard break (trailing)Libravatar Titus Wormer2022-06-161-1/+4
|
* Add support for hard break escapeLibravatar Titus Wormer2022-06-161-0/+6
|
* Add support for text in heading (atx)Libravatar Titus Wormer2022-06-151-4/+6
|
* Add code (text)Libravatar Titus Wormer2022-06-151-7/+35
|
* Add tests for character referenceLibravatar Titus Wormer2022-06-151-1/+1
| | | | | * Fix encoding of character references * Fix unneeded remainder in `nok` state
* Add examples to some docsLibravatar Titus Wormer2022-06-141-0/+48
|
* Reorganize to split utilLibravatar Titus Wormer2022-06-141-20/+24
|
* Add basic html (text)Libravatar Titus Wormer2022-06-131-2/+8
| | | | | | | * Add all states for html (text) * Fix to link paragraph tokens together * Add note about uncovered bug where linking paragraph tokens together doesn’t work 😅
* Add support for sanitizing urlsLibravatar Titus Wormer2022-06-131-9/+25
| | | | | | * Add support for properly encoding characters in urls * Add support for sanitizing potentially dangerous urls * Add safe defaults, optionally live dangerously
* Add autolinksLibravatar Titus Wormer2022-06-131-2/+28
|
* Add text content typeLibravatar Titus Wormer2022-06-101-3/+1
| | | | | * Add character reference and character escapes in text * Add recursive subtokenization
* Add proper support for subtokenizationLibravatar Titus Wormer2022-06-101-15/+8
| | | | | | | - Add “content” content type - Add paragraph - Add skips - Add linked tokens
* Add temporary support for stripping whitespaceLibravatar Titus Wormer2022-06-091-4/+8
|
* Add basic support for interrupting contentLibravatar Titus Wormer2022-06-091-2/+2
|
* .Libravatar Titus Wormer2022-06-081-0/+367