FindSoftware

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

Current major version
95
Last release
2026-11-065

Adoption

GitHub stars
2,3932
npm downloads a week
6,011,8607
Contributors
708
Dependent repositories
56,2859
Dependent packages
4689

Why these figures do not compare

Sources

  1. 2026-11-16: links
    registry.npmjs.org/markdown-to-jsx/latest
  2. 2026-11-16: links, Written in, License model, GitHub stars
    github.com/quantizor/markdown-to-jsx
  3. 2026-11-16: Maintainer, Maintained by, License
    registry.npmjs.org/markdown-to-jsx/9.10.6
  4. 2026-11-16: Categories, Install with
    github.com/quantizor/markdown-to-jsx/blob/main/lib/README.md
  5. 2026-11-16: Current major version, Last release
    github.com/quantizor/markdown-to-jsx/releases/tag/markdown-to-jsx@9.10.6
  6. 2026-11-16: First release
    github.com/quantizor/markdown-to-jsx/releases/tag/1.0.0
  7. 2026-11-16: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/markdown-to-jsx
  8. 2026-11-16: Contributors
    api.github.com/repos/quantizor/markdown-to-jsx/contributors?per_page=1
  9. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/markdown-to-jsx

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON