Mailcap for .docx files (using docx2txt or similar)

Chinmaya Nagpal chinmaya1011 at gmail.com
Fri Jan 22 12:54:22 UTC 2021


On Fri, Jan 22, 2021 at 12:35:46PM +0000, Chris Green wrote:
> So, it would be handy to have mutt configured to use one to view .docx
> files.  I'm sure somebody must have done this already so what does the
> ~/.mailcap entry have to look like?

This works for pandoc:  
application/vnd.openxmlformats-officedocument.wordprocessingml.document; pandoc --from docx --to markdown %s; copiousoutput

Source:  
https://raymii.org/s/articles/Viewing_PDF_docx_and_odt_files_in_Mutt.html


More information about the Mutt-users mailing list