Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

代码块高亮前后可能会出现多余空白块 #2

Closed
zer0pwned opened this issue Jan 29, 2015 · 1 comment
Closed

代码块高亮前后可能会出现多余空白块 #2

zer0pwned opened this issue Jan 29, 2015 · 1 comment

Comments

@zer0pwned
Copy link

qq 20150129221003

如图,代码块可能会出现多余空白块。
theme版本为commit 7109c872bc3def66cf1546db66d67fbc75624e04
hexo版本如下:

marvin@ubuntu:~/MyLove/tmp/blog$ hexo --version
hexo: 2.8.3
os: Linux 3.13.0-32-generic linux x64
http_parser: 1.0
node: 0.10.36
v8: 3.14.5.9
ares: 1.9.0-DEV
uv: 0.10.30
zlib: 1.2.8
modules: 11
openssl: 1.0.1l

建议按照wuchong/jacman@e182a05 改善一下这个问题~

Thx for ur great work!

@iissnan
Copy link
Owner

iissnan commented Jan 30, 2015

@niklaus520 Hi Marvin. 我昨晚加上了.line的高度。我测试了下,在有使用行号的情况下,没有指定line的高度,会发生行与代码无法对上的问题。

我不太确定你是否是指的这个问题。因为加上这个高度并不能解决代码前出现多余的空白的问题。

谢谢你的反馈。

@iissnan iissnan closed this as completed Jan 30, 2015
iissnan pushed a commit that referenced this issue Oct 8, 2016
iissnan pushed a commit that referenced this issue Dec 20, 2016
Update to master branch.
habren pushed a commit to habren/hexo-theme-next that referenced this issue Apr 9, 2017
habren pushed a commit to habren/hexo-theme-next that referenced this issue Apr 9, 2017
@zcdlab zcdlab mentioned this issue Nov 2, 2017
wangpei72 pushed a commit to wangpei72/hexo-theme-next that referenced this issue Sep 17, 2021
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants