3 ms·
How about using Pandoc[0] as part of your wrapping pipeline? It supports the full round trip between markdown, HTML, and back. Seems like this would be a perfec
by chongli 10y ago
How about using Pandoc[0] as part of your wrapping pipeline? It supports the full round trip between markdown, HTML, and back. Seems like this would be a perfect use case for it.
[0] http://pandoc.org http://pandoc.org
- RaitoBezarius 10y agoThis is insanely brilliant. I am now happy to use Mutt again.
- nextos 10y agoYeah, I came here to suggest pandoc too. You can easily script mutt to include a plaintext file and an html one generated by pandoc, so that people reading your emails can fall back to a plain text version of your mails in case they can't view html.
- atsaloli 10y agoIf you folks have already done the legwork on this, could you please publish your setup?
- tome 10y agoYes please! This sounds intriguing. I send plain text only from mutt but including HTML from Markdown via Pandoc would be very cool.
- tmerse 10y agoHere is what I use. # convert markdown to html via pandoc # https://unix.stackexchange.com/questions/108485/send- email-written-in-markdown-using-mutt macro compose \e5 "F pandoc -s -f markdown -t html \ny^T^Utext/html; charset='utf-8'\n"
- atsaloli 10y agoThanks!