git.iko.soy/typeable/pandoc
on master help sign in
Update KaTeX JS and CSS versions.

Update the default KaTeX JS/CSS links to the current version. KaTeX v0.5.1 has far more functions and symbols than v0.1.0, so it seems like a better default. I think technically this might break compatibility because we released a breaking change due to the greediness of the `\color` function, but this probably has very little impact.

commit149f0f6a4b290c63059c83f20b7dda67ca13ee2f authorEmily Eisenberg <xymostech@gmail.com> dateSat 26 Sep 2015, 21:15 (11 years ago) parent5bff473
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'