Project: micromark/micromark-extension-mdx

Package: micromark-extension-mdx@0.2.1

  1. Dependencies: 4·Dependents: 0
  2. micromark extension to support MDX (agnostic to JavaScript)
  1. unified 169
  2. markdown 142
  3. mdx 29
  4. jsx 17
  5. micromark 16
  6. micromark-extension 16
  7. expression 5


Build Coverage Downloads Size Sponsors Backers Chat

micromark extension to support MDX (agnostic to JS). Use micromark-extension-mdxjs instead to support MDX.js.

This package provides the low-level modules for integrating with the micromark tokenizer but has no handling of compiling to HTML: go to a syntax tree instead.

You probably should use this package with mdast-util-mdx (mdast) or alternatively use both through remark-mdx (remark).

The extensions can be used separately:



npm install micromark-extension-mdx


See mdast-util-mdx for an example.



Support MDX (agnostic to JS).

There are no options yet.

The export is a function that can be called to return an extension for the micromark parser (to tokenize MDX; can be passed in extensions).


See contributing.md in micromark/.github for ways to get started. See support.md for ways to get help.

This project has a code of conduct. By interacting with this repository, organization, or community you agree to abide by its terms.


MIT © Titus Wormer