SukkaW / hexo-theme-suka

🎨Modern, powerful and simple theme for Hexo.
https://theme-suka.skk.moe
GNU General Public License v3.0
609 stars 49 forks source link

prism 行号错位 #91

Closed XYenon closed 4 years ago

XYenon commented 5 years ago

I certify that I have first consulted (check with "x")

我确认我已经查看了 (选择时请使用 "x" 取代方括号中的空格)


如果你在浏览器中发现了问题

If you find something wrong when visiy your blog in browser.

Which device am I using, such as Android, iOS, Windows, Linux, MacOS

我使用的平台,如 Android、iOS、Windows、Linux、MacOS 等

Windows Android

Which brows am I using, such as Chrome 58.0.3029.110 (64-bit)

我使用的浏览器(如 Chrome 58.0.3029.110 64 位)

Firefox 67.0 64位 Chrome 74.0.3729.169 64位

Dev Tool - Console.log

开发者面板的控制台日志

Suka Theme (hexo-theme-suka) | © SukkaW | Verision 1.3.2 https://github.com/SukkaW/hexo-theme-suka

What you are expected and what you actually get

预期结果和你的实际结果

代码较长时行号与实际代码错位


Demo site related with this issue, JSFiddle and gist are welcomed.

和 issue 有关的在线演示页面,推荐使用 JSFiddle 和 gist

https://blog.xyenon.bid/%E8%B7%AF%E7%94%B1%E5%99%A8%E8%BD%AC%E5%8F%91-IPv6-%E9%85%8D%E7%BD%AE%E6%96%B9%E6%B3%95/

Link(s) to source code or any usefull link(s)

相关源码或有用资源的入口

使用 prism 高亮 base16-ateliersulphurpool.light 主题