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.
The extensions can be used separately:
micromark/micromark-extension-mdx-expression— support MDX (or MDX.js) expressions
micromark/micromark-extension-mdx-jsx— support MDX (or MDX.js) JSX
micromark/micromark-extension-mdx-md— turn some markdown features off for MDX (or MDX.js)
npm install micromark-extension-mdx
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
micromark/micromark— the smallest commonmark-compliant markdown parser that exists
micromark/micromark-extension-mdxjs— micromark extension to support MDX.js
micromark/micromark-extension-mdx-expression— micromark extension to support MDX (or MDX.js) expressions
micromark/micromark-extension-mdx-jsx— micromark extension to support MDX (or MDX.js) JSX
micromark/micromark-extension-mdx-md— micromark extension to support misc MDX changes
syntax-tree/mdast-util-mdx— mdast utility to support MDX (or MDX.js)
This project has a code of conduct. By interacting with this repository, organization, or community you agree to abide by its terms.