Is there appetite for a version of hbs that dedents the template string?
I find myself often doing things like
layout: hbs(dedent`
greeting: <span>{{greeting}}</span>
`)
with an npm package, but it always feels like extra work & is most of the time (always?) what I want.
You can see in Ember Animated's codebase Ed's forced to manually dedent the strings because he never got around to installing dedent, which kinda sucks.
Wondering if we could export an hbsd or hbsDedent tag that does this automatically.
layout: hbsDedent`
greeting: <span>{{greeting}}</span>
`)
Watcha think?
Is there appetite for a version of
hbsthat dedents the template string?I find myself often doing things like
with an npm package, but it always feels like extra work & is most of the time (always?) what I want.
You can see in Ember Animated's codebase Ed's forced to manually dedent the strings because he never got around to installing
dedent, which kinda sucks.Wondering if we could export an
hbsdorhbsDedenttag that does this automatically.Watcha think?