Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
micromark-extension-mdx-md
Advanced tools
micromark extension to turn some markdown features off for MDX
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.
This package is already included in xdm and mdx-js/mdx
(next).
You should probably use micromark-extension-mdx
or
micromark-extension-mdxjs
instead, which combine this package with
other MDX features.
Alternatively, if you’re using micromark
or
mdast-util-from-markdown
and you don’t want all of MDX, use
this package.
This package is ESM only:
Node 12+ is needed to use it and it must be import
ed instead of require
d.
npm:
npm install micromark-extension-mdx-md
import {micromark} from 'micromark'
import {mdxMd} from 'micromark-extension-mdx-md'
const output = micromark('\ta', {extensions: [mdxMd]})
console.log(output)
Yields:
<p>a</p>
This package exports the following identifiers: mdxMd
.
There is no default export.
mdxMd
An extension for micromark to turn some markdown features (HTML, autolinks,
indented code) off (can be passed in extensions
).
micromark/micromark
— the smallest commonmark-compliant markdown parser that existsmicromark/micromark-extension-mdx
— micromark extension to support MDXmicromark/micromark-extension-mdxjs
— micromark extension to support MDX.jssyntax-tree/mdast-util-mdx
— mdast utility to support MDX (or MDX.js)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.
FAQs
micromark extension to turn some markdown features off for MDX
The npm package micromark-extension-mdx-md receives a total of 1,291,340 weekly downloads. As such, micromark-extension-mdx-md popularity was classified as popular.
We found that micromark-extension-mdx-md demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.