From: Emanuel Berg <incal@dataswamp.org>
To: ding@gnus.org
Subject: Re: markdown washing?
Date: Thu, 22 Dec 2022 11:24:59 +0100 [thread overview]
Message-ID: <871qorenwk.fsf@dataswamp.org> (raw)
In-Reply-To: <87fsd7zqlg.fsf@ucl.ac.uk>
Eric S Fraga wrote:
>> On other hand watch about rendering the markdown inside the
>> email instead?
>
> That is what washing does essentially? But, in any case, any
> suggestions on how to do this?
Don't follow what kind of stuff you guys wash but I do this:
(defun gnus-article-wash-more ()
(article-translate-strings
'(
("#+begin_quote\n" "")
("#+end_quote\n" "")
("#+begin_src emacs-lisp\n" "")
("#+begin_src r\n" "")
("#+end_src\n" "")
("--8<---------------cut" "")
("here---------------end--------------->8---" "")
("here---------------start------------->8---" "")
("Sendt fra min iPad" "")
("Sent using Zoho Mail" "")
("Skickades från E-post för Windows 10" "")
("Skickat från Yahoo Mail för iPhone" "")
("naïve" "naive")
("ʼ" "'")
("⇒" "→")
("➜" "→")
("⟦" "[")
("⟧" "]")
("> > > >" ">>>>")
("> > >" ">>>")
("> >" ">>")
("colour" "color")
("・" "·")
(" " " ")
))
(gnus-article-strip-multiple-blank-lines) )
(defun gnus-article-prepare-hook-f ()
(gnus-with-article-buffer
(gnus-article-wash-more) ))
(add-hook 'gnus-article-prepare-hook #'gnus-article-prepare-hook-f)
--
underground experts united
https://dataswamp.org/~incal
next prev parent reply other threads:[~2022-12-22 10:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-21 13:39 Fraga, Eric
2022-12-21 16:33 ` Björn Bidar
2022-12-22 10:21 ` Eric S Fraga
2022-12-22 10:24 ` Emanuel Berg [this message]
2022-12-22 15:02 ` Eric S Fraga
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=871qorenwk.fsf@dataswamp.org \
--to=incal@dataswamp.org \
--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).