diff options
author | Christian Lawson-Perfect <christianperfect@gmail.com> | 2017-04-05 12:44:41 +0100 |
---|---|---|
committer | Christian Lawson-Perfect <christianperfect@gmail.com> | 2017-04-05 12:48:56 +0100 |
commit | 9495b64d2c10977748eb9b4ecb93489902ea2967 (patch) | |
tree | 372aa84ecdb565afac93739502ba88454a160ca4 /plugin/math | |
parent | c3e96f1f0e37b9f5d8052bcee6db100606c3e458 (diff) | |
download | perl-software-in-gnu-guix-9495b64d2c10977748eb9b4ecb93489902ea2967.tar perl-software-in-gnu-guix-9495b64d2c10977748eb9b4ecb93489902ea2967.tar.gz |
replace cdn.mathjax.org with cdnjs
cdn.mathjax.org is shutting down: https://www.mathjax.org/cdn-shutting-down/
This changes the default MathJax URL in the math plugin, as well as
references in README.md and test/examples/math.html
Diffstat (limited to 'plugin/math')
-rwxr-xr-x | plugin/math/math.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/math/math.js b/plugin/math/math.js index c0a691d..e3b4089 100755 --- a/plugin/math/math.js +++ b/plugin/math/math.js @@ -7,7 +7,7 @@ var RevealMath = window.RevealMath || (function(){ var options = Reveal.getConfig().math || {}; - options.mathjax = options.mathjax || 'https://cdn.mathjax.org/mathjax/latest/MathJax.js'; + options.mathjax = options.mathjax || 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js'; options.config = options.config || 'TeX-AMS_HTML-full'; loadScript( options.mathjax + '?config=' + options.config, function() { |