Closed franzwong closed 6 years ago
I would like to define a code block with code type (e.g. html, javascript, etc). I don't expect the type will be shown in the output html.
markdown.toHTML('```javascript\nconsole.log("hello");\n```');
Expect:
<p><code> console.log("hello"); </code></p>
Actual:
<p><code>javascript console.log("hello"); </code></p>
I switched to https://github.com/chjj/marked - better implementation that addresses this issue
I would like to define a code block with code type (e.g. html, javascript, etc). I don't expect the type will be shown in the output html.
Expect:
Actual: