This package provides mdast extensions that parse and serialize MDX syntax in Markdown, including ESM (import/export), JSX, and expressions. It is useful when you are already using mdast-util-from-markdown and mdast-util-to-markdown and want MDX support in the mdast syntax tree.
Project status
- Maintenance status: Evidence suggests this source is quiet/dormant as of 2026-09-10, with the last upstream push on 2024-02-10 and the most recent recorded updates on 2023-07-12 (3.0.0).
- Update cadence: Updates appear infrequent, with multi-year gaps between major/minor changes (for example, 1.1.0 in 2021, 2.0.0 in 2022, 2.0.1 in early 2023, 3.0.0 in mid 2023). No evidence of regular cadence in recent years.
AI summary generated
Recent updates
3.0.0
mdast-util-mdx v3.0.0 is published as an ESM-only package with updated type exports and an updated build/entry structure. The release notes mention requiring Node.js 16, updating mdast-related types/utilities, and switching to package.json exports, but the code diff also shows major dependency bumps and some runtime-relevant invocation changes.
Breaking2.0.1
Release 2.0.1 is primarily documentation and test work, plus a tsconfig adjustment. The actual library code change in index.js appears to be documentation/JSDoc only, with no runtime logic changes visible in the provided diff.
2.0.0
mdast-util-mdx v2.0.0 changes its public exports, so callers now invoke `mdxFromMarkdown()` and `mdxToMarkdown(options?)` to obtain the `mdast-util-from-markdown` and `mdast-util-to-markdown` extensions. It also updates `mdast-util-mdx-jsx` and threads “formatting options” through to the JSX serializer.
BreakingFeatures1.1.0
Release 1.1.0 introduces support for additional MDX-related node types in this mdast utility. The diff mainly shows type-level additions and test fixture adjustments, plus a small dev dependency bump.
Features1.0.0
This release (1.0.0) converts the package to ESM, adds JSDoc based types, and improves documentation. The code diff indicates a larger refactor than the terse release notes suggest, including major dependency upgrades and a change in public exports and entrypoints.
BreakingFeatures0.1.1
Release 0.1.1 makes a targeted serialization fix so that values like `tel:...` are not treated as `link (auto)` but instead serialized as a resource link. The code change also refactors the markdown configuration plumbing to use `mdast-util-to-markdown` internals, which can affect the shape of the exported configuration object.
0.1.0
Release 0.1.0 was published on 2020-12-08, but the release notes contain no described changes beyond a generic celebration message. No information is provided about new features, fixes, security updates, or migration requirements.