On 27.04.17 09:21, Darac Marjal wrote: > On Wed, Apr 26, 2017 at 08:54:45PM +0000, Grant Edwards wrote: > > OK, so how does one do that within mutt? > > I would suggest that the most prudent approach is to use a lightweight > markup language (LML). LMLs tend to be designed such that, while they > CAN be rendered into a presentation form, the source code is also > (relatively) legible. > > So, let's say I wanted to write something in bold.
Ahem, message composition is performed in the editor, either vim or emacs for the majority of mutt users, I expect. And vim is latex-friendly (Try :help latex). Then there's the vim-markdown plugin if that's preferred. Either way, format faffing is exclusively editor work. It has nothing to do with the lid on the SMTP pipe - the MUA. That deals with composed messages - it should not recompose them in transit. > In HTML that could be <span style="font-weight:bold">bold</span. In > LaTeX, it would be \textbf{bold}. But in markdown, it's simply > **bold**. > > A good LML would have a MIME type associated with it (I see that > markdown does, but reStructuredText doesn't, for example), so it can > either be viewed (as source) in the pager or rendered (as presentation > form) by a mailcap entry. Is it necessary to send the body as an attachment in order to awaken that mime stuff? When I had to pretty-font a report for management over a decade ago, I composed it in vim, then performed a fontification in openoffice, and gave them a M$-compatible attachment. Problem fixed. Erik -- HTML is not email, and email doesn't contain HTML, so please turn HTML formatting OFF in your email client. We have filters in place that will reject your message if your posting contains HTML. - http://gpl-violations.org/mailinglists.html