Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/yihui/hugo-xmag.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYihui Xie <xie@yihui.name>2017-07-13 08:21:20 +0300
committerYihui Xie <xie@yihui.name>2017-07-13 08:21:20 +0300
commit27d9ebc2f4d3b4470f98d33a52a12f42d314a0d9 (patch)
treec0aaf483692c0cea40fa50516136a801f8ba9b06
parent43269a7c8cc591c0c543ab16118a6f84c4d842b8 (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.html8
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 }}