dmarcotte/idea-handlebars — pull request #8 by dmarcotte (2012-07-29 20:13:36+00:00)
Title: Handle templates embedded in script tags (WIP)

Templates which are inlined in an html page can be pretty handy, so let's get the plugin working for them...

The Handlebars docs suggest embedding templates in script tags of type text/x-handlebars-template, so we should support that use case by default, but also ensure that the Handlebars lang definition allows users to inject it where ever they want using Settings->Language Injection.

Note The current implementation of this relies on the the IntelliLang plugin being installed (it is part of the default plugin bundle, so it probably will be for most users).