hexo-theme-spectre icon indicating copy to clipboard operation
hexo-theme-spectre copied to clipboard

代码块与行号错位

Open xunge opened this issue 6 years ago • 0 comments

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

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


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

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

  • [x] bug report | 反馈一个 Bug
  • [ ] feature request | 申请添加新的特性或功能
  • [ ] support request | 请求技术支持

如果你遇到了运行 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配置错误?

xunge avatar Nov 02 '18 12:11 xunge