Markup Not Showing Up Using Prism JS

前端 未结 4 1947
情深已故
情深已故 2020-12-09 17:59

I\'m trying to use PrismJS as my syntax highlighter for my blogspot blog. After having troubles with Syntax Highlighter, I thought I would give prism a try.

My code

4条回答
  •  情书的邮戳
    2020-12-09 18:05

    You can use the unescaped-markup plugin

    This is how it works:

    
    

    To ignore first and last returns I would recommend using the normalize whitespace plugin.

提交回复
热议问题