Skip to content

Commit

Permalink
Merge pull request JamshedVesuna#74 from twsh/twsh-patch-1
Browse files Browse the repository at this point in the history
remove --smart flag from Pandoc
  • Loading branch information
JamshedVesuna authored Mar 21, 2018
2 parents bdb4454 + 3c7fa45 commit 9b3ec41
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 9b3ec41

Please sign in to comment.