Custom notmuch-show for html?

Subject: Custom notmuch-show for html?

Date: Sun, 23 Jul 2017 08:57:16 -0700

To: notmuch@notmuchmail.org, notmuch@freelists.org

Cc:

From: William Casarin


Hey there,

I would like to never use emacs' slow html renderer when viewing
html-only email. What I want to do is pipe the html through:

  pandoc -f html -t plain

and then show the output of that. Right now I can do this with `. |` but
I can only do this after I open the email, which is not ideal.

What would be the best way to accomplish this?

Thanks!

Thread: