Fullest Handlebars.js templating support for Sublime Text 2 / 3. Also drives syntax colouring on Github and in Visual Studio Code. Install from: https://packagecontrol.io/packages/Handlebars.
MIT License
301
stars
48
forks
source link
Proper highlighting of '../' when accessing parent context (to pass argument) #86
It's possible to access the parent context in for example an {{#each}} block. This works fine with {{../value}}, but it doesn't work when passing a value as an argument:
{{> template arg=../value}}
In this case the ../ isn't highlighted (GitHub's Handlebars syntax highlighting seems to suffer the same fate).
It's possible to access the parent context in for example an
{{#each}}
block. This works fine with{{../value}}
, but it doesn't work when passing a value as an argument:In this case the
../
isn't highlighted (GitHub's Handlebars syntax highlighting seems to suffer the same fate).