-
Notifications
You must be signed in to change notification settings - Fork 481
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
Add MathJax3 Writer #1362
Comments
Yes, this would be good. Going forward, MathJax 3 should probably be the default MathJax version anyway. But we should give people the option to also keep using MathJax 2. From the API perspective we have two options I guess:
I think either should be a pretty straightforward addition to here: Documenter.jl/src/Writers/HTMLWriter.jl Lines 369 to 468 in f9f0b68
|
I think since MathJax3 uses a completely different config format, I though option 2 made more sense. I would love to hear your initial feedback on my draft. |
It would be good to support MathJax 3 for LaTeX rendering as well. My main motivation behind this is that MathJax 3 officially supports the physics package as a plugin. From quick testing, it also seems to render a lot faster than MathJax 2 and really not much slower than KaTeX. It's probably better to add alongside MathJax 2, since the config formats are not compatible, so this would otherwise be breaking. I'd like to take a stab at this, if that's ok.
The text was updated successfully, but these errors were encountered: