Back to Explore

syntax-tree/mdast-util-mdx

GitHub
1 watchersOpen source

Last release:

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 (last upstream push 2024-02-10, latest noted update 3.0.0 on 2023-07-12) suggests the project is quiet / not actively maintained as of 2026-06-09, with no recent updates showing since that period.
  • Update cadence: Updates appear sporadic (not a steady cadence), with several releases concentrated in 2020-2023 and then a long gap afterward relative to today.

AI summary generated

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

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.

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

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

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

    BreakingFeatures
  • 0.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.