git.iko.soy/typeable/pandoc
on master help sign in
Merge pull request #2420 from xymostech/patch-1
a3295f5John MacFarlane
pandoc.hs+2−2
@@ -845,7 +845,7 @@ options =
845 (\arg opt ->
845 (\arg opt ->
846 return opt
846 return opt
847 { optKaTeXJS =
847 { 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"})
849 "URL")
849 "URL")
850 "" -- Use KaTeX for HTML Math
850 "" -- Use KaTeX for HTML Math
851
851
@@ -1132,7 +1132,7 @@ main = do
1132 mapM_ (\arg -> UTF8.hPutStrLn stdout arg) args
1132 mapM_ (\arg -> UTF8.hPutStrLn stdout arg) args
1133 exitWith ExitSuccess
1133 exitWith ExitSuccess
1134
1134
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"
1136 let mathMethod =
1136 let mathMethod =
1137 case (katexJS, katexStylesheet) of
1137 case (katexJS, katexStylesheet) of
1138 (Nothing, _) -> mathMethod'
1138 (Nothing, _) -> mathMethod'