Prism HTML highlighter

后端 未结 6 1260
陌清茗
陌清茗 2020-12-16 11:50

I\'m using Prism and its working well for CSS:

p { color: red }

but

6条回答
  •  被撕碎了的回忆
    2020-12-16 12:49

    The best solution is to save the html you want highlighted into a seperate file. You'll need to include the file highlight plugin into your js.

    The syntax highlighting will be worked out from the extension

    
    

提交回复
热议问题