text/html; vimprobtab.sh %s &; test=test -n "$DISPLAY"; needsterminal;
text/html; w3m -I %{charset} -T text/html; copiousoutput;
The first entry tests that X is running, and if it is, it hands the file to vimprobable. The default, however, is determined by the copiousoutput tag. So, in mutt it is just a matter of hitting v to view the attached HTML and then m to send it to mailcap
This project provides CSS files and a template for using Pandoc Pandoc is a “universal document converter.” It is particularly good at generating HTML and LaTeX\LaTeXLATEX from Markdown.
to generate standalone HTML files. It supports most features Pandoc Markdown has to offer, and some extras. The default look can be tweaked via CSS variables, and it does not need JavaScript, even for side notes.
G. Vaswani, P. Punjabi, and A. Chotrani. International Journal on Recent and Innovation Trends in Computing and Communication, 3 (1):
284--287(January 2015)