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 23K
  • Win 16K
  • Mac 4K
  • Linux 3K
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 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5
Windows 0 7 13 10 6 6 16 18 17 14 9 11 12 12 10 11 14 2 14 6 8 11 11 9 14 6 8 8 10 5 14 7 8 6 10 14 13 5 6 8 5 9 8 11 7 8
Mac 0 3 3 0 1 0 0 1 2 0 0 0 1 2 0 2 3 0 0 0 2 2 1 1 0 0 1 0 2 1 2 0 0 0 1 0 2 3 1 1 4 2 0 1 1 1
Linux 0 1 2 0 2 1 2 2 3 3 1 1 3 2 0 1 1 3 1 1 0 0 1 1 0 0 0 0 3 4 2 3 1 1 1 0 4 3 1 2 2 2 0 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