From a77c0e6abce610c00a5d6a2c6c29f29b5c4bc97d Mon Sep 17 00:00:00 2001 From: Anton Akhmerov <anton.akhmerov@gmail.com> Date: Fri, 27 Jul 2018 14:22:15 +0200 Subject: [PATCH] trying to fix mathjax --- mkdocs.yml | 2 +- src/scripts/mathjaxhelper.js | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index b0a8d172..6a68694a 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 32575419..bec7b177 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"], -- GitLab