Markdown & Prose packages
Markdown parsing, rendering, and prose-processing libraries for turning plain text into structured content (react-markdown, remark, marked).
react-markdown
15,941Safely render Markdown as React elements, no dangerouslySetInnerHTML required
remark-gfm
1,257Add GitHub Flavored Markdown support to remark for tables, task lists, footnotes, and strikethrough.
Marked
37,320A fast, low-level Markdown compiler that parses CommonMark and GFM into HTML in Node.js, browsers, or the CLI.
Mermaid
91,184Generate flowcharts, sequence diagrams, and 20+ other diagram types from markdown-like text
Shiki
13,943A syntax highlighter that renders code with the exact TextMate grammars and themes VS Code uses.
MDX
19,869The compiler that lets you write JSX directly inside Markdown documents
KaTeX
20,528Fast, self-contained JavaScript library for print-quality LaTeX math rendering on the web.
markdown-it
22,053A fast, pluggable CommonMark-compliant Markdown parser and renderer for JavaScript, safe by default.
Streamdown
5,780A drop-in react-markdown replacement built for AI-powered streaming interfaces.
remark
9,042A plugin-powered markdown processor that parses, transforms, and serializes markdown on top of unified.
unified
5,054Parse, inspect, transform, and serialize content through syntax-tree plugins.
rehype-raw
211A rehype plugin that reparses embedded raw HTML in a hast tree so it becomes real syntax nodes.
turndown
11,516Convert HTML into clean, customizable Markdown in Node.js and the browser.
Docusaurus
66,776React-based static site generator for building fast, maintainable documentation websites.
unist-util-visit
359Tiny utility to walk unist syntax trees and run a visitor on matching nodes
lowlight
928Virtual syntax highlighting for virtual DOMs and non-HTML things, powered by highlight.js
remark-math
519A unified remark plugin that adds LaTeX math syntax to markdown, ready to render with KaTeX or MathJax.
rehype-sanitize
224A unified rehype plugin that sanitizes HTML to prevent XSS by dropping anything a schema does not explicitly allow.
gray-matter
4,498Fast, dependable front-matter parser for YAML, JSON, TOML, and CoffeeScript metadata blocks
Fumadocs Core
13,678The headless React library for building documentation websites, with source loading, page trees, MDX processing, search, and i18n.
Mammoth.js
6,346Convert Word .docx documents into clean, semantic HTML and Markdown in JavaScript.
html-to-text
1,762Advanced HTML to plain text converter with word wrapping, tables, and customizable selectors
remark-breaks
155A remark plugin that turns soft line breaks into hard breaks without needing spaces or escapes.
goldmark
5,111A CommonMark-compliant Markdown parser and renderer for Go, built around a walkable AST and pluggable extensions.