Pandoc Custom Build on Sublime Text

· rtnF

Ctrl+B to convert your markdown to Latex PDF.

Install Sublime Text, click Tools -> Build System -> New Build System. Then add this new build system

{
	"shell_cmd": "echo Pandoc Building.. && pandoc \"$file\" -o \"$file\".pdf -V papersize:b5 -V margin-left:1cm -V margin-right:1cm -V margin-top:1.5cm -V margin-bottom:1.5cm"
}

Save as pandoc.sublime-build. Now, press ctrl+B to convert your markdown to Latex PDF directly from your Sublime Text.