Gnus development mailing list
 help / color / mirror / Atom feed
From: "Husain Alshehhi" <husain@alshehhi.io>
To: ding <ding@gnus.org>
Subject: Display markdown emails via markdown-mode
Date: Wed, 20 Nov 2024 19:35:33 -0600	[thread overview]
Message-ID: <87a5dtweqi.fsf@> (raw)

Hi all,

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

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

Context:

At work, there are many tools that generate all sorts of updates. I have
a process that collect these updates for me and store it as messages in
maildir format. I use markdown for the message Content-Type, and use
gnus to read these messages.


                 reply	other threads:[~2024-11-21  1:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a5dtweqi.fsf@ \
    --to=husain@alshehhi.io \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).