micromark-extension-mdx-jsx is an extension for micromark that adds support for MDX JSX syntax, such as JSX elements like `<Component />`, inside markdown. It is useful if you are working with micromark and want to parse JSX in MDX input, optionally configured with an Acorn-based JavaScript parser.
Project status
- The most recent upstream activity and published updates are from 2025-03-24 (v3.0.2), with no further updates evidenced since then, which is a gap of over 1.5 years as of 2026-09-10, suggesting the source is quiet or in maintenance mode rather than actively maintained.
- Update cadence appears sporadic rather than continuous: v3.0.1 (2024-09-02) to v3.0.2 (2025-03-24) is about 6 months, but the overall history shows long intervals between version bumps.
AI summary generated
Recent updates
3.0.2
Release 3.0.2 primarily targets TypeScript declaration generation (declaration maps) and removes an unneeded type dependency (@types/acorn), per the release notes. The code diff also includes several repository-level and development-tooling changes, plus a small internal change in the development-only MDX JSX flow parsing implementation.
Features3.0.1
Release 3.0.1 is described as a TypeScript/types cleanup, including a refactor to use `@import`s. The release notes do not mention any runtime behavior changes, API changes, or dependency updates.
3.0.0
Release 3.0.0 updates the default Acorn configuration to use `ecmaVersion: 2024` and adds support for parsing MDX flow expressions that appear immediately after MDX JSX flow tags. It also updates/extends parsing behavior and adds tests around interleaving JSX tags with expressions.
Features2.0.0
Release 2.0.0 updates the package to require Node.js 16 and bumps `micromark`. It also adds `url` fields to error messages. The code diff shows additional behavior and packaging changes that are not fully covered by the release notes.
Breaking1.0.5
Release 1.0.5 focuses on TypeScript typing updates to align with changes in micromark-util-types. The code diff shows only declaration and typing-related adjustments, plus a small build/config tweak to include a new dev typing file.
1.0.4
Release 1.0.4 focuses on documentation updates, internal refactors (including aligning with markdown-rs), and additional tests around whitespace in expressions. The code diff shows multiple tokenizer behavior changes and build/test tooling updates beyond what the release notes explicitly describe.
1.0.3
Release 1.0.3 is a small patch update. Release notes only mention an indentation improvement for tags and expressions.
1.0.2
Release 1.0.2 switches the project assertions used in the development build from `power-assert` to `uvu/assert`. The code diff only changes assertion imports and updates package configuration accordingly.
1.0.1
Release 1.0.1 is a small maintenance update. The documented change only mentions switching to `power-assert` for the development build, but the code diff also includes additional test coverage, a small grammar script refactor, and multiple dev tool dependency bumps.
1.0.0
Release 1.0.0 makes this package ESM-based, refactors the internal tokenizer implementation into ESM modules, and adds JSDoc-typed entry points. It also updates micromark-related dependencies and significantly modernizes the project structure (including an export map and a development entry).
BreakingFeatures