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