A Sublime Text plugin that uses Pandoc to convert text from one markup format into another. Pandoc can convert documents in markdown, reStructuredText, textile, HTML, DocBook, LaTeX, MediaWiki markup, OPML, or Haddock markup to XHTML, HTML5, HTML slide shows using Slidy, reveal.js, Slideous, S5, or DZSlides, Microsoft Word docx, OpenOffice/LibreOffice ODT, OpenDocument XML, EPUB version 2 or 3, FictionBook2, DocBook, GNU TexInfo, Groff man pages, Haddock markup, OPML, LaTeX, ConTeXt, LaTeX Beamer slides, PDF via LaTeX, Markdown, reStructuredText, AsciiDoc, MediaWiki markup, Emacs Org-Mode, Textile, or custom writers can be written in lua.
MIT License
137
stars
26
forks
source link
User settings for different platforms (Windows, OSX, Linux) #47
Hi,
is there a way to define different pandoc-paths in user settings?
I'm using ST3 and am synching settings between different devices (Mac, Linux, Windows).
Therefore, pandoc will reside in different locations, based on OS used.
I'v tried to use syntax similar to ST3 build system:
{"user": {"windows": {"pandoc-path": "C:/Users/dummy/AppData/Local/Pandoc/pandoc.exe",},"osx": {"pandoc-path": "/usr/local/bin/pandoc",},}}
but without success. Pandoc was not found (even paths are correct).
Any help would be appreciated - especially this plug is of great help!
Thanks!
The easiest solution I would assume to make sure the path to the pandoc binary is in your operating system environment variable PATH. By that way ST3 will find the pandoc binary without that you have to specify the settings in sublime text.
Hi, is there a way to define different pandoc-paths in user settings? I'm using ST3 and am synching settings between different devices (Mac, Linux, Windows). Therefore, pandoc will reside in different locations, based on OS used.
I'v tried to use syntax similar to ST3 build system:
{
"user": {
"windows": {
"pandoc-path": "C:/Users/dummy/AppData/Local/Pandoc/pandoc.exe",
},
"osx": {
"pandoc-path": "/usr/local/bin/pandoc",
},
}
}
but without success. Pandoc was not found (even paths are correct).Any help would be appreciated - especially this plug is of great help! Thanks!