mdast-util-mdx-jsx provides mdast extensions to parse and serialize MDX JSX syntax (for example, `<a />`) when working with markdown. It’s useful when you use `mdast-util-from-markdown` to turn MDX JSX into a syntax tree and `mdast-util-to-markdown` to write MDX JSX back out from that tree.
Project status
- Actively maintained, with a latest tagged update (3.2.0 on 2025-01-13) and an upstream GitHub push as recently as 2025-11-19.
- Apparent update cadence is moderate, with updates roughly every 4 to 6 months (3.1.2 on 2024-03-13, 3.1.3 on 2024-08-27, 3.2.0 on 2025-01-13).
AI summary generated Today
Recent updates
3.2.0
1/13/2025Release 3.2.0 adds positional information (line/column offsets) to `mdxJsxExpressionAttribute` nodes produced by `mdxJsxFromMarkdown`. The code changes also ensure `position.end` is populated for the attribute node, and updates tests accordingly.
Features3.1.3
8/27/2024Release 3.1.3 makes a small dependency cleanup, and applies several non-functional repository changes (docs formatting, workflow matrix tweak, and test comment). The release notes only mention removing an unused dependency, but the diff also includes multiple development dependency/version changes.
3.1.2
3/13/2024Release 3.1.2 contains fixes related to JSX indentation when JSX is nested inside lists and block quotes. The diff shows a change in the internal depth inference logic used during rendering/serialization, plus added roundtrip tests to cover nested JSX combined with those Markdown structures.