From 00ba4be6aa7db117243a9366df32b8e728f17611 Mon Sep 17 00:00:00 2001 From: facelessuser Date: Wed, 10 May 2017 19:58:47 -0600 Subject: [PATCH] Update MathJax CDN Fixes #317 --- docs/extensions/pymdown.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/extensions/pymdown.md b/docs/extensions/pymdown.md index e375db2aa..ea9d394ef 100644 --- a/docs/extensions/pymdown.md +++ b/docs/extensions/pymdown.md @@ -186,7 +186,7 @@ tags on separate lines and adding new lines between the tags and the content. ### Arithmatex MathJax - + [Arithmatex][20] integrates Material with [MathJax][21] which parses block-style and inline equations written in TeX markup and outputs them in @@ -199,7 +199,7 @@ runtime needs to be included. This must be done with ``` yaml extra_javascript: - - 'https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML' + - 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-MML-AM_CHTML' ``` If you want to override the default MathJax configuration, you can do this by @@ -234,7 +234,7 @@ In your `mkdocs.yml`, include it with: ``` yaml extra_javascript: - 'javascripts/extra.js' - - 'https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML' + - 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-MML-AM_CHTML' ``` [20]: https://facelessuser.github.io/pymdown-extensions/extensions/arithmatex/