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

HTML Extended

by orizens ALL

HTML syntax Sublime Text definition which supports Web Components with "-" in tag name

Details

Installs

  • Total 27K
  • Win 19K
  • Mac 4K
  • Linux 4K
Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 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 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22
Windows 0 3 7 8 10 11 8 10 9 9 6 15 11 8 11 5 4 5 13 10 6 10 8 5 6 7 7 11 14 7 4 5 3 7 10 12 5 7 8 8 16 9 11 4 2 7
Mac 0 0 1 1 1 4 0 1 2 0 2 1 2 1 3 1 1 1 2 1 1 1 0 1 0 1 1 0 2 0 0 0 2 0 2 1 0 1 1 0 2 0 2 1 1 2
Linux 0 0 1 1 1 1 1 1 0 1 2 1 3 0 2 0 0 3 1 2 3 0 2 0 1 3 1 1 0 2 0 1 1 2 0 2 0 0 3 2 3 0 2 0 1 2

Readme

Source
raw.​githubusercontent.​com

HTML for Web Components Support

Current html syntax highlight doesn't color html elements with “dash” in it.
In example, the following youtube-player element will be displayed with 2 colors instead of one:

<youtube-player id="#$5213123"></youtube-player>
    <youtube:player class="media"></youtube:player>

With this HTML extended package, it will color the html element properly: example for web components

This package should work with any color scheme.

Set HTML or other extension files to automatically open with html extended syntax

  1. open an html file that has a web component in it
  2. from the menu, select: View -> Syntax -> Open all with current extension as… -> Html Extended