Help on the project markdown previewer-

Help on the project markdown previewer-
0

#1

Please How to parse a markdown code to an html? I’ve used the new Remarkable() object, then called the render method with no success. It’s said on the http:localhost:3000 page Remarkable is not derfined . What to do PLEASE? This is my code:

const md = new Remarkable();
...
<div id="preview" className="previewer" dangerouslySetInnerHTML = {{__html: md.render(this.state.markdown)}}/>

#2

#3

Please don’t open multiple posts on the same topic.