-
Notifications
You must be signed in to change notification settings - Fork 19
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
Inconsistent mathjax version #72
Comments
I am experiencing this problem. Please tell me how you changed the mathjax version. Thanks. |
@yangqian Thanks a lot, it works! 🎉 @fjhickernell Figure out where your jupyterlab_rise is installed. The easiest way is to run: python3 -c 'import jupyterlab_rise; print(jupyterlab_rise.__file__)' This will print the location of its # TODO Remove CDN usage.
mathjax_url = self.settings.get(
"mathjax_url",
"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js",
) Change the 2.7.7 to 3.2.2, save, and restart jupyter lab (if running). To figure out whether 3.2.2 is still the correct version, you can also look at It actually looks like The correct solution will be to either remove CDN usage (as indicated in the comment), or to introspect which mathjax version the mathjax-extension uses. |
Description
rise hardcoded mathjax version to 2.7.7 in
app.py
while jupyterlab4 currently uses 3.2.2.This caused some font resources to be not loaded properly. (italic font, etc. missing which makes the latex code not render correctly.)
Changing the mathjax verion to 3.2.2 seems to fix the issue. (side effect is yet to be seen).
Reproduce
markdown input latex$$x$$ .
Expected behavior
x is italic
x is not italic
Context
Firefox and Chrome
Command Line Output
Web Browser Output
The text was updated successfully, but these errors were encountered: