Update MathJax CDN loading instructions

The instructions to loading MathJax from a CDN were outdated and not
working for some users.

This commit updates those links to conform with the instructions from:
https://www.mathjax.org/#gettingstarted
This commit is contained in:
Cesar Tessarin 2019-10-25 16:10:37 -02:00
parent 839a5bf608
commit 16998af36d
No known key found for this signature in database
GPG Key ID: 25376D7F53A95DCF

View File

@ -1412,9 +1412,10 @@ template folder. For instance, a sensible folder structure could be:
In this case, <mathjax_folder> would be "../mathjax" (without quotes). In this case, <mathjax_folder> would be "../mathjax" (without quotes).
2. Loading MathJax from a CDN-server (needs internet connection). 2. Loading MathJax from a CDN-server (needs internet connection).
Add to your HTML template the following line: Add to your HTML template the following lines:
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/config/TeX-AMS-MML_HTMLorMML.js"></script> <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>
------------------------------------------------------------------------------ ------------------------------------------------------------------------------