Back to Explore

micromark/micromark-extension-mdx-jsx

GitHub
1 watchersOpen source

Last release: 3/24/2025

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 repository appears actively maintained, with the most recent update (v3.0.2) pushed on 2025-03-24, following a prior update (v3.0.1) on 2024-09-02.
  • The apparent update cadence is irregular but ongoing, about 6 months between v3.0.1 and v3.0.2, and roughly 11 months between v3.0.0 (2023-10-19) and v3.0.1.

AI summary generated Today

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

Recent updates

  • 3.0.2

    3/24/2025

    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

    9/2/2024

    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

    10/19/2023

    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