diff options
author | Emily Eisenberg <xymostech@gmail.com> | 2015-09-26 21:15:13 -0700 |
---|---|---|
committer | Emily Eisenberg <xymostech@gmail.com> | 2015-09-26 21:15:13 -0700 |
commit | 149f0f6a4b290c63059c83f20b7dda67ca13ee2f (patch) | |
tree | d52a4b2e465d7e253b826db12a44e693d9589b3a | |
parent | 5bff473650d5a090f6ab71b2f882082b6cf77c9e (diff) |
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.
-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' |