shannonmoeller / handlebars-layouts

Handlebars helpers which implement layout blocks similar to Jinja, Nunjucks (Swig), Pug (Jade), and Twig.
http://npm.im/handlebars-layouts
MIT License
361 stars 29 forks source link

customizing syntax #31

Closed lorvent closed 8 years ago

lorvent commented 8 years ago

Hi, how easy it is to customize syntax?

i want to use it for laravel so it would be better, if handlebar shares same syntax as laravel

ex: displaying a variable {{$var}} instead of {{var}}

do we need to do that at root level in handlebars or can be done in your layouts plugin?

shannonmoeller commented 8 years ago

Changing {{var}} to {{$var}} is a Handlebars language level request. These helpers don't address that at all.