Back to Explore

micromark/micromark-extension-mdx-jsx

GitHub
1 watchersOpen source

Last release:

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

  • This source does not show strong signs of active maintenance today, with the most recent upstream update on 2025-03-24, which is over a year ago (gap to 2026-06-09). Recent updates appear to be incremental rather than feature-driven.
  • Apparent update cadence is sporadic: updates landed in 2025-03 (3.0.2), 2024-09 (3.0.1), 2023-10 (3.0.0), and 2023-06 (2.0.0), suggesting occasional releases rather than a regular schedule.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

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.

    Features
  • 3.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.

    Features
  • 2.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.

    Breaking
  • 1.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