amazeui icon indicating copy to clipboard operation
amazeui copied to clipboard

code标签的默认样式和highlight.js冲突

Open qinshuang1998 opened this issue 6 years ago • 1 comments

<code class="language-php">

这个默认样式貌似把我想要的language-php hljs这个class给覆盖掉了

qinshuang1998 avatar Dec 21 '18 06:12 qinshuang1998

也就是说我还得通过

$("#content code").addClass("hljs");

把这个class给添加上去,样式才正常

qinshuang1998 avatar Dec 21 '18 06:12 qinshuang1998