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

代码块中的代码被识别为脚注。 #951

Closed
3 tasks done
ghost opened this issue May 23, 2023 · 0 comments
Closed
3 tasks done

代码块中的代码被识别为脚注。 #951

ghost opened this issue May 23, 2023 · 0 comments
Labels
🐛 bug Unexpected problem or unintended behavior

Comments

@ghost
Copy link

ghost commented May 23, 2023

请确认

  • 是当前最新的 Release 版本
  • 本地 hexo clean && hexo s,并且清除浏览器缓存,仍可复现
  • 已经排除是其他 Hexo 插件影响

Bug 描述

当我在Code block中插入类似[^1][^2]的内容时,这些内容会被错误地解析为脚注。

复现步骤

例如,如果我在页面的一个代码块中加入下面的内容,那么上面的[^1]就会被错误地解析为脚注,但是下面的内容不受影响。

... [^1] ... [^2] ...

## Reference:

[^1]: ...
[^2]: ...

截图

image

image

@ghost ghost added the 🐛 bug Unexpected problem or unintended behavior label May 23, 2023
@zkqiang zkqiang closed this as completed Jul 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

1 participant