ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sublime​Linter-html-tidy

by SublimeLinter ST3

SublimeLinter 3 plugin for html tidy.

Details

Installs

  • Total 158K
  • Win 83K
  • Mac 52K
  • Linux 22K
Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12
Windows 3 0 3 2 1 4 4 4 2 4 5 4 1 5 2 1 3 3 2 2 2 1 4 8 4 5 3 3 7 8 5 6 2 0 8 13 7 3 6 2 1 5 4 9 3 2
Mac 2 0 2 0 0 3 2 4 3 3 3 0 1 2 3 4 4 1 1 1 3 2 2 0 2 1 0 2 2 3 0 1 0 0 6 4 2 3 4 0 0 1 4 0 1 3
Linux 1 2 1 0 2 1 0 1 0 5 0 1 2 2 1 1 2 1 1 1 0 0 4 3 2 1 1 0 2 0 0 2 2 0 0 2 3 0 1 2 1 1 1 1 3 1

Readme

Source
raw.​githubusercontent.​com

SublimeLinter-html-tidy

Build Status

This linter plugin for SublimeLinter provides an interface to tidy (either the html4 or html5 version). It will be used with files that have the “HTML” syntax.

Installation

SublimeLinter must be installed in order to use this plugin.

Please install via Package Control.

Before installing this plugin, you must ensure that tidy or tidy5 are installed on your system. tidy5 will be used over tidy if available.

  • Mac OS Xtidy comes preinstalled on recent versions of Mac OS X. You can install the html5 version by using Homebrew and brew install tidy-html5.

  • Linux – You should be able to install tidy using the system’s package manager.

  • Windows – Windows binaries are available for the html5 version.

In order for tidy to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter.

Enable for HTML sub syntax

To enable html-tidy for another syntax edit the SublimeLinter user settings. This example should enable html-tidy for any html sub sytnax. For example, HTML (jinja2), HTML (Rails), HTML (ASP):

// SublimeLinter Settings - User
{
  "linters": {
    "htmltidy": {
      "selector": "text.html"
    },
  }
}