uplink42 / angular2-html-syntax

Angular2 HTML Syntax for SublimeText

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular2HTML Syntax for SublimeText

based on the official sublime html syntax

Features

So that it's not broken when there are

  • [input]
  • [@animation]
  • (output)
  • (@animation.event)
  • #reference
  • *template
  • [(bananaBox)]

attributes on the tags

How to use

I personaly use ApplySyntax plugin with the following setting:

"syntaxes": [
    {
        "syntax": "Angular2 HTML Syntax/Angular2HTML",
        "extensions": ["component.html"],
    },
]

You could use it in other way... e.g. set it as the default syntax for all html files, since it's a superset of the html syntax anyway.

About

Angular2 HTML Syntax for SublimeText

License:MIT License