From 5c83842116389b5990fbd368352072d6e4c9a819 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 17 May 2017 14:54:40 +0100 Subject: [PATCH] Actually render it --- md_pdf/build/pdf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/md_pdf/build/pdf.py b/md_pdf/build/pdf.py index b84409d..07ecb19 100644 --- a/md_pdf/build/pdf.py +++ b/md_pdf/build/pdf.py @@ -49,5 +49,7 @@ def export_pdf(content, config): content, os.path.join(os.path.abspath(config['output_dir']), 'output.pdf'), options=PDF_OPTIONS, - cover=OUTPUT_COVER_FILE + cover=OUTPUT_COVER_FILE, + toc=TOC_OPTIONS, + cover_first=True )