A more legible Handlebars package for Sublime Text 2
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Comments.tmPreferences
Handlebars.JSON-tmLanguage
Handlebars.tmLanguage
each.sublime-snippet
if.sublime-snippet
partial.sublime-snippet
readme.md
with.sublime-snippet

readme.md

Handlebars package for Sublime Text 2

Higher contrast Handlebars syntax highlighting plus comment key bindings and a few snippets.

How is it different from this and this?

  • Colors of Handlebars expressions are selected to be in contrast with the surrounding html.
  • Handlebars expressions get syntax highlighting in html attributes.
  • Parameters passed to block expressions get syntax highlighting too.
  • Key bindings for {{! Handlebars comments }}
  • Tab triggers for
    • if -> {{#if }}
    • each -> {{#each }}
    • with -> {{#with }}
    • par -> {{> }} (for partials)