-
Notifications
You must be signed in to change notification settings - Fork 442
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
Mathjax2 not rendering until page refresh #167
Comments
Thanks for opening this issue, maintainers will get back to you as soon as possible! |
你的demo刷新也无法打开额。 |
我这边刷新数学公式就出来了呀 😂 你是开的哪一篇文章? |
NexT only supports MathJax 3. You should update the CDN URL in See also #4 |
抱歉之前确实没找到这个说明。 使用 Mathjax3 是没问题的,但是 Mathjax3 目前还缺少很多 feature,比如 所以有没有可能继续支持 Mathjax2 呢? |
如果要使用 Mathjax 2,最简单的方法是使用后端渲染插件 hexo-filter-mathjax,见 next-theme/hexo-filter-mathjax#15 (comment) |
安装 hexo-filter-mathjax 后和之前行为一样,还是需要刷新后公式才能正常渲染。直接从主页的 |
执行 另外需要禁用 NexT 自带的 MathJax math:
mathjax:
enable: false |
试了一圈,发现在文章 front-matter 中加入 已在 hexo 的 mathjax:
every_page: true |
大概明白了,[email protected] 版还不支持 |
问题还是有点多,比如 numbering equations 也不行了,看来还是得等 MathJax3 支持 😐。 |
This thread has been automatically locked since there has not been any recent activity after it was closed. It is possible issue was solved or at least outdated. Feel free to open new for related bugs. |
Issue Checklist
Expected behavior
Math Equations should be rendered.
Actual behavior
Equations are not rendered when
Read More
button to open a postEquations are rendered when
Read More
button and then refresh the pageGo to this blog and open the post with title Mobile Robots on the first page. See that the math is not rendered, then refresh the page to see it works.
Steps to reproduce the behavior
Environment Information
Node.js and NPM Information
Package dependencies Information
Hexo Configuration
NexT Configuration
Other Information
The text was updated successfully, but these errors were encountered: