aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-05-09 13:29:35 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-05-09 13:29:35 -0700
commit2571328700676dd075d22ca4d24010b92f1fc459 (patch)
treea2e86e301c030c20f8801f1210735eb2cc5cfa48
parent888a273c1bb47b55177c66db26acbbfd4585aee2 (diff)
downloadpandoc-2571328700676dd075d22ca4d24010b92f1fc459.tar.gz
Use new CommonHTML output for MathJax (updated default MathJax URL).
Closes #2858.
-rw-r--r--pandoc.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/pandoc.hs b/pandoc.hs
index e8a971de7..fb5e24823 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-AMS-MML_HTMLorMML" arg
+ let url' = fromMaybe "https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML" arg
return opt { optHTMLMathMethod = MathJax url'})
"URL")
"" -- "Use MathJax for HTML math"