From: Stefan Huber Date: Fri, 21 Dec 2018 10:49:59 +0000 (+0100) Subject: pandoc: Always with --self-contained X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=80e8ae230847c2d518a6274abdde5ec83117293c;p=vimconf.git pandoc: Always with --self-contained --- diff --git a/macros.vim b/macros.vim index 1397f0f..dd0b28d 100644 --- a/macros.vim +++ b/macros.vim @@ -90,10 +90,10 @@ function RunPandoc() " If pandoc.css exists, use it let cssopts = "" if findfile("pandoc.css", ".") == "pandoc.css" - let cssopts = "-c pandoc.css --self-contained" + let cssopts = "-c pandoc.css" endif - execute ":!pandoc " . cssopts . " --toc " . @% . " -o " . @% . ".html" + execute ":!pandoc " . cssopts . " --self-contained --toc " . @% . " -o " . @% . ".html" endfunction