Skip to content

Commit 1a0efa3

Browse files
author
Aedx
committed
Added instructions to install tidy-html5 for Mac OS X with brew
Mostly derived from PR #23, with a few edits
1 parent 33eeaa6 commit 1a0efa3

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@ SublimeLinter 3 must be installed in order to use this plugin. If SublimeLinter
1111
### Linter installation
1212
Before installing this plugin, you must ensure that `tidy` is installed on your system.
1313

14-
- **Mac OS X**`tidy` comes preinstalled on recent versions of Mac OS X. You can install a more recent version by using [Homebrew](http://brew.sh) and `brew install homebrew/dupes/tidy`.
14+
- **Mac OS X**`tidy` comes preinstalled on recent versions of Mac OS X. You can install a more recent stable version by using [Homebrew](http://brew.sh) and `brew install homebrew/dupes/tidy`. The experimental [html5](https://github.com/w3c/tidy-html5) version can be installed with `brew install homebrew/dupes/tidy --HEAD` or built and installed from source.
1515

16-
- **Linux** – You should be able to install tidy using the system’s package manager. For example, on Debian-based systems (including Ubuntu), you can install with `sudo apt-get install tidy`.
16+
- **Linux** – You should be able to install tidy using the system’s package manager. For example, on systems which use APT (such as Debian or its derivations), tidy can be installed with `sudo apt-get install tidy`. The experimental [html5](https://github.com/w3c/tidy-html5) version can be built and installed from source.
1717

18-
- **Windows** – A Windows binary is available [here](http://www.paehl.com/open_source/?HTML_Tidy_for_Windows).
19-
20-
On Mac OS X and Linux, you can also try building the experimental [html5 tidy](https://github.com/w3c/tidy-html5). A Windows binary with HTML5 support is available [here](http://tidybatchfiles.info/).
18+
- **Windows** – Windows binaries are available for both the [stable](http://www.paehl.com/open_source/?HTML_Tidy_for_Windows), and experimental [html5](http://tidybatchfiles.info/) versions.
2119

2220
### Linter configuration
2321
In order for `tidy` to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter. Before going any further, please read and follow the steps in [“Finding a linter executable”](http://sublimelinter.readthedocs.org/en/latest/troubleshooting.html#finding-a-linter-executable) through “Validating your PATH” in the documentation.

0 commit comments

Comments
 (0)