diff options
author | rhysd <lin90162@yahoo.co.jp> | 2018-01-06 19:58:10 +0900 |
---|---|---|
committer | rhysd <lin90162@yahoo.co.jp> | 2018-01-06 20:00:36 +0900 |
commit | 7a1a5343054549c571425b6c48ab15ca5422337a (patch) | |
tree | 088355f58070bc31246467ed48087fbc3d473741 /doc/ale-html.txt | |
parent | 401b964e9ce212bfaafd98f7ef075ab5f9d7c805 (diff) | |
download | ale-7a1a5343054549c571425b6c48ab15ca5422337a.zip |
Explain /usr/bin/tidy is ignored on macOS and how to install the latest tidy
Diffstat (limited to 'doc/ale-html.txt')
-rw-r--r-- | doc/ale-html.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/ale-html.txt b/doc/ale-html.txt index 14e705e0..c5d5afa5 100644 --- a/doc/ale-html.txt +++ b/doc/ale-html.txt @@ -32,6 +32,21 @@ g:ale_html_htmlhint_use_global *g:ale_html_htmlhint_use_global* =============================================================================== tidy *ale-html-tidy* +`tidy` is a console application which corrects and cleans up HTML and XML +documents by fixing markup errors and upgrading legacy code to modern +standards. + +Note: +`/usr/bin/tidy` on macOS (installed by default) is too old. It was released +on 31 Oct 2006. It does not consider modern HTML specs (HTML5) and shows +outdated warnings. So |ale| ignores `/usr/bin/tidy` on macOS. + +To use `tidy` on macOS, please install the latest version with Homebrew: +> + $ brew install tidy-html5 +< +`/usr/local/bin/tidy` is installed. + g:ale_html_tidy_executable *g:ale_html_tidy_executable* *b:ale_html_tidy_executable* Type: |String| |