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

支持数学公式 #57

Open
Hikaruii opened this issue Jan 4, 2024 · 4 comments
Open

支持数学公式 #57

Hikaruii opened this issue Jan 4, 2024 · 4 comments

Comments

@Hikaruii
Copy link

Hikaruii commented Jan 4, 2024

请问怎么支持数学公式呢

@2b-creator
Copy link

我的方案是:安装hexo-renderer-mathjax插件然后在front-matter写mathjax: true,使用$$进入latex环境

@saicaca
Copy link
Owner

saicaca commented Jan 10, 2024

可以将 Hexo 的 Markdown 渲染器更换为支持数学公式的 hexo-renderer-markdown-it

@Hikaruii
Copy link
Author

可以将 Hexo 的 Markdown 渲染器更换为支持数学公式的 hexo-renderer-markdown-it

作者您好,我用了你的方法,但是发现渲染出来的公式有问题,就是它每次都是显示渲染后的数学公式,然后后面又会跟着$$内的原始公式,请问这是为什么呢
0b1f540f3b64f9af3fb8036a586b874

@Hikaruii
Copy link
Author

我的方案是:安装hexo-renderer-mathjax插件然后在front-matter写mathjax: true,使用$$进入latex环境

你好,我也尝试用了你的方法,本地显示是正常的,但是上传到服务器上就没有任何渲染是什么情况呢呜呜呜。。。您部署的时候正常吗

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

3 participants