FindSoftware

react-markdown

React component that renders a Markdown string as React elements.

react-markdown renders a Markdown string as React elements. It is a unified pipeline, with remark parsing the markdown and rehype handling the HTML, and it takes plugins that change how markdown is transformed and components that replace the normal HTML elements.

It follows CommonMark by default, and GitHub-flavored syntax comes from the remark-gfm plugin. The package is ESM only, so it loads with import and not require.

Worth knowing

The README says the plugins and components you use may be insecure, and recommends rehype-sanitize for content that must be completely safe.

Identity

Status
Active
Maintainer
Espen Hovlandsdal3
Maintained by
Individual3
First release
20155

Rendering and deploy

Install with
npm, cdn1

Releases

Current major version
104
Last release
2025-03-074

Adoption

GitHub stars
15,9362
npm downloads a week
56,191,1136
Contributors
667
Dependent repositories
48,1918
Dependent packages
2,7838

Why these figures do not compare

Sources

  1. 2026-11-16: links, Categories, Built on, Runtime, Minimum runtime, Install with
    raw.githubusercontent.com/remarkjs/react-markdown/main/readme.md
  2. 2026-11-16: links, Written in, License, GitHub stars
    api.github.com/repos/remarkjs/react-markdown
  3. 2026-11-16: Maintainer, Maintained by, License model
    raw.githubusercontent.com/remarkjs/react-markdown/main/license
  4. 2026-11-16: Current major version, Last release
    api.github.com/repos/remarkjs/react-markdown/releases
  5. 2026-11-16: First release
    registry.npmjs.org/react-markdown
  6. 2026-11-16: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/react-markdown
  7. 2026-11-16: Contributors
    api.github.com/repos/remarkjs/react-markdown/contributors?per_page=1
  8. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-markdown

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