packages feed

BlogLiterately 0.8.6.1 → 0.8.6.2

raw patch · 4 files changed

+13/−10 lines, 4 filesdep ~basedep ~pandocPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base, pandoc

API changes (from Hackage documentation)

Files

BlogLiterately.cabal view
@@ -1,5 +1,5 @@ Name:           BlogLiterately-Version:        0.8.6.1+Version:        0.8.6.2 Synopsis:       A tool for posting Haskelly articles to blogs Description:    Write blog posts in Markdown format, then use BlogLiterately                 to do syntax highlighting, format ghci sessions, and upload@@ -26,7 +26,7 @@ Maintainer:     Brent Yorgey <byorgey@gmail.com> Stability:      experimental Build-Type:     Simple-Tested-With:    GHC ==7.8.4, GHC ==7.10.3, GHC ==8.0.2, GHC ==8.2.1+Tested-With:    GHC ==7.8.4, GHC ==7.10.3, GHC ==8.0.2, GHC ==8.2.2, GHC ==8.4.2 Extra-Source-Files: CHANGES.md                     README.markdown                     doc/BlogLiteratelyDoc.lhs@@ -39,7 +39,7 @@   location: git://github.com/byorgey/BlogLiterately.git  Library-  Build-Depends:   base >= 4.0 && < 4.11,+  Build-Depends:   base >= 4.0 && < 4.12,                    process,                    filepath,                    directory,@@ -58,7 +58,7 @@                    blaze-html >= 0.5 && < 0.10,                    cmdargs >= 0.9.5 && < 0.11,                    haxr >= 3000.11 && < 3000.12,-                   pandoc >= 2.0 && < 2.2,+                   pandoc >= 2.0 && < 2.3,                    pandoc-types >= 1.16 && < 1.20,                    pandoc-citeproc >= 0.1.2 && < 0.15,                    highlighting-kate >= 0.5 && < 0.7,
CHANGES.md view
@@ -1,3 +1,11 @@+0.8.6.2 (8 June 2018)+---------------------++  - Remove deprecated math rendering methods (latexmathml,+    asciimathml, jsmath, gladtex)+  - allow `pandoc-2.2`+  - allow `base-4.11` (GHC 8.4)+ 0.8.6.1 (31 January 2018) ------------------------- 
doc/BlogLiteratelyDoc.lhs view
@@ -222,7 +222,7 @@  Using the `--math` option, any [Pandoc math rendering method may be chosen](http://johnmacfarlane.net/pandoc/README.html#math-rendering-in-html),-including MathML, jsMath, MathJax, and others.  Note that for some+including MathML, MathJax, and others.  Note that for some methods to work properly, you may need to ensure that the generated HTML ends up in the proper CSS or JavaScript environment. (What that means depends on the method used.)
src/Text/BlogLiterately/Transform.hs view
@@ -583,15 +583,11 @@       }      mathOption opt-      | opt `isPrefixOf` "latexmathml" ||-        opt `isPrefixOf` "asciimathml" = LaTeXMathML (mathUrlMaybe opt)       | opt `isPrefixOf` "mathml"      = MathML       | opt `isPrefixOf` "mimetex"     =           WebTeX (mathUrl "/cgi-bin/mimetex.cgi?" opt)       | opt `isPrefixOf` "webtex"      = WebTeX (mathUrl webTeXURL opt)-      | opt `isPrefixOf` "jsmath"      = JsMath (mathUrlMaybe opt)       | opt `isPrefixOf` "mathjax"     = MathJax (mathUrl mathJaxURL opt)-      | opt `isPrefixOf` "gladtex"     = GladTeX       | otherwise                      = PlainMath      webTeXURL  = "http://chart.apis.google.com/chart?cht=tx&chl="@@ -600,7 +596,6 @@      urlPart = drop 1 . dropWhile (/='=') -    mathUrlMaybe opt = case urlPart opt of "" -> Nothing; x -> Just x     mathUrl dflt opt  = case urlPart opt of "" -> dflt; x -> x  -- | Turn @CRLF@ pairs into a single @LF@.  This is necessary since