Skip to content
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

mathjax not rendering in HTML #5201

Open
jcalvillo opened this issue Feb 4, 2020 · 1 comment
Open

mathjax not rendering in HTML #5201

jcalvillo opened this issue Feb 4, 2020 · 1 comment

Comments

@jcalvillo
Copy link

<script type="text/javascript" src="{{mathjax_url}}?config={{mathjax_config}}&delayStartupUntil=configured" charset="utf-8"></script>

the URL from {{mathjax_url}} variable populates incorrectly.
It currently pupulates as:

<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS_HTML"></script>

The new, working mathjax URL from mathjax documentation is:

<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>

<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>

I've change the HTML manually in one of my exported notebooks and it's works correctly with the new URL.

@mgeier
Copy link
Contributor

mgeier commented Feb 24, 2021

I guess currently version 2.7.x is used intentionally, but maybe it will be upgraded to v3 at some point, see #5758.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants