Basic changes for MathJax 3.
This commit is contained in:
parent
8a77bbf6eb
commit
3c7f1bf96c
2 changed files with 2 additions and 2 deletions
|
@ -699,7 +699,7 @@ options =
|
|||
(OptArg
|
||||
(\arg opt -> do
|
||||
let url' = fromMaybe (defaultMathJaxURL ++
|
||||
"MathJax.js?config=TeX-AMS_CHTML-full") arg
|
||||
"tex-mml-chtml.js") arg
|
||||
return opt { optHTMLMathMethod = MathJax url'})
|
||||
"URL")
|
||||
"" -- "Use MathJax for HTML math"
|
||||
|
|
|
@ -52,7 +52,7 @@ convertMath writer mt str =
|
|||
InlineMath -> DisplayInline
|
||||
|
||||
defaultMathJaxURL :: String
|
||||
defaultMathJaxURL = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/"
|
||||
defaultMathJaxURL = "https://cdn.jsdelivr.net/npm/mathjax@3/es5/"
|
||||
|
||||
defaultKaTeXURL :: String
|
||||
defaultKaTeXURL = "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/"
|
||||
|
|
Loading…
Add table
Reference in a new issue