From 261d88f3081b17f7c23e6244088b0c58d1bbe24d Mon Sep 17 00:00:00 2001 From: Thomas Hodgson Date: Fri, 5 May 2017 22:19:25 +0100 Subject: [PATCH] Use smart punctuation and template with Pandoc --- plugin/vim-markdown-preview.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/vim-markdown-preview.vim b/plugin/vim-markdown-preview.vim index 75d1d1f..d32d1ba 100644 --- a/plugin/vim-markdown-preview.vim +++ b/plugin/vim-markdown-preview.vim @@ -66,7 +66,7 @@ function! Vim_Markdown_Preview() elseif g:vim_markdown_preview_perl == 1 call system('Markdown.pl "' . b:curr_file . '" > /tmp/vim-markdown-preview.html') elseif g:vim_markdown_preview_pandoc == 1 - call system('pandoc "' . b:curr_file . '" > /tmp/vim-markdown-preview.html') + call system('pandoc --smart --standalone "' . b:curr_file . '" > /tmp/vim-markdown-preview.html') else call system('markdown "' . b:curr_file . '" > /tmp/vim-markdown-preview.html') endif -- 2.45.2