Package category
Markdown
Parse, render and transform Markdown and MDX.
1,136 packages47 comparisons
Packages compared
1,136 packages
| Package | Weekly downloads | 12-month change | 52 weeks | Gzip | Last release | Module | Types | Categories |
|---|---|---|---|---|---|---|---|---|
| react-markdown React component to render markdown | 24.6m | +324% | - | 1 year ago 10.1.0 | ESM only | Bundled | Markdown, React | |
| html-url-attributes Map of URL attributes in HTML | 23.5m | +472% | - | 1 year ago 3.0.1 | ESM only | Bundled | URLs and query strings, Markdown | |
| hastscript hast utility to create trees | 22.3m | +182% | - | 1 year ago 9.0.1 | ESM only | Bundled | Markdown | |
| markdown-it Markdown-it - modern pluggable markdown parser. | 20.7m | +143% | - | 14 days ago 15.0.2 | ESM + CommonJS | Bundled | Markdown, Parsers and serialisers | |
| shiki A beautiful Syntax Highlighter. | 16.6m | +425% | - | 1 month ago 4.4.3 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| @mdx-js/react React context for MDX | 14.6m | +101% | - | 1 year ago 3.1.1 | ESM only | Bundled | Markdown, React | |
| rehype-raw rehype plugin to reparse the tree (and raw nodes) | 13.1m | +365% | - | 3 years ago 7.0.0 | ESM only | Bundled | Markdown | |
| @storybook/addon-docs Storybook Docs: Document UI components automatically with stories and MDX | 12.5m | +94% | - | 23 days ago 10.6.0 | ESM only | Bundled | Documentation tooling, React | |
| github-slugger Generate a slug just like GitHub does for markdown headings. | 12m | +139% | - | 3 years ago 2.0.0 | ESM only | Bundled | Markdown | |
| 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 only | Bundled | Markdown | |
| micromark-extension-mdx-jsx micromark extension to support MDX or MDX.js JSX | 10.1m | +253% | - | 1 year ago 3.0.2 | ESM only | Bundled | Markdown | |
| micromark-util-events-to-acorn micromark utility to try and parse events w/ acorn | 10m | +290% | - | 1 year ago 2.0.3 | ESM only | Bundled | Markdown | |
| 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 only | Bundled | Markdown | |
| remark-mdx remark plugin to support MDX syntax | 9.7m | +196% | - | 1 year ago 3.1.1 | ESM only | Bundled | Markdown, 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 only | Bundled | Markdown, 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 only | Bundled | Markdown | |
| micromark-extension-mdx-expression micromark extension to support MDX or MDX JS expressions | 9.6m | +269% | - | 1 year ago 3.0.1 | ESM only | Bundled | Markdown | |
| micromark-extension-mdxjs-esm micromark extension to support MDX JS import/exports | 9.6m | +271% | - | 2 years ago 3.0.0 | ESM only | Bundled | Markdown | |
| micromark-extension-mdxjs micromark extension to support MDX.js | 9.5m | +253% | - | 2 years ago 3.0.0 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| micromark-extension-math micromark extension to support math (`$C_L$`) | 8m | +410% | - | 2 years ago 3.1.0 | ESM only | Bundled | Numbers 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 only | Bundled | Markdown | |
| markdown-extensions List of Markdown file extensions | 7.8m | +283% | - | 3 years ago 2.0.0 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| rehype-sanitize rehype plugin to sanitize HTML | 7.6m | +1016% | - | 3 years ago 6.0.0 | ESM only | Bundled | Markdown, Security | |
| remend Self-healing markdown. Intelligently parses and styles incomplete Markdown blocks. | 7.1m | - | - | 1 month ago 1.3.1 | ESM only | Bundled | Markdown, 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 | CommonJS | Bundled | Parsers and serialisers, Markdown | |
| rehype-recma recma plugin to transform HTML (hast) to JS (estree) | 6.9m | +464% | - | 1 year ago 1.0.0 | ESM only | Bundled | Markdown | |
| recma-stringify recma plugin to serialize JavaScript | 6.9m | +507% | - | 1 year ago 1.0.0 | ESM only | Bundled | Markdown | |
| recma-parse recma plugin to parse JavaScript | 6.9m | +437% | - | 1 year ago 1.0.0 | ESM only | Bundled | Markdown | |
| recma-build-jsx recma plugin to add support for parsing and serializing JSX | 6.9m | +411% | - | 1 year ago 1.0.0 | ESM only | Bundled | Markdown | |
| recma-jsx recma plugin to add support for parsing and serializing JSX | 6.8m | +469% | - | 1 year ago 1.0.1 | ESM only | Bundled | Markdown | |
| turndown A library that converts HTML to Markdown | 6.8m | +290% | - | 5 months ago 7.2.4 | ESM + CommonJS | None | Markdown, 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 only | Bundled | Markdown, Parsers and serialisers | |
| mammoth Convert Word documents from docx to simple HTML and Markdown | 6.1m | +647% | - | 13 days ago 1.12.3 | CommonJS | Bundled | Markdown, PDF and documents | |
| rehype-stringify rehype plugin to serialize HTML | 6m | +283% | - | 1 year ago 10.0.1 | ESM only | Bundled | Markdown | |
| remark-math remark plugin to parse and stringify math | 5.9m | +429% | - | 3 years ago 6.0.0 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| rehype-parse rehype plugin to parse HTML | 5.6m | +206% | - | 1 year ago 9.0.1 | ESM only | Bundled | Markdown | |
| micromark-extension-frontmatter micromark extension to support frontmatter (YAML, TOML, etc) | 5.4m | +141% | - | 3 years ago 2.0.0 | ESM only | Bundled | Parsers 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 + CommonJS | None | CLI 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 only | Bundled | Markdown, 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 only | Bundled | Markdown | |
| rehype-katex rehype plugin to transform inline and block math with KaTeX | 5.2m | +526% | - | 2 years ago 7.0.1 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| retext-smartypants retext plugin to implement SmartyPants | 4.7m | +447% | - | 1 year ago 6.2.0 | ESM only | Bundled | Markdown | |
| streamdown A drop-in replacement for react-markdown, designed for AI-powered streaming. | 4.4m | +2907% | - | 1 month ago 2.6.0 | ESM only | Bundled | Markdown, 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 only | Bundled | Security, Markdown | |
| remark markdown processor powered by plugins part of the unified collective | 4.2m | +91% | - | 3 years ago 15.0.1 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| remark-frontmatter remark plugin to support frontmatter (yaml, toml, and more) | 4.2m | +122% | - | 3 years ago 5.0.0 | ESM only | Bundled | Markdown, 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 only | Bundled | Markdown, 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 + CommonJS | Bundled | Markdown, React | |
| remark-breaks remark plugin to add break support, without needing spaces | 3.8m | +470% | - | 3 years ago 4.0.0 | ESM only | Bundled | Markdown, 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 only | Bundled | Markdown, 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.
- react-markdownReact component to render markdown
- html-url-attributesMap of URL attributes in HTML
- hastscripthast utility to create trees
- markdown-itMarkdown-it - modern pluggable markdown parser.
- shikiA beautiful Syntax Highlighter.
- @mdx-js/reactReact context for MDX
- rehype-rawrehype plugin to reparse the tree (and raw nodes)
- @storybook/addon-docsStorybook Docs: Document UI components automatically with stories and MDX
- github-sluggerGenerate a slug just like GitHub does for markdown headings.
- mermaidMarkdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.
- micromark-extension-mdx-jsxmicromark extension to support MDX or MDX.js JSX
- micromark-util-events-to-acornmicromark utility to try and parse events w/ acorn
- micromark-factory-mdx-expressionmicromark factory to parse MDX expressions (found in JSX attributes, flow, text)
- remark-mdxremark plugin to support MDX syntax
- mdast-util-mdxmdast extension to parse and serialize MDX (or MDX.js)
- micromark-extension-mdx-mdmicromark extension to turn some markdown features off for MDX
- micromark-extension-mdx-expressionmicromark extension to support MDX or MDX JS expressions
- micromark-extension-mdxjs-esmmicromark extension to support MDX JS import/exports
- micromark-extension-mdxjsmicromark extension to support MDX.js
- micromark-extension-mathmicromark extension to support math (`$C_L$`)
- hast-util-to-estreehast utility to transform to estree (JavaScript AST) JSX
- markdown-extensionsList of Markdown file extensions
- rehype-sanitizerehype plugin to sanitize HTML
- remendSelf-healing markdown. Intelligently parses and styles incomplete Markdown blocks.
- gray-matterParse 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
- rehype-recmarecma plugin to transform HTML (hast) to JS (estree)
- recma-stringifyrecma plugin to serialize JavaScript
- recma-parserecma plugin to parse JavaScript
- recma-build-jsxrecma plugin to add support for parsing and serializing JSX
- recma-jsxrecma plugin to add support for parsing and serializing JSX
- turndownA library that converts HTML to Markdown
- mdast-util-definitionsmdast utility to find definition nodes in a tree
- mammothConvert Word documents from docx to simple HTML and Markdown
- rehype-stringifyrehype plugin to serialize HTML
- remark-mathremark plugin to parse and stringify math
- rehype-parserehype plugin to parse HTML
- micromark-extension-frontmattermicromark extension to support frontmatter (YAML, TOML, etc)
- marked-terminalA custom render for marked to output to the Terminal
- micromark-extension-directivemicromark extension to support generic directives (`:cite[smith04]`)
- hast-util-to-stringhast utility to get the plain-text value of a node
- rehype-katexrehype plugin to transform inline and block math with KaTeX
- retext-smartypantsretext plugin to implement SmartyPants
- streamdownA drop-in replacement for react-markdown, designed for AI-powered streaming.
- rehype-hardenA security-focused rehype plugin that filters URLs based on allowed prefixes
- remarkmarkdown processor powered by plugins part of the unified collective
- remark-frontmatterremark plugin to support frontmatter (yaml, toml, and more)
- mdast-util-directivemdast extension to parse and serialize generic directives (`:cite[smith04]`)
- markdown-to-jsxA very fast and versatile markdown toolchain. AST, React, React Native, SolidJS, Vue, Markdown, and HTML output available with full customization.
- remark-breaksremark plugin to add break support, without needing spaces
- mdast-util-newline-to-breakmdast utility to support hard breaks without needing spaces or escapes
- markdown-it vs markdown-exit
- turndown vs showdown
- @mdxeditor/editor vs @uiw/react-md-editor
- markdownlint-cli2 vs markdownlint-cli
- @mdx-js/react vs @mdxeditor/editor
- @uiw/react-md-editor vs markdown-exit
- @uiw/react-md-editor vs easymde
- @mdxeditor/editor vs easymde
- react-markdown vs @mdx-js/react
- @mdx-js/react vs markdown-to-jsx
- defuddle vs md-to-pdf
- react-markdown vs markdown-to-jsx
- @mdxeditor/editor vs react-native-enriched-markdown
- markdown-exit vs snarkdown
- doctoc vs jsdoc-to-markdown
- react-markdown vs @mdxeditor/editor
- snarkdown vs @tryfabric/martian
- turndown vs snarkdown
- markdown-it vs turndown
- markdown-it vs markdownlint
- markdown-it vs snarkdown
- marked vs remarkable
- notion-to-md vs @tryfabric/martian
- markdown-to-jsx vs @tryfabric/martian
- markdownlint vs markdown-exit
- markdownlint vs notion-to-md
- @uiw/react-md-editor vs react-native-enriched-markdown
- markdownlint-cli2 vs markdown-exit
- markdownlint-cli2 vs notion-to-md
- showdown vs @tryfabric/martian