Skip to content
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

Update email templates to use markdown rendering #3951

Open
theskumar opened this issue May 29, 2024 · 0 comments
Open

Update email templates to use markdown rendering #3951

theskumar opened this issue May 29, 2024 · 0 comments
Labels
Type: Enhancement This is an improvement of an existing thing (not a new thing, which would be a feature).

Comments

@theskumar
Copy link
Member

theskumar commented May 29, 2024

Is your feature request related to a problem? Please describe.

Using plain text emails have a lot of limitation around formatting, esp. since the some of content in emails are CMS provide (e.g. extra content for applicant when the application is submitted).

In development, controlling the whitespace rendering is bit of pain.

Is your feature request related to an existing functionality? Please describe.

Sending emails out from Django

Describe the solution you'd like

We keep the same template but pass them over to a markdown renderer to generate a html version, and keep the text version for plain-text. Given markdown is plain-text friendly, you get the best of both the worlds.

Describe alternatives you've considered

  • Separate html template and plain text template, this doesn't work well given some of the content in the email is CMS generated.

Priority

  • Low priority (annoying, would be nice to not see)

Affected roles

  • Staff
  • Applicants
  • Reviewers
  • Partners
  • Developers
  • General public

Ideal deadline

Date when you'd like to see this accomplished and a reason, if appropriate.

@theskumar theskumar added the Type: Enhancement This is an improvement of an existing thing (not a new thing, which would be a feature). label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement This is an improvement of an existing thing (not a new thing, which would be a feature).
Projects
None yet
Development

No branches or pull requests

1 participant