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
Auth for GenAI | Auth0
Easily implement secure login experiences for AI Agents - from interactive chatbots to background workers with Auth0. Auth for GenAI is now available in Developer Preview
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of react-markdown!