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
nel_h2
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of react-markdown!