Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-10-13 | Refactor to improve coverage of titles | Titus Wormer | 1 | -2/+2 | |
2022-10-13 | Remove unneeded states in `partial_label` | Titus Wormer | 1 | -4/+2 | |
2022-10-11 | Refactor to use a bunch of `into` | Titus Wormer | 1 | -2/+2 | |
2022-09-19 | Add support for parsing MDX ESM, expressions | Titus Wormer | 1 | -2/+18 | |
This commit adds support for hooks that lets a user integrate another parser with `micromark-rs`, to parse ESM and expressions according to a particular grammar (such as a programming language, typically JavaScript). For an example integrating with SWC, see `tests/test_utils/mod.rs`. The integration occurs with two functions passed in `options`: `mdx_expression_parse` and `mdx_esm_parse`. The can signal back to micromark when they are successful, whether there is an error at the end (in which case micromark will try to parse more), or whether there is a syntax error (in which case micromark will crash). | |||||
2022-09-14 | Fix to prefer flow over definitions, setext headings | Titus Wormer | 1 | -97/+105 | |
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. | |||||
2022-09-12 | Fix whitespace in GFM footnote definition identifiers | Titus Wormer | 1 | -0/+8 | |
* Fix a crash on line endings in footnote definitions * Fix to match spaces and tabs in identifiers to `cmark-gfm` * Fix order of one attribute | |||||
2022-09-09 | Add support for mdx attribute (value) expressions | Titus Wormer | 1 | -0/+9 | |
2022-09-09 | Add mdx expression (flow, text) | Titus Wormer | 1 | -0/+28 | |
2022-09-09 | Fix to allow blank lines in mdx jsx (flow) | Titus Wormer | 1 | -6/+0 | |
2022-09-08 | Refactor to order states | Titus Wormer | 1 | -197/+194 | |
2022-09-08 | Add support for mdx jsx (flow) | Titus Wormer | 1 | -1/+25 | |
2022-09-08 | Refactor to move jsx parsing to partial | Titus Wormer | 1 | -56/+60 | |
2022-09-07 | Add support for recoverable syntax errors | Titus Wormer | 1 | -1/+24 | |
2022-09-06 | Add initial states for MDX JSX (text) | Titus Wormer | 1 | -0/+64 | |
2022-09-05 | Fix to implement GFM autolink literals exactly | Titus Wormer | 1 | -0/+60 | |
2022-08-31 | Add support for GFM tables | Titus Wormer | 1 | -0/+51 | |
2022-08-26 | Add support for math (flow) | Titus Wormer | 1 | -36/+36 | |
2022-08-26 | Add support for math (text) | Titus Wormer | 1 | -10/+10 | |
2022-08-25 | Add support for GFM footnotes | Titus Wormer | 1 | -0/+34 | |
2022-08-22 | Add support for GFM task list item | Titus Wormer | 1 | -0/+14 | |
2022-08-16 | Add support for frontmatter | Titus Wormer | 1 | -0/+24 | |
2022-08-15 | Refactor to proof docs, grammars | Titus Wormer | 1 | -3/+5 | |
2022-08-15 | Add derive of `Eq` where possible | Titus Wormer | 1 | -2/+2 | |
2022-08-15 | Refactor to move `content` to `construct` | Titus Wormer | 1 | -32/+33 | |
2022-08-15 | Refactor to rename list construct to list item | Titus Wormer | 1 | -30/+30 | |
2022-08-12 | Remove unneeded state | Titus Wormer | 1 | -2/+0 | |
2022-08-12 | Remove `match` statements if clumsy | Titus Wormer | 1 | -2/+0 | |
2022-08-12 | Refactor to improve docs of each function | Titus Wormer | 1 | -11/+5 | |
2022-08-11 | Refactor to move `space_or_tab_eol` to own file | Titus Wormer | 1 | -5/+5 | |
2022-08-11 | Refactor to move some code to `state.rs` | Titus Wormer | 1 | -0/+622 | |