Skip to content

Commit

Permalink
remove --smart flag from Pandoc
Browse files Browse the repository at this point in the history
The --smart flag is deprecated as of Pandoc v2
  • Loading branch information
twsh authored Oct 31, 2017
1 parent 56877f5 commit 3c7fa45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/vim-markdown-preview.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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 --smart --standalone "' . b:curr_file . '" > /tmp/vim-markdown-preview.html')
call system('pandoc --standalone "' . b:curr_file . '" > /tmp/vim-markdown-preview.html')
else
call system('markdown "' . b:curr_file . '" > /tmp/vim-markdown-preview.html')
endif
Expand Down Expand Up @@ -120,7 +120,7 @@ function! Vim_Markdown_Preview_Local()
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 --smart --standalone "' . b:curr_file . '" > /tmp/vim-markdown-preview.html')
call system('pandoc --standalone "' . b:curr_file . '" > /tmp/vim-markdown-preview.html')
else
call system('markdown "' . b:curr_file . '" > vim-markdown-preview.html')
endif
Expand Down

0 comments on commit 3c7fa45

Please sign in to comment.