aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/partial_mdx_jsx.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-05-13Remove superfluous codeLibravatar Titus Wormer1-4/+1
2023-04-22Fix crash in MDX whitespaceLibravatar Mick van Gelderen1-9/+11
Related-to: GH-26. Closes GH-60.
2022-11-10Refactor code-style for Rust 1.65Libravatar Hocdoc1-1/+1
Closes GH-29. Reviewed-by: Titus Wormer <tituswormer@gmail.com> Co-authored-by: Bernhard Berger <bernhardberger3456@gmail.com>
2022-10-13Add more tests for whitespace in jsx tagsLibravatar Titus Wormer1-10/+2
2022-10-06Refactor to share identifier methodsLibravatar Titus Wormer1-24/+26
2022-09-19Add support for parsing MDX ESM, expressionsLibravatar Titus Wormer1-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).
2022-09-09Add support for mdx attribute (value) expressionsLibravatar Titus Wormer1-2/+48
2022-09-09Add mdx expression (flow, text)Libravatar Titus Wormer1-1/+1
2022-09-09Add some missing docsLibravatar Titus Wormer1-14/+9
2022-09-09Fix to allow blank lines in mdx jsx (flow)Libravatar Titus Wormer1-44/+22
2022-09-09Refactor to move byte, char info to own fileLibravatar Titus Wormer1-55/+24
2022-09-09Add docs to mdx jsxLibravatar Titus Wormer1-1/+162
2022-09-08Add support for mdx jsx (flow)Libravatar Titus Wormer1-70/+119
2022-09-08Refactor to move jsx parsing to partialLibravatar Titus Wormer1-96/+70
2022-09-08Add tests for mdx jsx (text)Libravatar Titus Wormer1-11/+36
2022-09-07Add support for recoverable syntax errorsLibravatar Titus Wormer1-47/+41
2022-09-07Add support for unicode identifiers in JSXLibravatar Titus Wormer1-24/+95
2022-09-06Add initial states for MDX JSX (text)Libravatar Titus Wormer1-0/+877