TidyHTML5
Cleanup you html files with SublimeTidyHTML. Parse your files with W3C's tidy-html5 locally. No php required nor webservice call.
Details
Installs
- Total 37K
- Win 19K
- Mac 14K
- Linux 4K
Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
TidyHTML Plugin for Sublime Text 2
Cleanup and reindent a saved file with TidyHTML. No php, no webservice required.
Installation
- Open the Sublime Text 2 Packages folder
- OS X: ~/Library/Application Support/Sublime Text 2/Packages/
- Windows: %APPDATA%/Sublime Text 2/Packages/
- Linux: ~/.Sublime Text 2/Packages/
- clone this repo and rename it to
TidyHTML5
- edit the TidyHTML.sublime-settings (via Preferences > Package Settings > TidyHTML > Settings - User) according to your desired settings (see http://w3c.github.com/tidy-html5/quickref.html for more details)
via Package Control:
- Open the Package Control Palette (
Command+shift+P
) - Select the
Package Control: Install Package
entry - Select the
TidyHTML5
Package - Restart SublimeText if needed
Commands
Via the Command Palette
Ctrl (Win)|Command (OSX) + Shift + P
to open the Command Palette then- type
TidyHTML
to convert characters to their HTML entity
Via Keyboard Shortcut
- OSX:
Command + alt +h
- Windows:
Ctrl + alt + h
Dependencies
Based on https://github.com/w3c/tidy-html5
- Windows: binary provided via http://tidybatchfiles.info/tidy.zip
- OSX: Require separate install for best results (for HTML5 compatibility)
Version History
- 1.1.0: Rewrote the settings file to support a user defined extensions list
- 1.0.1: Bugfix in the command file
- 1.0.0: Initial release