Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix to prefer flow over definitions, setext headings | Titus Wormer | 2022-09-14 | 1 | -1/+3 |
| | | | | | | | | | | | | | | An undocumented part of CommonMark is how to deal with things in definition labels or definition titles (which both can span multiple lines). Can flow (or containers?) interrupt them? They can according to the `cmark` reference parser, so this was implemented here. This adds a new `Content` content type, which houses zero or more definitions, and then zero-or-one paragraphs. Content can be followed by a setext heading underline, which either turns into a setext heading when the content ends in a paragraph, or turns into the start of the following paragraph when it is followed by content that starts with a paragraph, or turns into a stray paragraph. | ||||
* | Add mdx expression (flow, text) | Titus Wormer | 2022-09-09 | 1 | -1/+7 |
| | |||||
* | Add support for mdx jsx (flow) | Titus Wormer | 2022-09-08 | 1 | -1/+3 |
| | |||||
* | Refactor to move jsx parsing to partial | Titus Wormer | 2022-09-08 | 1 | -0/+2 |
| | |||||
* | Add initial states for MDX JSX (text) | Titus Wormer | 2022-09-06 | 1 | -6/+6 |
| | |||||
* | Add support for GFM tables | Titus Wormer | 2022-08-31 | 1 | -0/+2 |
| | |||||
* | Add support for math (flow) | Titus Wormer | 2022-08-26 | 1 | -3/+3 |
| | |||||
* | Add support for math (text) | Titus Wormer | 2022-08-26 | 1 | -2/+4 |
| | |||||
* | Add support for GFM footnotes | Titus Wormer | 2022-08-25 | 1 | -0/+5 |
| | |||||
* | Add support for GFM task list item | Titus Wormer | 2022-08-22 | 1 | -0/+1 |
| | |||||
* | Add support for GFM autolink literals | Titus Wormer | 2022-08-18 | 1 | -2/+7 |
| | |||||
* | Add support for frontmatter | Titus Wormer | 2022-08-16 | 1 | -0/+2 |
| | |||||
* | Update some last docs, bnf grammars | Titus Wormer | 2022-08-16 | 1 | -8/+13 |
| | |||||
* | Refactor to proof docs, grammars | Titus Wormer | 2022-08-15 | 1 | -13/+69 |
| | |||||
* | Refactor to move `content` to `construct` | Titus Wormer | 2022-08-15 | 1 | -0/+4 |
| | |||||
* | Refactor to rename list construct to list item | Titus Wormer | 2022-08-15 | 1 | -2/+2 |
| | |||||
* | Refactor to move `space_or_tab_eol` to own file | Titus Wormer | 2022-08-11 | 1 | -0/+2 |
| | |||||
* | Add missing docs, refactor some code | Titus Wormer | 2022-08-01 | 1 | -0/+1 |
| | |||||
* | Refactor to work on bytes (`u8`) | Titus Wormer | 2022-07-29 | 1 | -0/+1 |
| | |||||
* | Refactor to drastically improve perf around whitespace | Titus Wormer | 2022-07-26 | 1 | -2/+3 |
| | |||||
* | Add initial support for lists | Titus Wormer | 2022-07-12 | 1 | -1/+3 |
| | |||||
* | Add support for lazy lines | Titus Wormer | 2022-07-11 | 1 | -0/+1 |
| | |||||
* | Add docs to block quote | Titus Wormer | 2022-07-07 | 1 | -1/+1 |
| | |||||
* | Add basic support for block quotes | Titus Wormer | 2022-07-07 | 1 | -0/+1 |
| | |||||
* | Add support for attention (emphasis, strong) | Titus Wormer | 2022-07-04 | 1 | -1/+2 |
| | |||||
* | Add support for trimming whitespace around string, text | Titus Wormer | 2022-06-30 | 1 | -0/+2 |
| | | | | | | | | | | | | | 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 | ||||
* | Add link, images (resource) | Titus Wormer | 2022-06-24 | 1 | -5/+6 |
| | | | | | | | | | | | | 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 | ||||
* | Make data a construct | Titus Wormer | 2022-06-21 | 1 | -5/+15 |
| | |||||
* | Add improved whitespace handling | Titus Wormer | 2022-06-20 | 1 | -1/+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 | ||||
* | Add paragraph | Titus Wormer | 2022-06-20 | 1 | -1/+2 |
| | |||||
* | Remove unneeded `content` content type | Titus Wormer | 2022-06-20 | 1 | -1/+0 |
| | |||||
* | Add docs to destination, label, title | Titus Wormer | 2022-06-20 | 1 | -1/+1 |
| | |||||
* | Add support for definitions | Titus Wormer | 2022-06-17 | 1 | -2/+6 |
| | | | | | | * 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 | 1 | -1/+2 |
| | |||||
* | Add support for hard break (trailing) | Titus Wormer | 2022-06-16 | 1 | -1/+3 |
| | |||||
* | Add support for hard break escape | Titus Wormer | 2022-06-16 | 1 | -1/+2 |
| | |||||
* | Add code (text) | Titus Wormer | 2022-06-15 | 1 | -1/+2 |
| | |||||
* | Reorganize to split util | Titus Wormer | 2022-06-14 | 1 | -1/+0 |
| | |||||
* | Add docs on constructs, bnf | Titus Wormer | 2022-06-14 | 1 | -0/+54 |
| | |||||
* | Add basic html (text) | Titus Wormer | 2022-06-13 | 1 | -0/+1 |
| | | | | | | | * 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 | -0/+1 |
| | |||||
* | . | Titus Wormer | 2022-06-08 | 1 | -0/+11 |