tools: Added pandoc_html for html files.
This commit is contained in:
parent
c4674b1284
commit
c96ed81891
2 changed files with 9 additions and 3 deletions
|
|
@ -21,7 +21,7 @@ then to run:
|
||||||
|
|
||||||
# vigil <directory_path>
|
# vigil <directory_path>
|
||||||
|
|
||||||
### Tools (48 in total)
|
### Tools (49 in total)
|
||||||
|
|
||||||
Extensions | Tools
|
Extensions | Tools
|
||||||
---------- | -----
|
---------- | -----
|
||||||
|
|
@ -34,7 +34,7 @@ Extensions | Tools
|
||||||
.o | [objdump_headers](https://en.wikipedia.org/wiki/Objdump) • [objdump_disassemble](https://en.wikipedia.org/wiki/Objdump) • [readelf](https://en.wikipedia.org/wiki/Objdump)
|
.o | [objdump_headers](https://en.wikipedia.org/wiki/Objdump) • [objdump_disassemble](https://en.wikipedia.org/wiki/Objdump) • [readelf](https://en.wikipedia.org/wiki/Objdump)
|
||||||
.cc .cpp .hpp | [cpp_syntax_gcc](https://gcc.gnu.org/) • bcpp • [uncrustify](https://github.com/uncrustify/uncrustify) • [cppcheck](http://sourceforge.net/p/cppcheck/wiki/Home/)
|
.cc .cpp .hpp | [cpp_syntax_gcc](https://gcc.gnu.org/) • bcpp • [uncrustify](https://github.com/uncrustify/uncrustify) • [cppcheck](http://sourceforge.net/p/cppcheck/wiki/Home/)
|
||||||
.pdf | [pdf2txt](http://www.unixuser.org/~euske/python/pdfminer/)
|
.pdf | [pdf2txt](http://www.unixuser.org/~euske/python/pdfminer/)
|
||||||
.html | [html_syntax](http://www.html-tidy.org/) • [tidy](http://www.html-tidy.org/) • [html2text](http://www.mbayer.de/html2text/)
|
.html | [html_syntax](http://www.html-tidy.org/) • [tidy](http://www.html-tidy.org/) • [html2text](http://www.mbayer.de/html2text/) • [pandoc_html](https://pandoc.org/)
|
||||||
.php | [php7_syntax](https://en.wikipedia.org/wiki/PHP)
|
.php | [php7_syntax](https://en.wikipedia.org/wiki/PHP)
|
||||||
.zip | [unzip](http://www.info-zip.org/UnZip.html)
|
.zip | [unzip](http://www.info-zip.org/UnZip.html)
|
||||||
.tar.gz .tgz | [tar_gz](http://www.gnu.org/software/tar/manual/tar.html)
|
.tar.gz .tgz | [tar_gz](http://www.gnu.org/software/tar/manual/tar.html)
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ tools_for_extensions = [
|
||||||
[["cc", "cpp", "hpp"], ["cpp_syntax_gcc", "bcpp", "uncrustify",
|
[["cc", "cpp", "hpp"], ["cpp_syntax_gcc", "bcpp", "uncrustify",
|
||||||
"cppcheck"]],
|
"cppcheck"]],
|
||||||
[["pdf"], ["pdf2txt"]],
|
[["pdf"], ["pdf2txt"]],
|
||||||
[["html"], ["html_syntax", "tidy", "html2text"]],
|
[["html"], ["html_syntax", "tidy", "html2text", "pandoc_html"]],
|
||||||
[["php"], ["php7_syntax"]],
|
[["php"], ["php7_syntax"]],
|
||||||
[["zip"], ["unzip"]],
|
[["zip"], ["unzip"]],
|
||||||
[["tar.gz", "tgz"],["tar_gz"]],
|
[["tar.gz", "tgz"],["tar_gz"]],
|
||||||
|
|
@ -87,6 +87,12 @@ tools_for_extensions = [
|
||||||
command = "html2text"
|
command = "html2text"
|
||||||
success_status = "normal"
|
success_status = "normal"
|
||||||
|
|
||||||
|
[pandoc_html]
|
||||||
|
dependencies = ["pandoc"]
|
||||||
|
url = "pandoc"
|
||||||
|
command = "pandoc -f html -t plain"
|
||||||
|
success_status = "normal"
|
||||||
|
|
||||||
[c_syntax_gcc]
|
[c_syntax_gcc]
|
||||||
dependencies = ["gcc", "g++-6"]
|
dependencies = ["gcc", "g++-6"]
|
||||||
url = "https://gcc.gnu.org/"
|
url = "https://gcc.gnu.org/"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue