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

关于Katex公式插件问题,请看👇👇 #403

Open
3 tasks done
kufx opened this issue Mar 7, 2024 · 1 comment
Open
3 tasks done

关于Katex公式插件问题,请看👇👇 #403

kufx opened this issue Mar 7, 2024 · 1 comment

Comments

@kufx
Copy link

kufx commented Mar 7, 2024

检查清单

  • 已经阅读过 官方文档 相关内容,并尝试进行搜索。
  • 尝试过在本地测试运行官方 demo 源码。
  • 尝试过在 Codespace 中测试运行官方 demo 源码。

问题描述

发现问题:
Katex插件只能渲染 $$\exp_a b = a^b$$ 这种独立公式,行内公式渲染不出来😐😭😭

(换了大佬配置文件里的插件,试了一下,发现没有变化,不知道怎么回事)

mathjax插件虽然都可以渲染出来,但是字体会显示的跟小!!!

麻烦大佬了

@calfzhou
Copy link
Contributor

搞定没?

换成 hexo-renderer-markdown-it + @traptitech/markdown-it-katex 应该就可以渲染行内公式了。

没试 mathjax,好像这两年更多的都是用 katex。mathjax 貌似十年前比较流行。

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