Open mtsee opened 7 years ago
··· test ··· to HTML is:
<code> test </code>
but ,This is right
<pre> <code> test </code> </pre>
I have try to revise the output of markdown.toHTML() function. here the simple code:
markdown.toHTML()
html.replace(/<code><\/code>\`(?=[^<])/g,'<code>'); html.replace(/<code><\/code>\`(?=<)/g, '<\/code>');
··· test ··· to HTML is:
but ,This is right