-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Support MathJax v3.0 #1314
Support MathJax v3.0 #1314
Conversation
Just an attempt, not sure if it works :)
Thanks so much for opening your first PR here! |
Thanks for your contribution! |
It's my pleasure :) This work should be done and can already be merged now. I have tested with theme-next.org (with |
The same content renders normally in mathjax2, but mathjax3 will report an error:
Can you help investigate? https://zhangshuqiao.org/Mathjax2/
|
Hi @stevenjoezhang, It seems to be a bug, see mathjax/MathJax#2202 |
Maybe we need to wait until the next release of MathJax 3, because this bug often occurs when users use some specific Hexo renderer. https://github.com/mathjax/MathJax-src/releases @reuixiy Thanks again for your work!
|
MathJax v3.0.1 just released, and this issue has been resolved. |
Thanks for reminding, I will perform some tests, such as the compatibility of mathjax and pjax refresh 🤪 |
There are now two issues:
Overflow test
- 233333
- $\nabla\cdot\vec{E}=\frac{\rho}{\epsilon_0},\nabla\cdot\vec{E}=\frac{\rho}{\epsilon_0},\nabla\cdot\vec{E}=\frac{\rho}{\epsilon_0},\nabla\cdot\vec{E}=\frac{\rho}{\epsilon_0}$
- 6666
I have researched their solutions in mathjax2: #1004 #603 , is it possible to port them to mathjax3?
|
I see... I'd like to solve these but it's just too difficult for me... So I submit an issue in MathJax, see mathjax/MathJax#2319 |
CDNMy confirmation yesterday found that
|
Thank you for your reply. Of course, I think the situation is:
If your tests confirm these functions are normal, then no changes are required. I don't know much about mathjax and can't guarantee that my code is correct. The only problem that needs to be solved now is the inline math overflow in the list element. |
Yep |
Congrats on merging your first pull request here! 🎉 How awesome! |
Wow, awesome! |
@reuixiy @stevenjoezhang Hmm... Something went wrong. After using this patch, I cannot render mathjax. The probable cause is that we cannot find https://yuzhouwan.com/posts/42737/
|
@asdf2014 It seems that jsdelivr is not case sensitive: https://www.jsdelivr.com/package/npm/mathjax?path=es5%2Finput%2Ftex%2Fextensions
|
@stevenjoezhang Thanks, I tried cdn.jsdelivr.net and unpkg.com, and neither of them worked. Do you have any other suggestions? |
@reuixiy @stevenjoezhang At the moment, I can't find a solution to this problem. Sorry, I have to revert this patch. |
https://docs.mathjax.org/en/latest/upgrading/whats-new-3.0.html