unified

Project: micromark/micromark-extension-mdx-md

Package: micromark-extension-mdx-md@0.1.1

  1. Dependencies: 0·Dependents: 2
  2. micromark extension to turn some markdown features off for MDX
  1. unified 169
  2. markdown 142
  3. mdx 29
  4. micromark 16
  5. micromark-extension 16
  6. mdxjs 8
  7. md 6

micromark-extension-mdx-md

Build Coverage Downloads Size Sponsors Backers Chat

micromark extension to turn some markdown features off for MDX.

This package provides the low-level modules for integrating with the micromark tokenizer but has no handling of compiling to HTML.

There is no corresponding mdast utility. But you can use this through either micromark-extension-mdx or micromark-extension-mdxjs with mdast-util-mdx to support all of MDX (or MDX.js). Or, use it through remark-mdx (remark).

Install

npm:

npm install micromark-extension-mdx-md

Use

var mdxMd = require('micromark-extension-mdx-md')

micromark('...', {extensions: [mdxMd]})

API

syntax()

Turn some markdown features (HTML, autolinks, indented code) off for MDX (or MDX.js).

The export of syntax is an extension for the micromark parser (to not tokenize some constructs; can be passed in extensions).

There are no options yet.

Contribute

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.

License

MIT © Titus Wormer