tools: Added pandoc_html for html files.

This commit is contained in:
Andrew Hamilton 2018-05-31 16:58:15 +10:00
parent c4674b1284
commit c96ed81891
2 changed files with 9 additions and 3 deletions

View file

@ -12,7 +12,7 @@ tools_for_extensions = [
[["cc", "cpp", "hpp"], ["cpp_syntax_gcc", "bcpp", "uncrustify",
"cppcheck"]],
[["pdf"], ["pdf2txt"]],
[["html"], ["html_syntax", "tidy", "html2text"]],
[["html"], ["html_syntax", "tidy", "html2text", "pandoc_html"]],
[["php"], ["php7_syntax"]],
[["zip"], ["unzip"]],
[["tar.gz", "tgz"],["tar_gz"]],
@ -87,6 +87,12 @@ tools_for_extensions = [
command = "html2text"
success_status = "normal"
[pandoc_html]
dependencies = ["pandoc"]
url = "pandoc"
command = "pandoc -f html -t plain"
success_status = "normal"
[c_syntax_gcc]
dependencies = ["gcc", "g++-6"]
url = "https://gcc.gnu.org/"