diff --git a/plugin/vim-markdown-preview.vim b/plugin/vim-markdown-preview.vim index 082c69f..1236aab 100644 --- a/plugin/vim-markdown-preview.vim +++ b/plugin/vim-markdown-preview.vim @@ -68,7 +68,8 @@ function! Vim_Markdown_Preview() elseif g:vim_markdown_preview_pandoc == 1 call system('pandoc --standalone "' . b:curr_file . '" > /tmp/vim-markdown-preview.html') else - call system('markdown "' . b:curr_file . '" > /tmp/vim-markdown-preview.html') + call system('echo "vim-markdown-preview.html" > /tmp/vim-markdown-preview.html') + call system('markdown "' . b:curr_file . '" >> /tmp/vim-markdown-preview.html') endif if v:shell_error echo 'Please install the necessary requirements: https://github.com/JamshedVesuna/vim-markdown-preview#requirements'