Skip to content
JS
Package category

Markdown

Parse, render and transform Markdown and MDX.

1,136 packages47 comparisons

Packages compared

1,136 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
react-markdown
React component to render markdown
24.6m+324%-1 year ago
10.1.0
ESM onlyBundledMarkdown, React
html-url-attributes
Map of URL attributes in HTML
23.5m+472%-1 year ago
3.0.1
ESM onlyBundledURLs and query strings, Markdown
hastscript
hast utility to create trees
22.3m+182%-1 year ago
9.0.1
ESM onlyBundledMarkdown
markdown-it
Markdown-it - modern pluggable markdown parser.
20.7m+143%-14 days ago
15.0.2
ESM + CommonJSBundledMarkdown, Parsers and serialisers
shiki
A beautiful Syntax Highlighter.
16.6m+425%-1 month ago
4.4.3
ESM onlyBundledMarkdown, Parsers and serialisers
@mdx-js/react
React context for MDX
14.6m+101%-1 year ago
3.1.1
ESM onlyBundledMarkdown, React
rehype-raw
rehype plugin to reparse the tree (and raw nodes)
13.1m+365%-3 years ago
7.0.0
ESM onlyBundledMarkdown
@storybook/addon-docs
Storybook Docs: Document UI components automatically with stories and MDX
12.5m+94%-23 days ago
10.6.0
ESM onlyBundledDocumentation tooling, React
github-slugger
Generate a slug just like GitHub does for markdown headings.
12m+139%-3 years ago
2.0.0
ESM onlyBundledMarkdown
mermaid
Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.
11.7m+606%-15 days ago
12.0.0
ESM onlyBundledMarkdown
micromark-extension-mdx-jsx
micromark extension to support MDX or MDX.js JSX
10.1m+253%-1 year ago
3.0.2
ESM onlyBundledMarkdown
micromark-util-events-to-acorn
micromark utility to try and parse events w/ acorn
10m+290%-1 year ago
2.0.3
ESM onlyBundledMarkdown
micromark-factory-mdx-expression
micromark factory to parse MDX expressions (found in JSX attributes, flow, text)
10m+290%-1 year ago
2.0.3
ESM onlyBundledMarkdown
remark-mdx
remark plugin to support MDX syntax
9.7m+196%-1 year ago
3.1.1
ESM onlyBundledMarkdown, Parsers and serialisers
mdast-util-mdx
mdast extension to parse and serialize MDX (or MDX.js)
9.6m+303%-3 years ago
3.0.0
ESM onlyBundledMarkdown, Parsers and serialisers
micromark-extension-mdx-md
micromark extension to turn some markdown features off for MDX
9.6m+263%-3 years ago
2.0.0
ESM onlyBundledMarkdown
micromark-extension-mdx-expression
micromark extension to support MDX or MDX JS expressions
9.6m+269%-1 year ago
3.0.1
ESM onlyBundledMarkdown
micromark-extension-mdxjs-esm
micromark extension to support MDX JS import/exports
9.6m+271%-2 years ago
3.0.0
ESM onlyBundledMarkdown
micromark-extension-mdxjs
micromark extension to support MDX.js
9.5m+253%-2 years ago
3.0.0
ESM onlyBundledMarkdown, Parsers and serialisers
micromark-extension-math
micromark extension to support math (`$C_L$`)
8m+410%-2 years ago
3.1.0
ESM onlyBundledNumbers and maths, Markdown
hast-util-to-estree
hast utility to transform to estree (JavaScript AST) JSX
7.8m+257%-1 year ago
3.1.3
ESM onlyBundledMarkdown
markdown-extensions
List of Markdown file extensions
7.8m+283%-3 years ago
2.0.0
ESM onlyBundledMarkdown, Parsers and serialisers
rehype-sanitize
rehype plugin to sanitize HTML
7.6m+1016%-3 years ago
6.0.0
ESM onlyBundledMarkdown, Security
remend
Self-healing markdown. Intelligently parses and styles incomplete Markdown blocks.
7.1m--1 month ago
1.3.1
ESM onlyBundledMarkdown, Parsers and serialisers
gray-matter
Parse front-matter from a string or file. Fast, reliable and easy to use. Parses YAML front matter by default, but also has support for YAML, JSON, TOML or Coffee Front-Matter, with options to set custom delimiters. Used by metalsmith, assemble, verb and
7.1m+221%-5 years ago
4.0.3
CommonJSBundledParsers and serialisers, Markdown
rehype-recma
recma plugin to transform HTML (hast) to JS (estree)
6.9m+464%-1 year ago
1.0.0
ESM onlyBundledMarkdown
recma-stringify
recma plugin to serialize JavaScript
6.9m+507%-1 year ago
1.0.0
ESM onlyBundledMarkdown
recma-parse
recma plugin to parse JavaScript
6.9m+437%-1 year ago
1.0.0
ESM onlyBundledMarkdown
recma-build-jsx
recma plugin to add support for parsing and serializing JSX
6.9m+411%-1 year ago
1.0.0
ESM onlyBundledMarkdown
recma-jsx
recma plugin to add support for parsing and serializing JSX
6.8m+469%-1 year ago
1.0.1
ESM onlyBundledMarkdown
turndown
A library that converts HTML to Markdown
6.8m+290%-5 months ago
7.2.4
ESM + CommonJSNoneMarkdown, Parsers and serialisers
mdast-util-definitions
mdast utility to find definition nodes in a tree
6.7m+44%-3 years ago
6.0.0
ESM onlyBundledMarkdown, Parsers and serialisers
mammoth
Convert Word documents from docx to simple HTML and Markdown
6.1m+647%-13 days ago
1.12.3
CommonJSBundledMarkdown, PDF and documents
rehype-stringify
rehype plugin to serialize HTML
6m+283%-1 year ago
10.0.1
ESM onlyBundledMarkdown
remark-math
remark plugin to parse and stringify math
5.9m+429%-3 years ago
6.0.0
ESM onlyBundledMarkdown, Parsers and serialisers
rehype-parse
rehype plugin to parse HTML
5.6m+206%-1 year ago
9.0.1
ESM onlyBundledMarkdown
micromark-extension-frontmatter
micromark extension to support frontmatter (YAML, TOML, etc)
5.4m+141%-3 years ago
2.0.0
ESM onlyBundledParsers and serialisers, Markdown
marked-terminal
A custom render for marked to output to the Terminal
5.4m+71%-1 year ago
7.3.0
ESM + CommonJSNoneCLI tools and terminal utilities, Markdown
micromark-extension-directive
micromark extension to support generic directives (`:cite[smith04]`)
5.3m+259%-1 year ago
4.0.0
ESM onlyBundledMarkdown, Parsers and serialisers
hast-util-to-string
hast utility to get the plain-text value of a node
5.3m+156%-1 year ago
3.0.1
ESM onlyBundledMarkdown
rehype-katex
rehype plugin to transform inline and block math with KaTeX
5.2m+526%-2 years ago
7.0.1
ESM onlyBundledMarkdown, Parsers and serialisers
retext-smartypants
retext plugin to implement SmartyPants
4.7m+447%-1 year ago
6.2.0
ESM onlyBundledMarkdown
streamdown
A drop-in replacement for react-markdown, designed for AI-powered streaming.
4.4m+2907%-1 month ago
2.6.0
ESM onlyBundledMarkdown, Parsers and serialisers
rehype-harden
A security-focused rehype plugin that filters URLs based on allowed prefixes
4.3m+7542%-7 months ago
1.1.8
ESM onlyBundledSecurity, Markdown
remark
markdown processor powered by plugins part of the unified collective
4.2m+91%-3 years ago
15.0.1
ESM onlyBundledMarkdown, Parsers and serialisers
remark-frontmatter
remark plugin to support frontmatter (yaml, toml, and more)
4.2m+122%-3 years ago
5.0.0
ESM onlyBundledMarkdown, Parsers and serialisers
mdast-util-directive
mdast extension to parse and serialize generic directives (`:cite[smith04]`)
3.9m+287%-1 year ago
3.1.0
ESM onlyBundledMarkdown, Parsers and serialisers
markdown-to-jsx
A very fast and versatile markdown toolchain. AST, React, React Native, SolidJS, Vue, Markdown, and HTML output available with full customization.
3.8m+16%-9 days ago
9.10.3
ESM + CommonJSBundledMarkdown, React
remark-breaks
remark plugin to add break support, without needing spaces
3.8m+470%-3 years ago
4.0.0
ESM onlyBundledMarkdown, Parsers and serialisers
mdast-util-newline-to-break
mdast utility to support hard breaks without needing spaces or escapes
3.7m+574%-3 years ago
2.0.0
ESM onlyBundledMarkdown, Parsers and serialisers

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.