From 6b40b8c27c71231607e64221a071d3a2d366dce3 Mon Sep 17 00:00:00 2001 From: newmana Date: Wed, 10 Jan 2018 13:58:35 +1000 Subject: Add header and footer parameters --- src/Text/Pandoc/PDF.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Text') diff --git a/src/Text/Pandoc/PDF.hs b/src/Text/Pandoc/PDF.hs index 974934763..5f41d6c55 100644 --- a/src/Text/Pandoc/PDF.hs +++ b/src/Text/Pandoc/PDF.hs @@ -104,6 +104,10 @@ makePDF "wkhtmltopdf" pdfargs writer opts doc@(Pandoc meta _) = do (getField "margin-right" meta')) ,("margin-left", fromMaybe (Just "1.25in") (getField "margin-left" meta')) + ,("footer-html", fromMaybe Nothing + (getField "footer-html" meta')) + ,("header-html", fromMaybe Nothing + (getField "header-html" meta')) ] source <- writer opts doc verbosity <- getVerbosity -- cgit v1.2.3