##this is used when (v)iewing a text/html attachment:
##allowing you to browse and "click" links
##order matters the first entry which passes the test is used
#gui browser if $DISPLAY is set
text/html; conkeror %s &; test=test -n "$DISPLAY"; nametemplate=%s.html
#text browser otherwise
text/html; w3m -v -F -T text/html %s; nametemplate=%s.html; needsterminal
##auto_view will use the entry with the copiousoutput part:
text/html; lynx -stdin -dump -force_html -display_charset utf-8 ; copiousoutput
image/*; feh --magick-timeout 1 %s
application/pdf; llpp %s