Hi,
I am trying to create an email template for sending out campaigns in AJO. I wrote some html code and tried to comment it using <!-- hello --> and it is working fine.
However when in the same html code i added a helper function <!-- {%= age(date) %} --> the comments are not working properly.
Does anyone have an idea on how we can add a comment around helper functions .Attaching screenshot for reference
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
I was able to achieve this , i checked the handlebar documentation.
Using {{!-- This comment may contain mustaches like }} --}} its possible.
Hello @arpan-garg
<!-- helper function --> is the correct. It is just that the syntax highlighting is not working in the UI.
The helper function is a server-side code and will be available in the email but will not be visible to the email recipient because it is commented out by a client-side syntax/code.
I was able to achieve this , i checked the handlebar documentation.
Using {{!-- This comment may contain mustaches like }} --}} its possible.
You can use it as follows
{{!-- {%= toHexString(158) %} --}}
Views
Likes
Replies