Closed Arondight closed 8 years ago
指定代码段类型为c,下面的Markdown 无法生成高亮代码,查看HTML 发现<figure class="highlight">
c
<figure class="highlight">
tcpsumblock = (char *)malloc (packetSize * sizeof (char));
下面的可以正常高亮,对应HTML<figure class="highlight c">
<figure class="highlight c">
tcpsumblock = (char *)malloc (packetSize);
我尝试切换到默认主题同时手动指定代码类型,依旧无高亮。 Hexo 代码高亮使用的是 highlight.js 插件,应该是插件的问题,无法通过主题修复。
3Q
指定代码段类型为
c
,下面的Markdown 无法生成高亮代码,查看HTML 发现<figure class="highlight">
下面的可以正常高亮,对应HTML
<figure class="highlight c">