liuyib / hexo-theme-stun

🦄 An elegant theme for Hexo
https://theme-stun.github.io/docs/
MIT License
619 stars 125 forks source link

高亮颜色方案能更换吗 #126

Closed catch6 closed 3 years ago

catch6 commented 3 years ago

不是要更换主题,而是当前的上色有点少啊,都分不清类和方法 Xnip2020-11-12_20-18-13

liuyib commented 3 years ago

@catch6 莫得办法,Hexo 内置的代码解析器,Stun 主题不考虑自己引入代码高亮解析库。如果想要改善,去给 Hexo 仓库提 Issue 吧。

catch6 commented 3 years ago

你这个是 hls 吗

liuyib commented 3 years ago

highlights ? Hexo 内置的就是 highlights,不过不知道为啥解析效果这么差

liuyib commented 3 years ago

不要过分使用缩写,缩写为 hls 的多了去了: image 增加交流成本

catch6 commented 3 years ago

好的,晓得了,知道解析效果差的原因了,因为 highlight.js 必须要完整的方法体,我这种中间一段的就不解析了

catch6 commented 3 years ago

你使用的应该是 Atom One light 的配色方案吧,跟我在 vscode 上的配色挺像的

image

liuyib commented 3 years ago

你使用的应该是 Atom One light 的配色方案吧,跟我在 vscode 上的配色挺像的

image

配色方案是参考现有的自己调的