Socket
Socket
Sign inDemoInstall

micromark-extension-mdx-md

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

micromark-extension-mdx-md

micromark extension to turn some markdown features off for MDX


Version published
Weekly downloads
1.6M
increased by1.54%
Maintainers
1
Weekly downloads
 
Created
Source

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. You can use it through micromark-extension-mdx with mdast-util-mdx or micromark-extension-mdxjs with mdast-util-mdxjs to support all of MDX (or MDX.js). Or, use it through remark-mdx or remark-mdxjs (remark).

Install

npm:

npm install micromark-extension-mdx-md

Use

var mdxMd = require('micromark-extension-math/html')

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

API

syntax(options?)

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).

Syntax

...

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

Keywords

FAQs

Package last updated on 08 Dec 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc