Your build file is invalid JSON, which is likely causing the error message. Sublime Text is forgiving about the use of comments, but you will have to escape those back-slashes.
Since
pandoc
is not a shell command, you need to use"cmd"
instead of"shell_cmd"
. A shell command would bels
,mkdir
etc.
Valid JSON:
{ "selector": "text.html.markdown", "working_dir": "$file_path", "cmd": [ "pandoc", "-f", "markdown", "-t", "html", "-o", "$", "$file" "&&", "open", "$" ] }
As an alternative, you could always use the Pandoc package for Sublime Text.