Merge pull request #2420 from xymostech/patch-1
Update KaTeX JS and CSS versions.
This commit is contained in:
commit
a3295f57d5
1 changed files with 2 additions and 2 deletions
|
@ -845,7 +845,7 @@ options =
|
||||||
(\arg opt ->
|
(\arg opt ->
|
||||||
return opt
|
return opt
|
||||||
{ optKaTeXJS =
|
{ optKaTeXJS =
|
||||||
arg <|> Just "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.1.0/katex.min.js"})
|
arg <|> Just "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.js"})
|
||||||
"URL")
|
"URL")
|
||||||
"" -- Use KaTeX for HTML Math
|
"" -- Use KaTeX for HTML Math
|
||||||
|
|
||||||
|
@ -1132,7 +1132,7 @@ main = do
|
||||||
mapM_ (\arg -> UTF8.hPutStrLn stdout arg) args
|
mapM_ (\arg -> UTF8.hPutStrLn stdout arg) args
|
||||||
exitWith ExitSuccess
|
exitWith ExitSuccess
|
||||||
|
|
||||||
let csscdn = "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.1.0/katex.min.css"
|
let csscdn = "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.css"
|
||||||
let mathMethod =
|
let mathMethod =
|
||||||
case (katexJS, katexStylesheet) of
|
case (katexJS, katexStylesheet) of
|
||||||
(Nothing, _) -> mathMethod'
|
(Nothing, _) -> mathMethod'
|
||||||
|
|
Loading…
Add table
Reference in a new issue