Export to html should contain parameters #1504
TomEngelmann
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Goals
Background
Currently I have to work with a backend that sends emails using the GoLang text/template library to parse html files along with some data.
It is basically the same procedure as the react email example with e.g. Nodemailer
However, if I try to export this piece of code:
it will be exported to the following html, leaving the parameter out:
Therefore it does not contain the parameter which was defined in the javascript code.
Feature wish
The export includes an option to export it without a comment but instead with the parameter like:
Unfortunately, without this option it requires a lot of manual for our team.
Proposal
Instead of replacing the parameters with a comment, the parameter could be written with this syntax {{.PARAMETER}}
Beta Was this translation helpful? Give feedback.
All reactions