From 41d571944b73698990ee4e30f42625584ffefa5c Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Thu, 20 Nov 2014 15:43:58 +0200 Subject: [PATCH] FAQ: add a note about HTML Tidy for HTML5. --- README.markdown | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 0baa0fe5..572c4858 100644 --- a/README.markdown +++ b/README.markdown @@ -163,6 +163,19 @@ Python 2, e.g: let g:syntastic_python_python_exec = '/path/to/python3' ``` + + +__Q. Is there any local checker for HTML5 that I can use with syntastic?__ + +[HTML Tidy][18] has a fork named [HTML Tidy for HTML5][19]. It's a drop +in replacement, and syntastic can use it without changes. Just install it +somewhere and point `g:syntastic_html_tidy_exec` to its executable. + +Alternatively, you can install [validator][20] from [sources][21] and +[configure][22] syntastic to use it. The installation might seem a little +scary (for one, the final directory takes more than 600+ MB on disk), but in +our experience the process is, in fact, painless. + __Q. The `perl` checker has stopped working...__ @@ -324,7 +337,6 @@ nnoremap :lclose:bdelete cabbrev bd lclose\|bdelete ``` - ## 4\. Other resources @@ -358,6 +370,11 @@ a look at [jedi-vim][7], [python-mode][8], or [YouCompleteMe][9]. [15]: https://github.com/MarcWeber/vim-addon-manager [16]: https://github.com/junegunn/vim-plug/ [17]: https://github.com/gmarik/Vundle.vim +[18]: http://tidy.sourceforge.net/ +[19]: http://w3c.github.io/tidy-html5/ +[20]: http://about.validator.nu/ +[21]: http://about.validator.nu/#src +[22]: https://github.com/scrooloose/syntastic/wiki/HTML%3A---validator