firebase / extensions

Source code for official Firebase extensions
https://firebase.google.com/products/extensions
Apache License 2.0
882 stars 372 forks source link

🐛 [Trigger Email] How to add more custom html #1929

Closed CalvinJamesHeath closed 5 months ago

CalvinJamesHeath commented 5 months ago

[REQUIRED] Step 2: Extension name

This feature request is for extension: _ (Trigger Email, etc)

What feature would you like to see?

I have already configured the templates but I also have emails that might have more or less html tags like

and

; I would like to be able to insert html just like I insert strings and numbers like {{name}} or {{age}}. Because I won't know for sure how many tags to create initially to populate.

How would you use it?

I would have a section like

{{customHtml}}
pr-Mais commented 5 months ago

Have you tried using templates? find a tutorial here, does this match your use case?

CalvinJamesHeath commented 5 months ago

The answer is to use three triple brackets as follows: {{{yourHtml}}}