Wasm target for pulldown-cmark.
npm install turbomark
turbomark
Wasm target for awesome pulldown-cmark.
I export parse_markdown function, which takes a markdown string and parses it into html with all options enabled.
Here is documentation for pulldown-cmark.
Currently I cant quite understand how to use wasm without dev server. I use this: include turbomark.js in html, then write any markdown-related code in turbomarkReady function body.