From 4975b4938092c339697297230a7e930ff8590a37 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 3 May 2017 13:30:38 +0100 Subject: [PATCH] Specify css location correctly --- md_pdf/build/pdf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/md_pdf/build/pdf.py b/md_pdf/build/pdf.py index 334af73..39c550d 100644 --- a/md_pdf/build/pdf.py +++ b/md_pdf/build/pdf.py @@ -23,6 +23,8 @@ PDF_OPTIONS = { "footer-html": FOOTER_FILE, "footer-spacing": 5, "header-spacing": 5, + + "user-style-sheet": STYLE_FILE } @@ -34,6 +36,5 @@ def export_pdf(content, config): content, os.path.join(os.path.abspath(config['output_dir']), 'output.pdf'), options=PDF_OPTIONS, - css=STYLE_FILE, cover=OUTPUT_COVER_FILE )