On 2017-04-27, Darac Marjal <mailingl...@darac.org.uk> 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. 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**.
Yes, I've been using Tex/LaTeX for 25+ years, various roff flavors for 30+ years, as well as asciidoc, markdown, and re-strucutred text for not-quite-as-many years. > 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. The question was how to do it _within_ _mutt_ instead of preparing an HTML or PDF file externally and attaching it. -- Grant Edwards grant.b.edwards Yow! When this load is at DONE I think I'll wash it gmail.com AGAIN ...