Content-Type in mail header should contain "markup=markdown"

AI-generated summary

A feature request has been made to include “markup=markdown” in the Content-Type mail header, allowing mail clients to properly render Markdown emails. hmpffff initially suggested this change to enable their mail client, MailMate, to display Markdown emails correctly. sam agreed it was a good idea, and hmpffff inquired about the implementation timeline. After some time, hmpffff and hmpffff expressed frustration that the feature had not been implemented, emphasizing its necessity for sending Markdown emails. sam eventually provided the relevant GitHub code line and invited hmpffff to submit a pull request to implement the change.

Moin,
the mails from Discourse groups are missing the hint, that they contain Markdown. So my mail client shows me only the plain text, without rendering the as markdown. The simple solution would be to extend the content type from
Content-Type: text/plain; charset=UTF-8
to
Content-Type: text/plain; charset=UTF-8; markup=markdown

pleasepleaseplease… :slight_smile:

–
Best regards
hmpffff

2 Likes

I think this is a fine feature request, we always put markdown in the text, the extra hint in the mime type sounds like a good idea.

1 Like

When can we hope that it will be implemented?

And thanks in advance

For testing: The mail client I use is MailMate. For Thunderbird there is an MD addon (Markdown-here). AirMail can use MD and I don’t know any others at the moment.

–
Best regards
hmpffff

Is there still hope that it will be implemented? This was supposed to be a one-liner, wasn’t it? :slight_smile:

It is a real pity that this low-hanging fruit is not being implemented. :confused:

IMHO, it is even necessary that Markdown text in mails be appropriately marked up.

The lack of this markup makes the feature of sending mails with MD completely absurd. :frowning:

The line is here:

Feel free to send a PR that will sort it out, but be sure to run the test cases, a bunch probably needs changing.

1 Like