From 6592588d53345eb99ce5a882019962b6350a0ce2 Mon Sep 17 00:00:00 2001 From: Andrew Zheng Date: Fri, 15 Mar 2013 17:43:56 -0700 Subject: [PATCH 1/2] Added readme for setting up pandoc path on windows --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8bd1172..7cf2433 100644 --- a/README.md +++ b/README.md @@ -64,4 +64,20 @@ The default keymapping on Windows... ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[Pandoc]: http://johnmacfarlane.net/pandoc/ \ No newline at end of file +## Pandoc Path Settings on Windwos ## + +The plugin will look for Pandoc path using sublime settings `pandoc_path` or `pandoc_bin`. +The default settings should work under OS X without a problem. On windows, to set up the path correctly, change the `Pandoc.sublime-settings` to this: + +~~~~~ {#mycode .python .numberLines startFrom="100"} +{ + // undefine the default path + //"pandoc_path": "~/Library/Haskell/bin" + + // provide the full path for pandoc.exe here + "pandoc_bin": "c:\Users\example\AppData\Local\Pandoc\pandoc.exe" +} +~~~~ + + +[Pandoc]: http://johnmacfarlane.net/pandoc/ From d5b49dbdfc4ce16838f88a458847d24322515860 Mon Sep 17 00:00:00 2001 From: Andrew Zheng Date: Mon, 18 Mar 2013 14:01:49 -0700 Subject: [PATCH 2/2] Have to escape the path for Windows --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7cf2433..6ccf681 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ The default settings should work under OS X without a problem. On windows, to se //"pandoc_path": "~/Library/Haskell/bin" // provide the full path for pandoc.exe here - "pandoc_bin": "c:\Users\example\AppData\Local\Pandoc\pandoc.exe" + "pandoc_bin": "c:\\Users\\example\\AppData\\Local\\Pandoc\\pandoc.exe" } ~~~~