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

Wrong line number in code block #443

Closed
stoneark opened this issue Jan 13, 2014 · 0 comments
Closed

Wrong line number in code block #443

stoneark opened this issue Jan 13, 2014 · 0 comments
Labels
bug Something isn't working

Comments

@stoneark
Copy link

Markdown源文件是这样的:

title: test
date: 2014-01-13 13:32:53
tags:

---

{% code %}
hello world
{% endcode %}

但生成的是这样的:
2014-01-13 1 47 06

用 {% codeblock %} 块也是这样,用backtick在代码较短的时候行号正确,代码长了也会出现这样的行号错误(我也不确定是否与代码长度有关)

为何会这样?如何解决?

zhipengyan pushed a commit to zhipengyan/hexo that referenced this issue Apr 4, 2016
zhipengyan pushed a commit to zhipengyan/hexo that referenced this issue Apr 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants