Rendering HTML as Markdown in mutt (was: Creating HTML emails with mutt)
martin f krafft
madduck at madduck.net
Thu Oct 31 23:21:15 UTC 2019
Regarding the following, written by "Derek Martin" on 2019-10-31 at 15:39 Uhr -0500:
>And FWIW, I *was* discussing (very limited, completely text-based)
>support for HTML messages in Mutt. I want it, have wanted it for a
>long time, because all of the available options for dealing with it
>have serious drawbacks at least some of the time.
Hey Derek,
Could you please elaborate a bit on what you're missing?
With `auto_view text/html` and adding
[`~/.mutt/mailcap.htmldump`](https://git.madduck.net/etc/mutt.git/blob_plain/HEAD:/.mutt/mailcap.htmldump)
to your `muttrc`'s `mailcap_path` setting, and then dropping
[`~/.mutt/htmldump`](https://git.madduck.net/etc/mutt.git/blob_plain/HEAD:/.mutt/htmldump)
in place, along with
[`python-html2text`](https://pypi.org/project/html2text/), and you
should get Markdown, more or less, which is precisely what it was
designed for.
--
@martinkrafft | https://riot.im/app/#/room/#madduck:madduck.net
i welcome your constructive criticism and corrections.
spamtraps: madduck.bogus at madduck.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20191101/b76c2859/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 1118 bytes
Desc: Digital GPG signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20191101/b76c2859/attachment.asc>
More information about the Mutt-users
mailing list