Sublime Hax: Handlebars Syntax Highlighting

I have been recently working in Ember.js a javascript frontend framework (like Angular or Backbone). Its uses a semantic template language for the HTML.

If you are writing your code in Sublime Text like I am, you will quickly find out that it doesn’t recognize Handlebars and so displays its a plain text. (Yuk >,< )

Luckily, you can install this handy dandy package found here

If you don’t have package manager for Sublime, read this post and it will get you up to speed.

BEFORE
Screen Shot 2015-06-24 at 2.43.59 PMIf

AFTER
Screen Shot 2015-06-24 at 2.43.38 PM

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s