Send unrendered markdown as text/plain attachment
See original GitHub issueGreat plugin, thanks a bunch. When I send email from Thunderbird after rendering with the Markdown Here add-on, the message is sent with content-type multipart/alternative. The text/html portion looks great. The text/plain portion does not look great. Here’s an example.
This markdown:
# Header 1
This is a *sentence*.
## Header 2
This is a *sentence*.
### Header 3
This is a *sentence*.
#### Header 4
This is a *sentence*.
##### Header 5
This is a *sentence*.
###### Header 6
This is a *sentence*.
Appears like so in the text/plain portion of the email:
Header 1
This is a *sentence*.
Header 2
This is a *sentence*.
Header 3
This is a *sentence*.
Header 4
This is a *sentence*.
Header 5
This is a *sentence*.
Header 6
This is a *sentence*.
Could you add the option of sending the unrendered mardown as the text/plain portion of the email? Since it looks better than the text/plain portion above, please consider making that the default.
Issue Analytics
- State:
- Created 10 years ago
- Reactions:3
- Comments:6 (2 by maintainers)
Top Results From Across the Web
How do you display a section of plain text in GitHub markdown?
I am learning GitHub markdown. I would like to show some example code that contains fake email address like user@example.com .
Read more >RFC 7764 – Guidance on Markdown - Hacker News
We render each through liquid, then send the resulting markdown in the text/plain part, and render it with redcarpet and github's sanitizer ...
Read more >Getting Started | Markdown Guide
Markdown is a lightweight markup language that you can use to add formatting elements to plaintext text documents. Created by John Gruber in...
Read more >How to use the mailmerge.template_message ... - Snyk
--boundary Content-Type: text/plain; charset=utf-8 Hello Laȝamon --boundary ... Message should contain an unrendered Markdown plaintext part and a ...
Read more >Mailman 3 org-mode README file formats - Distutils-SIG - python.org
If it is an Emacs thing then I would vote "no" since that's very editor-specific and I suspect trying to support every plaintext...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
👍 on this feature being implemented.
In a MIME email everything is a “part”, including the
text/plain
part that is usually displayed when ignoringtext/html
parts, correct? The only difference between it appearing as an attachment or as part of the email’s text is how it is flagged?Under that condition, I think this would be a great idea and also allow clients like KMail, which understand Markdown natively, allow to display the plain text part beautifully, while ignoring the
text/html
part.