Sublime Forum

Can I Set Language in Pandoc Build?

#1

Hi,

Can I set a language while exporting markdown to, say, docx?

I found this discussion on Stackoverflow but I don’t have the expertise to amend the build script. Below is my current build script.

{
  "selector": "text.html.markdown",
  "working_dir": "$file_path",
  "cmd": [
    "pandoc",
    "-f", "markdown+smart",
    "-t", "docx",
    "-o", "$file_base_name.docx",
   	"$file_name",
  ]
}
0 Likes