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