From 33000893960904a06480119411a7ca7e6bef6ed3 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Sat, 20 Apr 2019 15:00:20 +0300 Subject: [PATCH] Pandoc setup --- pelicanconf.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pelicanconf.py b/pelicanconf.py index e2fe9fe..350a569 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -90,15 +90,20 @@ PANDOC_OUTPUTS = { } PANDOC_EXTRA_OPTIONS = [ - "--toc", + "-V", "documentclass:extarticle", "-V", "toc-title:Содержание", "-F", "skip-toc-tag", + "--highlight-style=tango", + "--resource-path=wiki", "--template=wiki", "--pdf-engine=xelatex" ] PANDOC_MARKDOWN_EXTENSIONS = [ - "+smart" + "+smart", + "+backtick_code_blocks", + "+fenced_code_blocks", + "+fenced_code_attributes" ] #YUICOMPRESSOR_EXECUTABLE = "yui-compressor"