Markup Not Showing Up Using Prism JS

前端 未结 4 1946
情深已故
情深已故 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:29

    Add extra 'xmp' tags between 'code' and put your html code inside 'xmp' tags. Worked for me.

    
    
    <h1>Test</h1>
    
    
    

提交回复
热议问题