const markedText = marked(props.textMarkdown, { breaks: true });
. I included this line inside my SplitView.js
.
But when i type # This is line
It does not render correct text in Previewer
instead it renders <h1 id="this-is-inital-state-text">This is inital state text</h1>
inside Previewer.
I am not using render properly ??