An extension for micromark that supports MDX or MDX JS expressions. It also includes helper packages for parsing expressions and converting micromark events into JavaScript parsing (via acorn), useful if you need MDX expression support in markdown processing.
Project status
- The source,
micromark-extension-mdx-expression, shows no upstream activity since the last push on 2025-03-24, and with today being 2026-06-09 that is over a year ago, suggesting it is quiet or in maintenance mode rather than actively maintained. - Apparent update cadence is low, with the previous major update at 3.0.0 on 2023-10-19 and a follow-up update at 3.0.1 on 2025-03-24, rather than a steady stream of updates.
AI summary generated
Recent updates
micromark-extension-mdx-expression@3.0.1
Release notes for micromark-extension-mdx-expression@3.0.1 only mention adding declaration maps and adding license files. The code diff shows significantly more than that, including new parsing hook behaviors (acorn comment and token callbacks) and multiple repo/tooling changes.
Featuresmicromark-factory-mdx-expression@2.0.3
micromark-factory-mdx-expression@2.0.3 primarily updates package metadata and TypeScript support artifacts. The release adds declaration maps to improve how TypeScript users and tooling can trace types back to source. It also adds license files to the package distribution.
Featuresmicromark-util-events-to-acorn@2.0.3
This release is primarily packaging and TypeScript-definition related. It removes an unneeded type-only dependency on @types/acorn and adds declaration maps, with no described runtime or API changes.
micromark-factory-mdx-expression@2.0.2
This release primarily fixes expression whitespace handling, specifically consuming some indentation so expressions are parsed “like before”. The change is implemented in the MDX expression factory by adjusting how leading markdown spaces are handled inside the expression parser.
micromark-extension-mdx-expression@3.0.0
micromark-extension-mdx-expression@3.0.0 updates the default Acorn parsing target to ecmaVersion 2024 and adds support for flow JSX tags occurring after flow expressions. The implementation adjusts the mdxExpression construct to allow a handoff to the MDX JSX flow-tag parsing when a '<' is encountered in the right context.
Featuresmicromark-util-events-to-acorn@2.0.2
micromark-util-events-to-acorn v2.0.2 contains a small change described only as a dependency update. The release notes do not specify which dependency was updated or whether any behavior changes are expected.
micromark-factory-mdx-expression@2.0.1
micromark-factory-mdx-expression@2.0.1 makes a small internal change to how parse error locations are computed, and bumps related dependency versions. The published release notes only mention updating @types/unist, but the diff shows additional dependency changes and a new runtime assertion in the MDX expression parser.
Breakingmicromark-util-events-to-acorn@2.0.1
This release updates the TypeScript typings used by micromark-util-events-to-acorn. No functional or API changes are described in the release notes.
micromark-util-events-to-acorn@2.0.0
This release is for micromark-util-events-to-acorn version 2.0.0. The provided release notes do not include any change log details other than a reference link, so no actionable developer-impact information (features, fixes, breaking changes) can be extracted from the supplied data.
2.0.0
Release 2.0.0 is described as a major update that includes a Node.js requirement bump, internal tokenizer integration changes (events-to-acorn), and some dependency updates. The provided code diff, however, shows only package version bumps, a dependency major version alignment, and readme import URL updates.
BreakingFeatures