react-markdown
Advanced tools
Changelog
4.0.8 - 2019-04-14
Changelog
4.0.7 - 2019-04-14
Changelog
4.0.6 - 2019-01-04
Changelog
4.0.3 - 2018-10-11
Changelog
4.0.2 - 2018-10-05
Changelog
4.0.1 - 2018-10-03
Changelog
4.0.0 - 2018-10-03
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.reactMarkdown
renderers
(Linus Unnebäck)