Skip to content

Commit 261d88f

Browse files
authored
Use smart punctuation and template with Pandoc
1 parent a992ce6 commit 261d88f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/vim-markdown-preview.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function! Vim_Markdown_Preview()
6666
elseif g:vim_markdown_preview_perl == 1
6767
call system('Markdown.pl "' . b:curr_file . '" > /tmp/vim-markdown-preview.html')
6868
elseif g:vim_markdown_preview_pandoc == 1
69-
call system('pandoc "' . b:curr_file . '" > /tmp/vim-markdown-preview.html')
69+
call system('pandoc --smart --standalone "' . b:curr_file . '" > /tmp/vim-markdown-preview.html')
7070
else
7171
call system('markdown "' . b:curr_file . '" > /tmp/vim-markdown-preview.html')
7272
endif

0 commit comments

Comments
 (0)