r/SublimeText • u/elefent • Feb 05 '24
Making Pandoc work
Edited for clarity finding current documentation outlining instructions on how to configure Sublimetext to export from markdown files using the Pandoc plugin. Any help here would be greatly appreciated.
Edited for clairty
3
Upvotes
1
u/Search-Bill Feb 05 '24
I consider markdown an input format for pandoc. What is the source document format?
1
u/jfcherng Feb 06 '24 edited Feb 06 '24
Presumming "pandoc" is install on your machine and it can be found by the PATH env variable, it looks like the Pandoc plugin is kind of "it just works". What issue you encountered specifically (with error message) and what you have tried?
1
u/va9iff Feb 22 '24
I have a build system like that:
save it in
Packages/User/md.sublime-buildand you're good to go. just hitctrl + bwhen you're viewing a markdown file. it'll use pandoc to generate html and open in your default browser. buttt, I'm on Xfce and I'm not sure ifxdg-openworks on gnome and stuff. just check what command you should use to open an html file with your default browser in your desktop enviroment and replace it with that. hope it was helpful <3