diff --git a/mkdocs.yml b/mkdocs.yml index b0a8d172ca722979e5cd57d9e0e1c2ef0fcb7be7..6a68694abb072fb534ffe828ae48cd0e4dbb72bc 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -32,7 +32,7 @@ markdown_extensions: - pymdownx.details extra_javascript: - - 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.3/MathJax.js?config=TeX-AMS_HTML' - 'https://cdn.plot.ly/plotly-latest.min.js' + - 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.3/MathJax.js?config=TeX-AMS_HTML' - 'scripts/mathjaxhelper.js' copyright: "Copyright © 2017-2018 Delft University of Technology, CC-BY-SA-NC 4.0." diff --git a/src/scripts/mathjaxhelper.js b/src/scripts/mathjaxhelper.js index 32575419be395657b0ab1f7909f0a304c34c483e..bec7b177c7c1d2ca063f416db4af27fed5e6b824 100644 --- a/src/scripts/mathjaxhelper.js +++ b/src/scripts/mathjaxhelper.js @@ -1,6 +1,3 @@ -MathJax.Hub.Config({ - "tex2jax": { inlineMath: [ [ '$', '$' ] ], displayMath: [ [ '$$', '$$' ] ] } -}); MathJax.Hub.Config({ config: ["MMLorHTML.js"], jax: ["input/TeX", "output/HTML-CSS", "output/NativeMML"],