Grant Edwards hat am Do 27. Apr, 20:04 (+0000) geschrieben:
> On 2017-04-27, Patrick Shanahan <p...@opensuse.org> wrote:
> > * Grant Edwards <grant.b.edwa...@gmail.com> [04-27-17 11:21]:
> >> 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.
> 
> [...]
> 
> >> The question was how to do it _within_ _mutt_ instead of preparing an
> >> HTML or PDF file externally and attaching it.
> >
> > *attaching* it *is* the way "_winthin_ _mutt_".

> But it would be cleaner if there was a way within mutt to run the
> message body through such a filter to convert it into
> multipart-alternative.

That's my question, too. I thought of using the Attach pseudo header to
append the "pretty" output. The editor could run markdown or latex on
leaving and add the Attach: header with the file name. This has some flaws
like the temporary file don't get removed or running it multiple times
adds multiple attachments.

Any better ideas?

Jörg

Attachment: signature.asc
Description: PGP signature

Reply via email to