Merge pull request #768 from tessarin/update-mathjax-cdn

Update MathJax CDN Loading Instructions
This commit is contained in:
Rane Brown 2019-10-28 05:05:03 -06:00 committed by GitHub
commit 241126631d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>
------------------------------------------------------------------------------ ------------------------------------------------------------------------------