fromhtml 1.0.2 → 1.0.3
raw patch · 2 files changed
+10/−4 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- fromhtml.cabal +3/−3
- src/Text/FromHTML.hs +7/−1
fromhtml.cabal view
@@ -1,13 +1,13 @@-cabal-version: 1.12+cabal-version: 1.12 -- This file has been generated from package.yaml by hpack version 0.31.2. -- -- see: https://github.com/sol/hpack ----- hash: 8bab40642781a60f3d71a513789692466ac753726db91595bdc3a5af39472bb4+-- hash: 4a37549d810ae62f15b36b830a4ae1fb1e2cba63df0c9a5108bb7fc27b7efca9 name: fromhtml-version: 1.0.2+version: 1.0.3 synopsis: Simple adapter for transformation of HTML to other formats description: Please see the README on GitHub at <https://github.com/MarekSuchanek/FromHTML#readme> category: Text
src/Text/FromHTML.hs view
@@ -57,7 +57,13 @@ -- | Simple conversion of HTML to PDF using process wkhtmltopdf wkhtmltopdf :: Command -wkhtmltopdf = perform "wkhtmltopdf" ["--quiet", "--disable-smart-shrinking", "--encoding", "utf-8", "-", "-"] +wkhtmltopdf = perform "wkhtmltopdf" ["--quiet", "--disable-smart-shrinking", + "--footer-center", "\"[page]\"", + "--footer-font-name", "\"Noto Serif\"", + "--footer-spacing", "10", + "--footer-font-size", "10", + "-B", "25mm", "-L", "25mm", "-R", "25mm", "-T", "25mm", + "--encoding", "utf-8", "-", "-"] -- | Simple conversion of HTML to some format using process pandoc pandoc :: ExportType -> Command