diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-05-09 13:39:06 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-05-09 13:40:13 -0700 |
commit | e08c26c77726891b3e2eafae4ab055c56f150d98 (patch) | |
tree | f751595f19bbb8aefcda6696e90dcbb092992305 | |
parent | 2571328700676dd075d22ca4d24010b92f1fc459 (diff) | |
download | pandoc-e08c26c77726891b3e2eafae4ab055c56f150d98.tar.gz |
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.
-rw-r--r-- | pandoc.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |