-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Use Mathjax v4 by default #14080
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
Use Mathjax v4 by default #14080
Conversation
# Conflicts: # doc/usage/extensions/math.rst # sphinx/ext/mathjax.py # tests/test_extensions/test_ext_math.py
|
@mgeier what do you think of the changes here? One thing I think we could do is put My understanding of #9094 is that it's useful for third-party extensions to continue to have different config options for this (instead of e.g. A |
|
Thanks for the changes, they are looking good!
Yeah, we could do this. I originally didn't to that for I'm fine with it either way.
Yes, it was useful for setting up some heuristics, but technically, the same thing could be done with However, I wouldn't recommend adding
|
# Conflicts: # CHANGES.rst
Fixes #14022.
MathJax v4 has been released, and it seems to be compatible with v3.
I have added
mathjax4_configfor consistency, even though it would work just as well whenmathjax3_configis used.I don't remember what the original intention was, but I have found out that
asyncwas previously used by default, even thoughdeferwas suggested by the MathJax docs. I have now flipped that to usingdeferby default. This can be changed (just as before) viamathjax_options.TODO
CHANGES.rstversionadded