1. Handlebars Helpers
  2. Comments

Handlebars Helpers

Comments

Add comments that will get removed during substitution. This is helpful when you need to add some comments inside your messages or prompts.
For example, you might want to add a comment to explain a specific part of the message or prompt in place.
You might also want to add a comment to remind yourself to add more information later.

Example of adding a TODO:

editor
        Hi {{stub.data.customer_fullname}}, your order has been dispatched.
{{!-- TODO add details of the full order here please --}}
Regards

      

Substituted Message

editor
        Hi Stuart Procner, your order has been dispatched.
Regards