Export to html should contain parameters #1504
TomEngelmann
started this conversation in
Ideas
Replies: 1 comment
-
I was just looking for something similar, great idea |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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