Hello Peng, While this might not be the answer for how to use pandoc, it is an answer to the question in the subject, so I hope it's right.
I'm the author of https://github.com/amitramon/plainMail2HTML - this is a simple tool that allows for generating HTML mime part from any email sent from Mutt. Perhaps you'll find it useful. Cheers, Amit Peng Yu <pengyu...@gmail.com> [2021-02-07 09:26 -0600]:
Hi, https://unix.stackexchange.com/questions/108485/send-email-written-in-markdown-using-mutt I see the following muttrc command is used to compose an HTML message on the above URL. I just want to inspect the mime message in the command line without using the GUI. macro compose \e5 "F pandoc -s -f markdown -t html \ny^T^Utext/html; charset=utf-8\n" set wait_key=no Could anybody let me know how to create the mime message using mutt given an html file already generated by pandoc from markdown? I understand "html; charset=utf-8" is to set the following Content-Type. Content-Type: text/html; charset=UTF-8 But what does "y^T^U" do? -- Regards, Peng
--