X-Git-Url: https://git.sthu.org/?p=vimconf.git;a=blobdiff_plain;f=macros.vim;h=cba6b844c37b1578f3d811bac9626e10b69e0e0a;hp=73ce12864cca1fefa1aaf7c031349ed54bca252c;hb=63747432716dd8f8725bf7ffe47bc1a9a078a62f;hpb=5c61509b1a17b26699b378136e93f3e9c99207ae diff --git a/macros.vim b/macros.vim index 73ce128..cba6b84 100644 --- a/macros.vim +++ b/macros.vim @@ -93,7 +93,7 @@ function RunPandoc() let cssopts = "-c pandoc.css" endif - execute ":!pandoc " . cssopts . " --self-contained --toc " . @% . " -o " . @% . ".html" + execute ":!pandoc " . cssopts . " --self-contained --toc '" . @% . "' -o '" . @% . "'.html" endfunction function RunMarkdownpy(prog)