neoFelhz / hexo-theme-spectre

A modern, simple & elegant theme for Hexo
https://blog.nfz.moe
GNU General Public License v3.0
104 stars 9 forks source link

代码块与行号错位 #6

Open xunge opened 6 years ago

xunge commented 6 years ago

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

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


I'm submitting a (check one with "x")

我正在申请 (选择时请使用 "x" 取代方括号中的空格)


如果你遇到了运行 hexo g hexo s 时报错

If you get error when you are running hexo s hexo g.

Node.js and NPM Information

Node.js 和 NPM 的相关信息

Package dependencies Information

依赖包相关信息

Hexo version

Hexo 版本号

Hexo & Theme Configuration

站点配置文件和主题配置文件

Error Log

报错日志


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

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

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

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

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

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

Dev Tool - Console.log

开发者面板的控制台日志

What you are expected and what you actually get

预期结果和你的实际结果


Demo site related with this issue)

和 issue 有关的在线演示页面

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

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

代码块与行号错位,如https://blog.nfz.moe/archives/chrome-binary-download.html 网页中很明显行号行间距要少一些,导致行号与代码行不对应,怀疑是prism.css配置错误?