Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for trimming whitespace around string, text | Titus Wormer | 2022-06-30 | 2 | -14/+25 |
| | | | | | | | | | | | | | 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 some docs, fix some grammar | Titus Wormer | 2022-06-30 | 1 | -2/+3 |
| | |||||
* | Add support for sharing identifiers, references before definitions | Titus Wormer | 2022-06-29 | 1 | -5/+7 |
| | |||||
* | Add link, images (resource) | Titus Wormer | 2022-06-24 | 2 | -11/+26 |
| | | | | | | | | | | | | 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 | ||||
* | Add support for normalizing identifiers | Titus Wormer | 2022-06-22 | 1 | -1/+24 |
| | |||||
* | Refactor to improve tokenizer, add docs | Titus Wormer | 2022-06-22 | 3 | -19/+24 |
| | |||||
* | Make data a construct | Titus Wormer | 2022-06-21 | 2 | -82/+21 |
| | |||||
* | Refactor to improve a bunch of states | Titus Wormer | 2022-06-21 | 1 | -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 tests | Titus Wormer | 2022-06-20 | 2 | -3/+0 |
| | |||||
* | Add support for line endings in string | Titus Wormer | 2022-06-20 | 1 | -9/+23 |
| | |||||
* | Add improved whitespace handling | Titus Wormer | 2022-06-20 | 1 | -34/+11 |
| | | | | | | * 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 | ||||
* | Add paragraph | Titus Wormer | 2022-06-20 | 1 | -130/+9 |
| | |||||
* | Remove unneeded `content` content type | Titus Wormer | 2022-06-20 | 4 | -99/+30 |
| | |||||
* | Add support for definitions | Titus Wormer | 2022-06-17 | 3 | -53/+22 |
| | | | | | | * Add definitions * Add partials for label, destination, title * Add `go`, to attempt something, and do something else on `ok` | ||||
* | Add heading (setext) | Titus Wormer | 2022-06-16 | 2 | -14/+27 |
| | |||||
* | Refactor to reorder thing alphabetically | Titus Wormer | 2022-06-16 | 2 | -1/+1 |
| | |||||
* | Add support for hard break (trailing) | Titus Wormer | 2022-06-16 | 1 | -6/+9 |
| | |||||
* | Add support for hard break escape | Titus Wormer | 2022-06-16 | 1 | -3/+4 |
| | |||||
* | Add code (text) | Titus Wormer | 2022-06-15 | 1 | -4/+6 |
| | |||||
* | Fix support for deep subtokenization | Titus Wormer | 2022-06-14 | 1 | -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 | ||||
* | Reorganize to split util | Titus Wormer | 2022-06-14 | 1 | -2/+2 |
| | |||||
* | Add docs for html (text) | Titus Wormer | 2022-06-14 | 1 | -1/+1 |
| | |||||
* | Add basic html (text) | Titus Wormer | 2022-06-13 | 2 | -9/+22 |
| | | | | | | | * 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 autolinks | Titus Wormer | 2022-06-13 | 1 | -4/+5 |
| | |||||
* | Add text content type | Titus Wormer | 2022-06-10 | 4 | -13/+92 |
| | | | | | * Add character reference and character escapes in text * Add recursive subtokenization | ||||
* | Add proper support for subtokenization | Titus Wormer | 2022-06-10 | 4 | -55/+118 |
| | | | | | | | - Add “content” content type - Add paragraph - Add skips - Add linked tokens | ||||
* | Add basic subtokenization, string content in fenced code | Titus Wormer | 2022-06-09 | 2 | -33/+10 |
| | |||||
* | Refactor to pass more slices around | Titus Wormer | 2022-06-09 | 2 | -2/+2 |
| | |||||
* | Add support for indented lines in paragraphs | Titus Wormer | 2022-06-09 | 1 | -23/+20 |
| | |||||
* | Add basic support for interrupting content | Titus Wormer | 2022-06-09 | 1 | -69/+95 |
| | |||||
* | . | Titus Wormer | 2022-06-08 | 3 | -0/+382 |