git.iko.soy/typeable/pandoc
on master help sign in
Merge pull request #2420 from xymostech/patch-1

Update KaTeX JS and CSS versions.

commita3295f57d56dd60cb92c29228b5783b5eb098cf9 authorJohn MacFarlane <jgm@berkeley.edu> dateSun 27 Sep 2015, 09:32 (11 years ago) parent013b143149f0f6
1 file changed+2−2
pandoc.hs+2−2
pandoc.hs+2−2
@@ -845,7 +845,7 @@ options =
845845 (\arg opt ->
846846 return opt
847847 { optKaTeXJS =
848− arg <|> Just "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.1.0/katex.min.js"})
848+ arg <|> Just "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.js"})
849849 "URL")
850850 "" -- Use KaTeX for HTML Math
851851
@@ -1132,7 +1132,7 @@ main = do
11321132 mapM_ (\arg -> UTF8.hPutStrLn stdout arg) args
11331133 exitWith ExitSuccess
11341134
1135− let csscdn = "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.1.0/katex.min.css"
1135+ let csscdn = "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.css"
11361136 let mathMethod =
11371137 case (katexJS, katexStylesheet) of
11381138 (Nothing, _) -> mathMethod'