Render HTML from the markdown code?


#1

Hi, I want to have a script on my page to render the HTML directly from the markdown code. I also want all the features in here (like latex or mermeid images - you guys made a very very nice job). I want to store the markdown code in my database to be able to edit it later if it’s required. However, I don’t know how to render the html from the markdown source code (and I want this to happen only on the client side).

Is it possible ?
Thanx


#2

Hey, I found that this is already a problem last year, but to prevent others from seeing this problem and thinking that there is no solution, so answer:
If it is a website or electron application, to solve this problem, you only need stackedit.js, edit the content through iframe, and Render HTML from the markdown code through silent mode