
markdown-to-jsx
Markdown parser and compiler toolchain for JavaScript and TypeScript projects, with React, React Native, SolidJS, Vue and HTML output.
markdown-to-jsx.quantizor.dev/repository
markdown-to-jsx compiles Markdown into components for React, React Native, SolidJS and Vue, or into an HTML string or back into Markdown. The default export is a React component that renders a Markdown string, and each target has its own entry point with a compiler and a parser that returns the syntax tree. Overrides replace the rendering of any HTML tag, and a renderRule hook changes how one kind of node is drawn, for example to highlight fenced code.
The library accepts GFM and CommonMark syntax and keeps raw HTML in the input as JSX elements. Its README says the component works in React Server Components as well as in client code, without a client directive.
Worth knowing
Raw HTML is sanitized in every renderer. Function props on custom components stay as strings unless evalUnserializableExpressions is turned on, and the README discourages that option for user-written Markdown.
Identity
- Status
- Active
- Maintainer
- Evan Jacobs3
- Maintained by
- Individual3
- First release
- 20156
Rendering and deploy
- Install with
- npm4
Releases
Adoption
Sources
- 2026-11-16: links
registry.npmjs.org/markdown-to-jsx/latest - 2026-11-16: links, Written in, License model, GitHub stars
github.com/quantizor/markdown-to-jsx - 2026-11-16: Maintainer, Maintained by, License
registry.npmjs.org/markdown-to-jsx/9.10.6 - 2026-11-16: Categories, Install with
github.com/quantizor/markdown-to-jsx/blob/main/lib/README.md - 2026-11-16: Current major version, Last release
github.com/quantizor/markdown-to-jsx/releases/tag/markdown-to-jsx@9.10.6 - 2026-11-16: First release
github.com/quantizor/markdown-to-jsx/releases/tag/1.0.0 - 2026-11-16: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/markdown-to-jsx - 2026-11-16: Contributors
api.github.com/repos/quantizor/markdown-to-jsx/contributors?per_page=1 - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/markdown-to-jsx