git.iko.soy/typeable/pandoc
on master help sign in
Merge pull request #3141 from ickc/master
3f9a0a8John MacFarlane
pandoc.hs+2−2
@@ -846,7 +846,7 @@ options =
846 (\arg opt ->
846 (\arg opt ->
847 return opt
847 return opt
848 { optKaTeXJS =
848 { optKaTeXJS =
849− arg <|> Just "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.js"})
849+ arg <|> Just "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.6.0/katex.min.js"})
850 "URL")
850 "URL")
851 "" -- Use KaTeX for HTML Math
851 "" -- Use KaTeX for HTML Math
852
852
@@ -1150,7 +1150,7 @@ convertWithOpts opts args = do
1150 mapM_ (UTF8.hPutStrLn stdout) args
1150 mapM_ (UTF8.hPutStrLn stdout) args
1151 exitSuccess
1151 exitSuccess
1152
1152
1153− let csscdn = "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.css"
1153+ let csscdn = "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.6.0/katex.min.css"
1154 let mathMethod =
1154 let mathMethod =
1155 case (katexJS, katexStylesheet) of
1155 case (katexJS, katexStylesheet) of
1156 (Nothing, _) -> mathMethod'
1156 (Nothing, _) -> mathMethod'