diff --git a/src/sotoki/assets/static/js/mathjax-config.js b/src/sotoki/assets/static/js/mathjax-config.js deleted file mode 100644 index 2540b05..0000000 --- a/src/sotoki/assets/static/js/mathjax-config.js +++ /dev/null @@ -1,11 +0,0 @@ -MathJax.Hub.Config({"HTML-CSS": { preferredFont: "TeX", availableFonts: ["STIX","TeX"], linebreaks: { automatic:true }, EqnChunk: (MathJax.Hub.Browser.isMobile ? 10 : 50) }, - tex2jax: { inlineMath: [ ["$", "$"], ["\\\\(","\\\\)"] ], displayMath: [ ["$$","$$"], ["\\[", "\\]"] ], processEscapes: true, ignoreClass: "tex2jax_ignore|dno" }, - TeX: { - extensions: ["begingroup.js"], - noUndefined: { attributes: { mathcolor: "red", mathbackground: "#FFEEEE", mathsize: "90%" } }, - Macros: { href: "{}" } - }, - messageStyle: "none", - styles: { ".MathJax_Display, .MathJax_Preview, .MathJax_Preview > *": { "background": "inherit" } }, - SEEditor: "mathjaxEditing" - }); diff --git a/src/sotoki/templates/base.html b/src/sotoki/templates/base.html index 7ce814b..77212ea 100644 --- a/src/sotoki/templates/base.html +++ b/src/sotoki/templates/base.html @@ -28,7 +28,19 @@ {% endif %} {% if site_mathjax %} - + {% endif %}