Show HN: Command line tool to validate HTML5 files(github.com)
github.com
Show HN: Command line tool to validate HTML5 files
https://github.com/svenkreiss/html5validator
1 comments
Interesting. How would you compare and contrast this to something like HTML Tidy? (http://www.html-tidy.org/)?
HTML Tidy seems like a powerful tool although I am having a hard time to find from their docs whether they do simple validation (I guess it does given that you ask the question).
This html5validator gives you a simple yes/no answer whether some files are HTML5 valid. It is based on the same backend that powers https://html5.validator.nu/.
It can be integrated in continuous integration. The README contains example configurations for TravisCI and CircleCI.
This html5validator gives you a simple yes/no answer whether some files are HTML5 valid. It is based on the same backend that powers https://html5.validator.nu/.
It can be integrated in continuous integration. The README contains example configurations for TravisCI and CircleCI.
I think the continuous integration is key to emphasise.
HTML Tidy does validation as its default action (tidy <html file>), but unlike this, it doesn't seem to be able to target an entire directory (html5validator --root <directory of html files>), so there's another difference there.
HTML Tidy is only for Mac?
Focus of html5validator is on continuous integration and Linux is a must for that.