Re: Display markdown emails via markdown-mode

Robert Pluim <[email protected]> Fri, 22 Nov 2024 09:06:33 +0100
Newsgroups gmane.emacs.gnus.general
Message-ID <[email protected]>
>>>>> On Wed, 20 Nov 2024 19:35:33 -0600, "Husain Alshehhi" <[email protected]> said:

    Husain> Hi all,
    Husain> I have emails with Content-Type: text/markdown and I would like to view
    Husain> such emails in markdown mode somehow. Currently, when I receive such
    Husain> email, gnus/message-mode knows to identify the mime, but it displays the
    Husain> email the same way it displays text/plain.

    Husain> Ideally, I would like gnus/message-mode to process such emails the same
    Husain> way it processes html: identify the Content-Type, and send it to
    Husain> eww. For markdown, it would be through markdown-mode's live-preview,
    Husain> which displays markdown buffers in eww. Worse case scenario, I can
    Husain> convert markdown to html and open it via eww.

I think this is possible, I suggest you check (info "(emacs-mime) Display Customization")

Robert
--