diff options
author | Yihui Xie <xie@yihui.name> | 2017-07-13 08:21:20 +0300 |
---|---|---|
committer | Yihui Xie <xie@yihui.name> | 2017-07-13 08:21:20 +0300 |
commit | 27d9ebc2f4d3b4470f98d33a52a12f42d314a0d9 (patch) | |
tree | c0aaf483692c0cea40fa50516136a801f8ba9b06 | |
parent | 43269a7c8cc591c0c543ab16118a6f84c4d842b8 (diff) |
the latest version of js/math-code.js no longer requires inline math to be in $ $ since dollar signs will be automatically replace by \( \)
-rw-r--r-- | layouts/partials/footer.html | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index b5d55c9..78d4c83 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -16,14 +16,6 @@ {{ if and (not .Params.disable_mathjax) (or (in (string .Content) "\\") (in (string .Content) "$")) }} <script src="//yihui.name/js/math-code.js"></script> -<script type="text/x-mathjax-config"> -MathJax.Hub.Config({ - tex2jax: { - inlineMath: [['$','$'], ['\\(','\\)']], - processEscapes: true - } -}); -</script> <script async src="//cdn.bootcss.com/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML"></script> {{ end }} |