hexo icon indicating copy to clipboard operation
hexo copied to clipboard

SyntaxHighlighter 支持?

Open notedown opened this issue 11 years ago • 4 comments

hexo的代码高亮解析出来没有class. 以及某些字段解析不出高亮

<td>
<div class="line number1 index0 alt2">xxxx</div>
<div class="line number2 index1 alt1">xxxx</div>
<div class="line number3 index2 alt2">xxxx</div>
<div class="line number4 index3 alt1">xxxx</div>

只能修改为http://alexgorbatchev.com/SyntaxHighlighter/ (javascript加载解析) hexo的与https://highlightjs.org/ 也不一样 在新版本中 .能否加强代码显示上..这样就比jekyll好很多了

notedown avatar Jan 19 '15 08:01 notedown

生成代码 figure + pre 和 hljs html结构有区别

hqman avatar Jan 25 '15 13:01 hqman

同问

ghost avatar Oct 29 '15 17:10 ghost

可以自己指定高亮的语言,参考https://highlightjs.org/

Xuanwo avatar Oct 30 '15 00:10 Xuanwo

Closed for no more updatem please create new issues.

Xuanwo avatar Dec 10 '15 16:12 Xuanwo