aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/partial_mdx_jsx.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash in MDX whitespaceLibravatar Mick van Gelderen2023-04-221-9/+11
| | | | Related-to: GH-26. Closes GH-60.
* Refactor code-style for Rust 1.65Libravatar Hocdoc2022-11-101-1/+1
| | | | | | Closes GH-29. Reviewed-by: Titus Wormer <tituswormer@gmail.com> Co-authored-by: Bernhard Berger <bernhardberger3456@gmail.com>
* Add more tests for whitespace in jsx tagsLibravatar Titus Wormer2022-10-131-10/+2
|
* Refactor to share identifier methodsLibravatar Titus Wormer2022-10-061-24/+26
|
* Add support for parsing MDX ESM, expressionsLibravatar Titus Wormer2022-09-191-3/+0
| | | | | | | | | | | | | | | | 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 support for mdx attribute (value) expressionsLibravatar Titus Wormer2022-09-091-2/+48
|
* Add mdx expression (flow, text)Libravatar Titus Wormer2022-09-091-1/+1
|
* Add some missing docsLibravatar Titus Wormer2022-09-091-14/+9
|
* Fix to allow blank lines in mdx jsx (flow)Libravatar Titus Wormer2022-09-091-44/+22
|
* Refactor to move byte, char info to own fileLibravatar Titus Wormer2022-09-091-55/+24
|
* Add docs to mdx jsxLibravatar Titus Wormer2022-09-091-1/+162
|
* Add support for mdx jsx (flow)Libravatar Titus Wormer2022-09-081-70/+119
|
* Refactor to move jsx parsing to partialLibravatar Titus Wormer2022-09-081-0/+941