aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKolen Cheung <ickc@users.noreply.github.com>2020-10-10 11:11:58 -0700
committerGitHub <noreply@github.com>2020-10-10 11:11:58 -0700
commit0166b8f8573494beeac603a8037cf16783da8c56 (patch)
tree0ae5e24bc142a59e0e8623e8a67ac605e230913e /src
parent72f2a1ee9c8953052523213ae32f7cf9c94d62f6 (diff)
downloadpandoc-0166b8f8573494beeac603a8037cf16783da8c56.tar.gz
Options.hs: defaultMathJaxURL: use tex-chtml-full instead of tex-mml-chtml (#6600)
Closes #6599 c.f. https://docs.mathjax.org/en/latest/web/components/combined.html Note that while this use the full variant of the js, this drops the mathml support. That should be okay, because pandoc renders math in HTML as TeX when using mathjax. This change reduces latency.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Options.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Options.hs b/src/Text/Pandoc/Options.hs
index a5d79d319..21093e007 100644
--- a/src/Text/Pandoc/Options.hs
+++ b/src/Text/Pandoc/Options.hs
@@ -309,7 +309,7 @@ isEnabled :: HasSyntaxExtensions a => Extension -> a -> Bool
isEnabled ext opts = ext `extensionEnabled` getExtensions opts
defaultMathJaxURL :: Text
-defaultMathJaxURL = "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"
+defaultMathJaxURL = "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml-full.js"
defaultKaTeXURL :: Text
defaultKaTeXURL = "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.11.1/"