From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INVALID_MSGID, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=no autolearn_force=no version=3.4.4 Received: from mx1.math.uh.edu (mx1.math.uh.edu [129.7.128.32]) by inbox.vuxu.org (Postfix) with ESMTP id 18CC02FDF0 for ; Thu, 21 Nov 2024 02:36:07 +0100 (CET) Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1tDw6w-0000000G2Xx-2uO7 for ml@inbox.vuxu.org; Wed, 20 Nov 2024 19:36:03 -0600 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.97.1) (envelope-from ) id 1tDw6v-000000076eP-0bYe for ml@inbox.vuxu.org; Wed, 20 Nov 2024 19:35:57 -0600 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.97.1) (envelope-from ) id 1tDw6s-000000076eG-0tHG for ding@lists.math.uh.edu; Wed, 20 Nov 2024 19:35:54 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1tDw6i-0000000F0BZ-3Glm for ding@lists.math.uh.edu; Wed, 20 Nov 2024 19:35:54 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=lgWFPaWPdqx7Ypy3fHAkMTnxjaI1VqAO5X1+50q1piM=; b=ti/m3QVZsuzSGkfBzKjmSTdxxb qu46u/ALxYJLTg9YG0ISZc+jRAVfT+OiB3cnXOurkHfWioltBqmG8EYbB2fMbpap43FWJbQrwodDm UR4jStAMghQx41R8F1t3/iBA2fhWWLIyg195ryj8e+vLjQAX/kceN9xZUlOXIJaqkohc=; Received: from fout-a7-smtp.messagingengine.com ([103.168.172.150]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tDw6a-0001Bm-MW for ding@gnus.org; Thu, 21 Nov 2024 02:35:40 +0100 Received: from phl-compute-09.internal (phl-compute-09.phl.internal [10.202.2.49]) by mailfout.phl.internal (Postfix) with ESMTP id 34A4E13806B7 for ; Wed, 20 Nov 2024 20:35:35 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-09.internal (MEProxy); Wed, 20 Nov 2024 20:35:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alshehhi.io; h= cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm1; t=1732152935; x=1732239335; bh=lgWFPaWPdqx7Ypy3fHAkMTnxjaI1VqAO 5X1+50q1piM=; b=F+5FhFUDYJiUaoT0EkkTdcvLwb/2t/uL8mRczY9Hxquw4nEg KQsMXAiJ4Jn4cCkXe8L+XhzLJX4BIcnfs16kXKFWQV6yce9OyTXSf82UMWh2LRHn RSwTOX4SBfxNbieOzwPgqlTZsyB6F0DbpzxqELHi3kTN48FJ0wz54fn5OgbVs4fK 7M355iQryvRpD13o9/dfpRCmoF4xDdh+s81sClwNw/fX/NkZBi0CTlyb0uQtiEgQ R+ftl+d0FHxxqkRLPQ83uZA8GaS4r3FEIt1HJULSQHiMsplGOVpwW6NVhxLmvoQ8 2pdxKMvbVv4w+BxCCG6k/qDzEacFmjPt8GV/Gg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1732152935; x= 1732239335; bh=lgWFPaWPdqx7Ypy3fHAkMTnxjaI1VqAO5X1+50q1piM=; b=k qG/KUzQ0u489ZxSW23DQ3fFuxzbgc+WaClgD8Jmbzr6d2urWf6gq7ikAJej9CSnv EeEL2x/V7Xa5gRNRoa6W90BX2w5FXZ4aRSJkxti8lrAjKPPFIJCRHfPPBdGJNZ1+ tYEH/9TjQdIgBXTd1AfvrVbaDiyL3MFueRjQtAOp632bRu0ZPwOj6BiID6AdEutn zOnw5LD7HlM1Bj71F7d1tL4PGYbpt2wu1qmYJeFvB+Wp8gAGFwx+gv7tv8e+yq0n zlCidBYNTq2eDJvnU36EeHCILA0IV2jvxmkyi1NO076/iihAwCXZFGUIDMBKV8sk ONbjtjmH89FAg/c4EABUA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrfeehgdefiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkf gfgggtsehttdertddtredtnecuhfhrohhmpedfjfhushgrihhnucetlhhshhgvhhhhihdf uceohhhushgrihhnsegrlhhshhgvhhhhihdrihhoqeenucggtffrrghtthgvrhhnpeelud ehfeeigeevheelveevudejveetudegleejgedtgfekhffggfekgeekieekudenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehhuhhsrghinhesrg hlshhhvghhhhhirdhiohdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhht pdhrtghpthhtohepughinhhgsehgnhhushdrohhrgh X-ME-Proxy: Feedback-ID: ic2a949cb:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 20 Nov 2024 20:35:34 -0500 (EST) From: "Husain Alshehhi" To: ding Subject: Display markdown emails via markdown-mode Date: Wed, 20 Nov 2024 19:35:33 -0600 Message-ID: <87a5dtweqi.fsf@> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk 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.