-
Notifications
You must be signed in to change notification settings - Fork 33
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 #12
Support MathJax #12
Conversation
Any update on this? I would like to use this too, if MathJax is supported :) Note that this PR uses the old MathJax 2.x. MathJax 3.0 is now stable; see what's new in 3.0. |
Hi guys. I am sorry that I don't have time to maintain this project. If anyone is interested in maintaining this project, I can transfer its ownership. |
Hi @tatetian, I like this project and can help maintain it. I use MathJax regularly and an algorithm package for it, such as this one, is very useful. Thanks! |
Hi @SaswatPadhi , Cool. I am glad that people find this project useful and volunteer to keep developing it. So I will transfer this project under your name. Sounds good? |
Sure, sounds good. Thanks. |
I tried to transfer the project to you. But Github reported an error: "SaswatPadhi/pseudocode.js already exists". Could you remove or rename your fork first? |
Oh sorry, right, just removed my fork. I can push my local changes to a new branch once you transfer ownership. Thanks. |
Done. Good luck |
Thank you! |
Hi @SaswatPadhi , I changed to MathJax v3 recently, it got much faster rendering than before. Is there any plan to support MathJax v3? |
Also, I found an easy way but may not a best way to support MathJax v3: // MathJax
else {
this._html.putSpan('<span>$' + text + '$</span>');
} I'm not sure the old API |
Hi @leovan, I am definitely pushing MathJax v3 support within the next few days. I am currently traveling, so didn't have much time to test things locally before pushing. But I will push my changes to this branch directly -- I am building on the MathJax v2 changes proposed by @ZJUGuoShuai. Also, yes As you noticed, the key difference is in how the |
Great, thx @SaswatPadhi |
Hi, @SaswatPadhi , I pull the latest code, but
I do find the |
I think you might have deleted the Try creating it and then running |
By default, the code tries to use KaTeX. If it is not available, it switches to MathJax.
I tested the code and used it in my blog: