Sign inSign up

frvge/htmlvalidator

By frvge

Updated over 9 years ago

Uses vnu, the new W3C validator, by default in JSON mode, to validate URLs and mounted files.

Image
0

2.2K

frvge/htmlvalidator repository overview

How to use:

# defaults to --format json
docker run --rm frvge/htmlvalidator https://www.mysite.com

# assuming there's a mysite.html in the local folder. Also sets the format
docker run -v $(pwd):/data --rm frvge/htmlvalidator --format text /data/mysite.html

More info and plugins: https://validator.github.io/validator/ and https://validator.w3.org/nu/about.html

Tag summary

Content type

Image

Digest

Size

112.6 MB

Last updated

over 9 years ago

docker pull frvge/htmlvalidator