Update KaTeX to v0.6.0

This commit is contained in:
KolenCheung 2016-10-03 23:53:16 -07:00
parent 41f4c8741f
commit f7d92b5765

View file

@ -846,7 +846,7 @@ options =
(\arg opt -> (\arg opt ->
return opt return opt
{ optKaTeXJS = { optKaTeXJS =
arg <|> Just "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.js"}) arg <|> Just "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.6.0/katex.min.js"})
"URL") "URL")
"" -- Use KaTeX for HTML Math "" -- Use KaTeX for HTML Math
@ -1150,7 +1150,7 @@ convertWithOpts opts args = do
mapM_ (UTF8.hPutStrLn stdout) args mapM_ (UTF8.hPutStrLn stdout) args
exitSuccess exitSuccess
let csscdn = "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.css" let csscdn = "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.6.0/katex.min.css"
let mathMethod = let mathMethod =
case (katexJS, katexStylesheet) of case (katexJS, katexStylesheet) of
(Nothing, _) -> mathMethod' (Nothing, _) -> mathMethod'