React component to render markdown. This package is a React component that can be given a string of markdown that it’ll safely render to React elements. You can pass plugins to change how markdown is transformed and pass components that will be used instead of normal HTML elements.
Features
- Safe by default (no dangerouslySetInnerHTML or XSS attacks)
- Documentation available
- Components (pass your own component to use instead of <h2> for ## hi)
- Plugins (many plugins you can pick and choose from)
- Compliant (100% to CommonMark, 100% to GFM with a plugin)
- Examples included
Categories
Markdown EditorsLicense
MIT LicenseFollow react-markdown
Other Useful Business Software
Gemini 3 and 200+ AI Models on One Platform
Build generative AI apps with Vertex AI. Switch between models without switching platforms.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of react-markdown!