score:0

Accepted answer

the markdown that needs to be parsed should be provided as a children. react-markdown does have make use of source prop in there api.

change from

<markdown source={input}/>

to

<markdown>{input}</markdown>

Related Query

More Query from same tag