Replies: 3 comments 2 replies
-
@yespire As a workaround, you can replace your variables with variables , something like this: When the partials are assembled, you can provide the actual data for those variables. If you still want to add something like |
Beta Was this translation helpful? Give feedback.
-
Thanks for the suggestion, but rendering variables into variables or {{varirable}} are not ideal. Are you suggesting create a "feature" issue ? |
Beta Was this translation helpful? Give feedback.
-
Cool, will do. assemblePartials() can solve some of the other request(s) / discussion(s), for example: |
Beta Was this translation helpful? Give feedback.
-
New to handlebars, so what I am asking may be already exists:
Is there a way to assemble the partials without rendering variables ?
right now, this produces "
assemble partials: p1 + p2 without rendering variables:
"is there a way to produce "
assemble partials: p1 + p2 without rendering variables: {{v1}} {{v2}}
"I know putting \ before {{ to make rendering skip it, but this is NOT as good as IF there is a function just assemble partials
Possible Syntax 1 - new method:
~ this is preferred
Possible Syntax 2 - new option for compile:
~ this doesn't feel right if rendering call includes any template variable
Beta Was this translation helpful? Give feedback.
All reactions