shownotes-w3m-rice/mutt_html_rendering.md
2015-12-18 17:52:11 -08:00

1.4 KiB

Mutt HTML Rendering for CLI and GUI

Preview and Render HTML emails, both in commandline or in a GUI web browser

  • tutorial video: Link
  • offical website: Link

install requirements

mutt

muttrc

vim ~/.muttrc

# open in gui browser: hit "v" then go down to text/html then hit "m"
bind attach <return> view-mailcap
auto_view text/html                                      # view html automatically
alternative_order text/plain text/enriched text/html     # list html for last

mailcap

vim ~/.mailcap

# text/html; chromium %s &; test=test -n "$DISPLAY"; needsterminal;
# text/html; w3m -I %{charset} -T text/html; copiousoutput;
text/html; "$BROWSER" %s &; test=test -n "$DISPLAY"; needsterminal;
text/html; "$BROWSERCLI" -I %{charset} -T text/html; copiousoutput;

references

contact

             _   _     _      _         
  __ _  ___ | |_| |__ | | ___| |_ _   _ 
 / _` |/ _ \| __| '_ \| |/ _ \ __| | | |
| (_| | (_) | |_| |_) | |  __/ |_| |_| |
 \__, |\___/ \__|_.__/|_|\___|\__|\__,_|
 |___/