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

更新时间:2021-04-15 13:01:11

Browse

Sublime​Linter-html-tidy

by SublimeLinter ST3

SublimeLinter 3 plugin for html tidy.

Details

Installs

  • Total 147K
  • Win 77K
  • Mac 49K
  • Linux 20K
Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 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
Windows 3 13 15 18 8 13 10 10 17 12 13 7 12 11 18 23 14 14 15 12 12 18 16 23 14 12 9 13 9 19 18 18 16 12 14 20 11 22 18 13 7 19 15 10 19 15
Mac 3 8 6 7 3 6 1 5 3 6 5 6 4 2 9 12 7 3 6 10 5 4 9 6 7 6 2 4 5 9 8 8 6 6 2 5 11 7 4 3 8 12 7 10 6 3
Linux 0 2 3 4 3 3 3 6 3 1 2 2 2 7 1 9 2 2 3 1 2 9 0 4 4 6 6 3 7 3 7 6 4 6 3 2 2 2 6 1 1 4 4 5 5 5

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"
    },
  }
}