xiaoluoboding / ghost-theme-kaldorei

🎨 A Simple And Elegant Ghost Theme Derive From Default Theme Casper

Home Page:http://blog.xlbd.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

highlight.js 自定义主题School Book时,代码渲染样式错误

theseann opened this issue · comments

commented

我在code injection中添加


<!-- use school-book.css style -->
<link rel="stylesheet" type="text/css" href="/assets/plugins/highlight-latest/styles/school-book.css" />

正确的渲染效果如下:
image

实际渲染效果如下:
image

@lushans 等我试下

commented

好的

commented

刚刚测试了下,可能是新加入的样式不能完全覆盖默认的样式,两者渲染的 class 不一致,造成两个渲染文件都在使用状态。
我这边使用 solarized-light 感觉已经没问题了。之前函数的参数会使用默认渲染而成为白色。不确定有没有解决这个问题。