TOPIC_DETAILS blah blah blah...
- topic content 1 Reference
- 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!
Preliminary question: <button onClick={()=> alert(42)}>What is the answer to the mystery of universe ??
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