Skip to content

Instantly share code, notes, and snippets.

@gaspanik
Created October 28, 2012 02:54
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gaspanik/3967265 to your computer and use it in GitHub Desktop.
Save gaspanik/3967265 to your computer and use it in GitHub Desktop.
Sublime Text 2 / Pandoc HTML to Markdown 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", "html", "-t", "markdown", "-o", "$file_path/$file_base_name.md", "$file"],
"working_dir": "$file_path",
"selector": ["source.text", "source.html"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment