aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mdx_jsx_text.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add support for HTML 4 character references in JSX attributesLibravatar Titus Wormer2022-10-061-0/+91
|
* Add support for turning mdast to hastLibravatar Titus Wormer2022-09-281-3/+5
|
* Add support for compiling to mdastLibravatar Titus Wormer2022-09-261-1/+273
| | | | See: <https://github.com/syntax-tree/mdast>.
* Add support for parsing MDX ESM, expressionsLibravatar Titus Wormer2022-09-191-48/+48
| | | | | | | | | | | | | | | | 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).
* Add docs for mdx expressionsLibravatar Titus Wormer2022-09-091-1/+1
|
* Add support for mdx attribute (value) expressionsLibravatar Titus Wormer2022-09-091-160/+142
|
* Add support for mdx jsx (flow)Libravatar Titus Wormer2022-09-081-0/+24
|
* Add tests for mdx jsx (text)Libravatar Titus Wormer2022-09-081-0/+821