diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-09-27 09:32:02 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-09-27 09:32:02 -0700 |
commit | a3295f57d56dd60cb92c29228b5783b5eb098cf9 (patch) | |
tree | a0f1477a4427b911ead69c9ed003c1160e5777fe | |
parent | 013b143427122e2807049f02fa7b886f8179e724 (diff) | |
parent | 149f0f6a4b290c63059c83f20b7dda67ca13ee2f (diff) |
Merge pull request #2420 from xymostech/patch-1
Update KaTeX JS and CSS versions.
-rw-r--r-- | pandoc.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -845,7 +845,7 @@ options = (\arg opt -> return opt { optKaTeXJS = - arg <|> Just "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.1.0/katex.min.js"}) + arg <|> Just "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.js"}) "URL") "" -- Use KaTeX for HTML Math @@ -1132,7 +1132,7 @@ main = do mapM_ (\arg -> UTF8.hPutStrLn stdout arg) args exitWith ExitSuccess - let csscdn = "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.1.0/katex.min.css" + let csscdn = "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.css" let mathMethod = case (katexJS, katexStylesheet) of (Nothing, _) -> mathMethod' |