Skip to content

Instantly share code, notes, and snippets.

@gaspanik
Created October 28, 2012 02:54
Show Gist options
  • Save gaspanik/3967267 to your computer and use it in GitHub Desktop.
Save gaspanik/3967267 to your computer and use it in GitHub Desktop.
Sublime Text 2 / Pandoc Markdown to HTML5 Build
// for OS X
// Put this file into Sublime Text 2 Packages 'User' directory, and restart ST2.
{
"path": "/usr/local/bin",
"cmd": ["pandoc", "-S", "-s", "-f", "markdown", "-t", "html5", "-o", "$file_path/$file_base_name.html", "$file"],
"working_dir": "$file_path",
"selector": ["source.md", "source.markdown"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment