Allowing users to insert custom template content


Is anyone familiar with a tutorial or process on how to allow users to insert snippets of personalized code?

Every email app lets you insert custom snippets of personalized content for first name, etc. They use different conventions do this, like the {{ ... }} convention that Blaze uses, but the concept is the same.

Are there tutorials or resources on how to build out this functionality?



It’s just a regex match & replace on a string. What do you find complicated ?


Ah, that makes sense. I’ll give that a shot. Just didn’t know what was the right way to go about it. Thanks!