React component to render markdown
2 Oct 2018 · Newest first
Last checked
Checking sources…
Showing 1 of 1 releases. Full release notes.
Signals highlight changes worth reviewing. They cannot determine whether your application is affected.
text is now a first-class node + renderer
— if you are using allowedNodes, it needs to be included in this list.
Since it is now a React component, it will be passed an object of props
instead of the old approach where a string was passed.
children will contain the actual text string.className prop is provided, a fragment will be
used instead of a div.
To always render a div, pass 'div' as the root renderer.window.ReactMarkdown instead
of window.reactMarkdownrenderers (Linus Unnebäck)