Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-09-28 | Add support for turning mdast to hast | Titus Wormer | 10 | -28/+24 | |
2022-09-19 | Add support for parsing MDX ESM, expressions | Titus Wormer | 5 | -21/+314 | |
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 | 15 | -211/+436 | |
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 containers piercing into indented code | Titus Wormer | 1 | -1/+1 | |
2022-09-12 | Fix gfm email autolink literals overlapping | Titus Wormer | 1 | -13/+13 | |
2022-09-12 | Fix blank lines in labels | Titus Wormer | 1 | -1/+2 | |
2022-09-12 | Fix whitespace in GFM footnote definition identifiers | Titus Wormer | 2 | -19/+106 | |
* 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 docs for mdx expressions | Titus Wormer | 3 | -12/+152 | |
2022-09-09 | Add support for mdx attribute (value) expressions | Titus Wormer | 2 | -10/+70 | |
2022-09-09 | Add mdx expression (flow, text) | Titus Wormer | 7 | -4/+242 | |
2022-09-09 | Add some missing docs | Titus Wormer | 1 | -14/+9 | |
2022-09-09 | Fix to allow blank lines in mdx jsx (flow) | Titus Wormer | 1 | -44/+22 | |
2022-09-09 | Refactor to move byte, char info to own file | Titus Wormer | 4 | -79/+55 | |
2022-09-09 | Add docs to mdx jsx | Titus Wormer | 3 | -4/+355 | |
2022-09-08 | Add support for mdx jsx (flow) | Titus Wormer | 4 | -74/+143 | |
2022-09-08 | Refactor to move jsx parsing to partial | Titus Wormer | 3 | -945/+954 | |
2022-09-08 | Add tests for mdx jsx (text) | Titus Wormer | 1 | -11/+36 | |
2022-09-07 | Add support for recoverable syntax errors | Titus Wormer | 2 | -53/+56 | |
2022-09-07 | Add support for unicode identifiers in JSX | Titus Wormer | 1 | -24/+95 | |
2022-09-06 | Add initial states for MDX JSX (text) | Titus Wormer | 4 | -47/+911 | |
2022-09-05 | Add support for `mailto:`, `xmpp:` protocols | Titus Wormer | 2 | -12/+54 | |
2022-09-05 | Fix some todos | Titus Wormer | 3 | -6/+5 | |
2022-09-05 | Fix to implement GFM autolink literals exactly | Titus Wormer | 3 | -158/+712 | |
2022-09-05 | Add support for getting `char`s from bytes | Titus Wormer | 1 | -21/+10 | |
2022-09-01 | Add support for GFM tagfilter | Titus Wormer | 2 | -2/+2 | |
2022-08-31 | Add support for GFM tables | Titus Wormer | 8 | -29/+1077 | |
2022-08-26 | Add support for math (flow) | Titus Wormer | 6 | -106/+205 | |
2022-08-26 | Add support for math (text) | Titus Wormer | 8 | -239/+301 | |
2022-08-25 | Add support for GFM footnotes | Titus Wormer | 11 | -104/+717 | |
2022-08-22 | Fix lazy paragraph after definition | Titus Wormer | 2 | -10/+60 | |
2022-08-22 | Add support for GFM task list item | Titus Wormer | 3 | -1/+167 | |
2022-08-22 | Add support for GFM strikethrough | Titus Wormer | 21 | -112/+169 | |
2022-08-19 | Refactor to move more things to `util/` | Titus Wormer | 15 | -32/+37 | |
2022-08-18 | Add support for GFM autolink literals | Titus Wormer | 6 | -75/+407 | |
2022-08-16 | Add `no_std + alloc` | Titus Wormer | 9 | -0/+9 | |
2022-08-16 | Add support for frontmatter | Titus Wormer | 6 | -16/+327 | |
2022-08-16 | Update some last docs, bnf grammars | Titus Wormer | 17 | -111/+226 | |
2022-08-15 | Refactor to proof docs, grammars | Titus Wormer | 21 | -241/+419 | |
2022-08-15 | Refactor to move `content` to `construct` | Titus Wormer | 32 | -38/+1037 | |
2022-08-15 | Refactor to rename list construct to list item | Titus Wormer | 4 | -27/+27 | |
2022-08-15 | Refactor paragraph, data resolvers | Titus Wormer | 2 | -44/+50 | |
2022-08-15 | Refactor to solve some clippy issues | Titus Wormer | 1 | -51/+50 | |
2022-08-12 | Refactor to attempt less if never needed | Titus Wormer | 14 | -293/+367 | |
2022-08-12 | Refactor to improve entering | Titus Wormer | 9 | -58/+113 | |
2022-08-12 | Refactor to improve some names | Titus Wormer | 3 | -15/+15 | |
2022-08-12 | Remove unneeded state | Titus Wormer | 1 | -21/+4 | |
2022-08-12 | Remove `match` statements if clumsy | Titus Wormer | 18 | -410/+368 | |
2022-08-12 | Refactor to improve docs of each function | Titus Wormer | 28 | -440/+420 | |
2022-08-11 | Refactor attempts to remove unneeded state name | Titus Wormer | 15 | -270/+236 | |
2022-08-11 | Refactor to handle definitions when parsing | Titus Wormer | 1 | -3/+34 | |