Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

HTML: validator

lcd047 edited this page Apr 25, 2013 · 22 revisions

Maintainer: LCD 47 [email protected]

You can instruct Syntastic to use the online service, or you can install the checker from sources, and tell Syntastic to use the local validator. See the project's page for more details.

Checker options:

g:syntastic_html_validator_api (string; default: 'http://validator.nu/')
url OF THe service to use for checking; leave it to the default to run the checks against http://validator.nu/, or set it to 'http://localhost:8888/' if you're running a local service as per [the official docs](http://about.validator.nu/#src)
g:syntastic_html_validator_parser (string; default: empty)
parser to use; legal values are: `xml`, `xmldtd`, `html`, `html5`, `html4`, `html4tr`; set it to `html5` to check HTML5 files; see [the wiki](http://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#parser) for reference
g:syntastic_html_validator_nsfilter (string; default: empty)
sets the nsfilter for the parser; see [the wiki](http://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#nsfilter) for details
Clone this wiki locally