tools: Added pandoc_md for markdown files.

This commit is contained in:
Andrew Hamilton 2018-05-31 13:04:13 +10:00
parent 76cbaa1f14
commit bff38fc697
2 changed files with 9 additions and 1 deletions

View file

@ -21,7 +21,8 @@ tools_for_extensions = [
[["png", "jpg", "gif", "bmp", "ppm", "tiff", "tga"], ["pil", "pil_half"]],
[["bash", "sh", "dash", "ksh"], ["shellcheck"]],
[["go"], ["gofmt", "go_vet", "golint", "godoc"]],
[["yaml", "yml"], ["yamllint"]]]
[["yaml", "yml"], ["yamllint"]],
[["md"], ["pandoc_md"]]]
# Tool template:
@ -133,3 +134,9 @@ tools_for_extensions = [
dependencies = ["yamllint"]
url = "yamllint"
command = "yamllint"
[pandoc_md]
dependencies = ["pandoc"]
url = "pandoc"
command = "pandoc -f markdown -t plain"
success_status = "normal"