Changes are automatically rendered as you type.
- Implements GitHub Flavored Markdown
- Renders actual, "native" React DOM elements
- Allows you to escape or skip HTML (try toggling the checkboxes above)
- If you escape or skip the HTML, no
dangerouslySetInnerHTML
is used! Yay!
This blockquote will change based on the HTML settings above.
var React = require('react');
var Markdown = require('react-markdown');
React.render(
<Markdown source="# Your markdown here" />,
document.getElementById('content')
);
Pretty neat, eh?
Feature | Support |
---|---|
tables | ✔ |
alignment | ✔ |
wewt | ✔ |
Read usage information and more on GitHub
A component by Espen Hovlandsdal