Help on the project markdown previewer-

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)}}/>

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