jerryc127 / hexo-theme-butterfly

🦋 A Hexo Theme: Butterfly
https://butterfly.js.org
Apache License 2.0
6.82k stars 1.24k forks source link

[Bug]: markdown语法优先级错误 #1395

Closed learnerLj closed 6 months ago

learnerLj commented 8 months ago

使用的 Butterfly 版本? | What version of Butterfly are you use?

4.10

是否修改过主题文件? || Has the theme files been modified?

是 (Yes)

使用的瀏覽器? || What browse are you using?

Chrome

使用的系統? || What operating system are you using?

Windows

問題描述 | Describe the bug

$\mathrm{SCHEDULE} \mathbb{C} ,t_{elapsed},t_{limit}\rightarrow \mathrm{conf}$

这样的公式,在主题中,优先渲染_ 而不是$,导致显示错误。 image

再比如

  `INPUTEVAL`接收一个 fuzz conf、一组测试用例$tcs$和一个 bug oracle $O_{bug}$ 作为输入。它在 $tcs$ 上执行 PUT,并使用 $O\_{bug}$检查执行是否违反了正确性策略。

显示为斜体 image

出現問題網站 | Website

暂无发布

jerryc127 commented 8 months ago

主题不处理渲染 你这是对应的插件渲染的

你用的是 katex 还是 mathjax ?

哪一个插件?

learnerLj commented 8 months ago

你用的是 katex 还是 mathjax ?

不好意思,过了太久才回复。我使用的是 mathjax,是我更新到最新的包之后出现的问题。现在的依赖是:

    "hexo": "^6.3.0",
    "hexo-deployer-git": "^4.0.0",
    "hexo-generator-archive": "^2.0.0",
    "hexo-generator-baidu-sitemap": "^0.1.9",
    "hexo-generator-category": "^2.0.0",
    "hexo-generator-feed": "^3.0.0",
    "hexo-generator-index": "^3.0.0",
    "hexo-generator-search": "^2.4.3",
    "hexo-generator-sitemap": "^3.0.1",
    "hexo-generator-tag": "^2.0.0",
    "hexo-renderer-ejs": "^2.0.0",
    "hexo-renderer-kramed": "^0.1.4",
    "hexo-renderer-pug": "^3.0.0",
    "hexo-renderer-stylus": "^3.0.0",
    "hexo-server": "^3.0.0",
    "hexo-wordcount": "^6.0.1"

出现的网站是:https://www.blog-blockchain.xyz/pl/fuzzing-introduction/

image

另外,似乎锚点失效了吗。我感觉主题功能在不断完善,但是可能各个功能容易出现冲突,造成一些问题。

github-actions[bot] commented 7 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.