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=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham 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 E7546225BF for ; Fri, 22 Nov 2024 09:07:08 +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 1tEOgs-0000000H29Q-422T for ml@inbox.vuxu.org; Fri, 22 Nov 2024 02:07:04 -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 1tEOgr-000000078yF-2USy for ml@inbox.vuxu.org; Fri, 22 Nov 2024 02:06: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 1tEOgj-000000078y6-2CLJ for ding@lists.math.uh.edu; Fri, 22 Nov 2024 02:06: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 1tEOge-0000000FzkL-3G8o for ding@lists.math.uh.edu; Fri, 22 Nov 2024 02:06:49 -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:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=66kLnynAZcpq6A2eZcgjvXExTS0l+TjIk5KU8cU7d6w=; b=a909QBM/vQqp1vFVVvTKY67KcR DNm7a2Dhm2s7cY2l7bJ7GcBJWDjMtobyEaniofyujOONdfw3xnEYlNzNDOLdJW0XwE9sXaFmRZNSj 3KVjMRTEUJP64mVgdglIpLyiUh9LVAXVFLdu/MTZkrUP6qw792dH8jAxboP4Pn2AA5oE=; Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1tEOgX-0002Jl-TS for ding@gnus.org; Fri, 22 Nov 2024 09:06:40 +0100 Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-53d9ff92edaso2043788e87.1 for ; Fri, 22 Nov 2024 00:06:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732262796; x=1732867596; darn=gnus.org; h=mime-version:message-id:date:gmane-reply-to-list:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=66kLnynAZcpq6A2eZcgjvXExTS0l+TjIk5KU8cU7d6w=; b=E190SEM9Du46D+LsITfEcWYu2+ywqL6nTiHqB1WKFwIAFxz1h+Veqy4ODIkgHr7Z8m 2ia+/Tt9k7ScspvbuwL3gM7CbG1Jb3eQU7XhHueL2c1TwTv/oUpXyZprH9YJd7i4R46e I63S8nvdu/GlMbOKJoLJpxTToB6aEm5YrhdbaA2STVFN6uUtaGVWdTQNqMe5dRcBWQk8 DMeCW+5njEoHVjw3bEXC1OFF8ZJwVal3FcqsXD+QatN3heY1+Lki+DhIqoyfGGtw6wt1 O+MHWdLXzZcQd5PbZm85pZiXN4ve9wJj5xDY2aurUDjB/3ir/GO136tHkm8fsQb6SLst prIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732262796; x=1732867596; h=mime-version:message-id:date:gmane-reply-to-list:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=66kLnynAZcpq6A2eZcgjvXExTS0l+TjIk5KU8cU7d6w=; b=jCYij50M7LO4mt4Yu+6cuiak9GLI2moGjvhPrD6+CsvLw3f9IJwE/YxH3RoG5XwyAZ h2NQgyB9qrZtDTz7rlAw7S6VTeQYxPdfozls5+3o0NDJ7JiHnl7EyGq+0opyTaxPknY6 M2exyGOXPxaUHJoqynfIsM4x3fR+VmYI0cOwgd1A7LB7Xn4EVEUTld/uS59PwIKSIvd9 aoffb4/UKzHF6yvjEp5P+ScBU4m3duR485tFqaf4Dx46UV8IF2h9yZ6cuMcxvoNgVetF 5JNGh01I4G3YmBtYYABDxCP2hg13JSOIAG8AHTUYlhHTolenRi+6JIo0A044QV5xDkUL 2+JA== X-Gm-Message-State: AOJu0YxIwAo8EZ1ylPaywfeui4P6wGX2v6Yij0c81y6MEgBwend6EbvC f5JdlO2LVUR4+3W/naeTuoMQ7qWUVmaAv8i4Jzob5c0RdsQ4VB9g54fmnA== X-Gm-Gg: ASbGnctY2UteXkZW5vT0k2x+HU2KSUOtVKDk9MWOG4tkVB5bYsOAvP2Bv5FWwZmGTk9 +Lkq2beLA2/W2bva/oTilQ8aymGKwadUsc1uW090jYLVGLC1lbEzz/2xrHlE9W868jZ38G6Ukzq 9whXbHhbx91B+NPqwzT9LrMVJsCLPGdzy9bwr6S0FBt1prWEp8QUv8aljfgkGELAMzd7EM7v851 6eHeNul3I3D5z/HqSNVCpyuNXEZit5x2g7LIg== X-Google-Smtp-Source: AGHT+IFvKNmwd3p8Ap5xvyZkWtChOSVw5SFT4/bqwZfhy0qWTX89OwObKq0GDnWI28bw6LFGbK9Z2g== X-Received: by 2002:a05:6512:3d93:b0:53c:6999:1782 with SMTP id 2adb3069b0e04-53dd39b2d27mr825007e87.37.1732262795302; Fri, 22 Nov 2024 00:06:35 -0800 (PST) Received: from rltb ([2a01:e0a:3f3:fb51:6fc5:d3ce:594c:728d]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433cde8fcdfsm18789365e9.32.2024.11.22.00.06.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Nov 2024 00:06:34 -0800 (PST) From: Robert Pluim To: "Husain Alshehhi" Cc: ding Subject: Re: Display markdown emails via markdown-mode In-Reply-To: <11609.6634463005$1732153019@news.gmane.org> (Husain Alshehhi's message of "Wed, 20 Nov 2024 19:35:33 -0600") References: <11609.6634463005$1732153019@news.gmane.org> Gmane-Reply-To-List: yes Date: Fri, 22 Nov 2024 09:06:33 +0100 Message-ID: <87wmgvwv3q.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk >>>>> On Wed, 20 Nov 2024 19:35:33 -0600, "Husain Alshehhi" 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 --