summaryrefslogtreecommitdiff
path: root/pandoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-05-09 13:39:06 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-05-09 13:40:13 -0700
commite08c26c77726891b3e2eafae4ab055c56f150d98 (patch)
treef751595f19bbb8aefcda6696e90dcbb092992305 /pandoc.hs
parent2571328700676dd075d22ca4d24010b92f1fc459 (diff)
Change default mathjax setup to use TeX-AMS_CHTML configuration.
This is designed for cases where the input is always TeX and maximal conformity with TeX is desired. It seems to be smaller and load faster than what we used before. See #2858.
Diffstat (limited to 'pandoc.hs')
-rw-r--r--pandoc.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/pandoc.hs b/pandoc.hs
index fb5e24823..c77b34265 100644
--- a/pandoc.hs
+++ b/pandoc.hs
@@ -836,7 +836,7 @@ options =
, Option "" ["mathjax"]
(OptArg
(\arg opt -> do
- let url' = fromMaybe "https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML" arg
+ let url' = fromMaybe "https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML" arg
return opt { optHTMLMathMethod = MathJax url'})
"URL")
"" -- "Use MathJax for HTML math"