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

65Health
Library npm

react-markdown

Safely render Markdown as React elements, no dangerouslySetInnerHTML required

15,928
MIT
Used by 165
40Health
Library npm

remark-gfm

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

1,253
MIT
Used by 150
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,263
MIT
Used by 113
93Health
Library npm

Mermaid

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

90,829
MIT
Used by 81
85Health
Library npm

Shiki

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

13,881
MIT
Used by 75
70Health
Library npm

MDX

The compiler that lets you write JSX directly inside Markdown documents

19,829
MIT
Used by 68
93Health
Library npm

KaTeX

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

20,469
MIT
Used by 65
79Health
Library npm

markdown-it

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

21,999
MIT
Used by 52
85Health
Library npm

Streamdown

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

5,721
Apache 2.0
Used by 51
66Health
Library npm

remark

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

9,025
MIT
Used by 48
58Health
Library npm

unified

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

5,043
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.

211
MIT
Used by 41
75Health
Library npm

turndown

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

11,482
MIT
Used by 38
40Health
Library npm

lowlight

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

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

520
MIT
Used by 37
93Health
Framework npm

Docusaurus

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

66,577
MIT
Used by 36
40Health
Library npm

unist-util-visit

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

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

224
MIT
Used by 33
37Health
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,495
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,455
MIT
Used by 28
85Health
Library npm

Mammoth.js

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

6,333
Other
Used by 25
53Health
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