How to hide markdown punctuation from the output of PrismJS's markdown parser?
I am trying to implement PrismJS on my blog to syntax highlight code and it works like a charm. PrismJS als开发者_如何学运维o has the ability to parse markdown. However, the output of parsed Markdown is showing the punctuations (such as ##, *), which I don't want.
For example, the following code
*Italic*
**Bold on
multiple lines**
looks like this in the output
*Italic* **Bold on multiple lines**instead of looking like this
Italic Bold on multiple linesIs this how it's supposed to be? The examples page on prismjs.com (you'll have to select Markdown from the 'Per language examples' section to see examples using Markdown) confirms the behavior that I am seeing (see attached image).
Is there a way I can get it to parse the markdown without showing the punctuations?
精彩评论