MOxFIVE / hexo-theme-yelee

简而不减 Hexo 双栏博客主题; Another simple and elegant theme for Hexo.
http://moxfive.xyz/
1.38k stars 328 forks source link

代码高亮BUG #63

Closed Arondight closed 8 years ago

Arondight commented 8 years ago

指定代码段类型为c,下面的Markdown 无法生成高亮代码,查看HTML 发现<figure class="highlight">

tcpsumblock = (char *)malloc (packetSize * sizeof (char));

下面的可以正常高亮,对应HTML<figure class="highlight c">

tcpsumblock = (char *)malloc (packetSize);
MOxFIVE commented 8 years ago

我尝试切换到默认主题同时手动指定代码类型,依旧无高亮。 Hexo 代码高亮使用的是 highlight.js 插件,应该是插件的问题,无法通过主题修复。

Arondight commented 8 years ago

3Q