-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How are the Jinja email templates rendered #141
Comments
The email templates are using MJML. You can create your own at mjml.io/try-it-live I think @tiangolo included both the template and the generated HTML so we could easily modify them. |
Ooops, sorry! I thought .mjml were some raw Jinja templates that needed rendering. I guess a note in that raw .mjml folder of what these files are would be helpful. Thanks, closing this. |
Thanks for the help @michael0liver ! Also, if you use VS Code, you can try this extension: https://marketplace.visualstudio.com/items?itemName=attilabuti.vscode-mjml I wish there was a way to build MJML in Python instead of having to commit the built files, but 🤷 ...that's what we have for now. |
I see a
/backend/app/app/email-tempaltes/src
folder and a/backend/app/app/email-tempaltes/build
folder which means that the email templates are somehow rendered/compiled.Without becoming a Jinja expert (if at all possible), where is the magic happening here and how can I create my own templates...?
The text was updated successfully, but these errors were encountered: