aboutsummaryrefslogtreecommitdiffstats
path: root/src/content/text.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add link, images (resource)Libravatar Titus Wormer2022-06-241-5/+12
| | | | | | | | | | | | This is still some messy code that needs cleaning up, but it adds support for links and images, of the resource kind (`[a](b)`). References (`[a][b]`) are parsed and will soon be supported, but need matching. * Fix bug to pad percent-encoded bytes when normalizing urls * Fix bug with escapes counting as balancing in destination * Add `space_or_tab_one_line_ending`, to parse whitespace including up to one line ending (but not a blank line) * Add `ParserState` to share codes, definitions, etc
* Refactor to improve tokenizer, add docsLibravatar Titus Wormer2022-06-221-8/+10
|
* Make data a constructLibravatar Titus Wormer2022-06-211-41/+12
|
* Refactor to reorder thing alphabeticallyLibravatar Titus Wormer2022-06-161-1/+0
|
* Add support for hard break (trailing)Libravatar Titus Wormer2022-06-161-6/+9
|
* Add support for hard break escapeLibravatar Titus Wormer2022-06-161-3/+4
|
* Add code (text)Libravatar Titus Wormer2022-06-151-4/+6
|
* Fix support for deep subtokenizationLibravatar Titus Wormer2022-06-141-7/+14
| | | | | | * Fix a couple of forgotten line ending handling in html (text) * Fix missing initial case for html (text) not having a `<` 😬 * Add line ending handling to `text` construct
* Add docs for html (text)Libravatar Titus Wormer2022-06-141-1/+1
|
* Add basic html (text)Libravatar Titus Wormer2022-06-131-5/+9
| | | | | | | * 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 autolinksLibravatar Titus Wormer2022-06-131-4/+5
|
* Add text content typeLibravatar Titus Wormer2022-06-101-0/+80
* Add character reference and character escapes in text * Add recursive subtokenization