HyphaApp / hypha

Submission management software for open calls
https://www.hypha.app
BSD 3-Clause "New" or "Revised" License
67 stars 38 forks source link

Update email templates to use markdown rendering #3951

Open theskumar opened 1 month ago

theskumar commented 1 month ago

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

Priority

Affected roles

Ideal deadline

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