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

@ -44,3 +44,4 @@ Extensions | Tools
.bash .sh .dash .ksh | [shellcheck](http://hackage.haskell.org/package/ShellCheck) .bash .sh .dash .ksh | [shellcheck](http://hackage.haskell.org/package/ShellCheck)
.go | [gofmt](https://golang.org) • [go_vet](https://golang.org) • [golint](https://github.com/golang/lint) • [godoc](http://golang.org/x/tools) .go | [gofmt](https://golang.org) • [go_vet](https://golang.org) • [golint](https://github.com/golang/lint) • [godoc](http://golang.org/x/tools)
.yaml .yml | [yamllint](https://github.com/adrienverge/yamllint) .yaml .yml | [yamllint](https://github.com/adrienverge/yamllint)
.md | [pandoc_md](https://pandoc.org/)

View file

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