Packages

Markdown & Prose Packages

Markdown parsing, rendering, and prose-processing libraries for turning plain text into structured content (react-markdown, remark, marked).

181 packages

Packages in Markdown & Prose

66Health
Library npm

react-markdown

Safely render Markdown as React elements, no dangerouslySetInnerHTML required

15,892
MIT
Used by 164
40Health
Library npm

remark-gfm

Add GitHub Flavored Markdown support to remark for tables, task lists, footnotes, and strikethrough.

1,247
MIT
Used by 149
94Health
Library npm

Marked

A fast, low-level Markdown compiler that parses CommonMark and GFM into HTML in Node.js, browsers, or the CLI.

37,214
MIT
Used by 112
92Health
Library npm

Mermaid

Generate flowcharts, sequence diagrams, and 20+ other diagram types from markdown-like text

90,450
MIT
Used by 80
83Health
Library npm

Shiki

A syntax highlighter that renders code with the exact TextMate grammars and themes VS Code uses.

13,832
MIT
Used by 75
73Health
Library npm

MDX

The compiler that lets you write JSX directly inside Markdown documents

19,805
MIT
Used by 68
92Health
Library npm

KaTeX

Fast, self-contained JavaScript library for print-quality LaTeX math rendering on the web.

20,405
MIT
Used by 65
78Health
Library npm

markdown-it

A fast, pluggable CommonMark-compliant Markdown parser and renderer for JavaScript, safe by default.

21,945
MIT
Used by 52
84Health
Library npm

Streamdown

A drop-in react-markdown replacement built for AI-powered streaming interfaces.

5,655
Apache 2.0
Used by 51
71Health
Library npm

remark

A plugin-powered markdown processor that parses, transforms, and serializes markdown on top of unified.

9,008
MIT
Used by 48
48Health
Library npm

unified

Parse, inspect, transform, and serialize content through syntax-tree plugins.

5,036
MIT
Used by 44
38Health
Library npm

rehype-raw

A rehype plugin that reparses embedded raw HTML in a hast tree so it becomes real syntax nodes.

210
MIT
Used by 40
72Health
Library npm

turndown

Convert HTML into clean, customizable Markdown in Node.js and the browser.

11,451
MIT
Used by 38
40Health
Library npm

lowlight

Virtual syntax highlighting for virtual DOMs and non-HTML things, powered by highlight.js

926
MIT
Used by 37
44Health
Library npm

remark-math

A unified remark plugin that adds LaTeX math syntax to markdown, ready to render with KaTeX or MathJax.

513
MIT
Used by 37
92Health
Framework npm

Docusaurus

React-based static site generator for building fast, maintainable documentation websites.

66,349
MIT
Used by 36
40Health
Library npm

unist-util-visit

Tiny utility to walk unist syntax trees and run a visitor on matching nodes

359
MIT
Used by 36
37Health
Library npm

rehype-sanitize

A unified rehype plugin that sanitizes HTML to prevent XSS by dropping anything a schema does not explicitly allow.

222
MIT
Used by 33
38Health
Library npm

lang-markdown

Markdown language support for the CodeMirror 6 code editor

131
MIT
Used by 33
38Health
Library npm

gray-matter

Fast, dependable front-matter parser for YAML, JSON, TOML, and CoffeeScript metadata blocks

4,491
MIT
Used by 31
90Health
Library npm

Fumadocs Core

The headless React library for building documentation websites, with source loading, page trees, MDX processing, search, and i18n.

13,237
MIT
Used by 28
85Health
Library npm

Mammoth.js

Convert Word .docx documents into clean, semantic HTML and Markdown in JavaScript.

6,311
Other
Used by 25
55Health
Library npm

html-to-text

Advanced HTML to plain text converter with word wrapping, tables, and customizable selectors

1,762
MIT
Used by 23
37Health
Library npm

remark-breaks

A remark plugin that turns soft line breaks into hard breaks without needing spaces or escapes.

155
MIT
Used by 22

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers