Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Damien Collard <damien.collard@distfp.net>
To: "Fraga\, Eric" <e.fraga@ucl.ac.uk>
Cc: "info-gnus-english@gnu.org" <info-gnus-english@gnu.org>
Subject: Re: Treat article body iff header matches predicate?
Date: Fri, 22 Mar 2019 08:49:00 +0100	[thread overview]
Message-ID: <m2bm23pcwj.fsf@gandi.net> (raw)
In-Reply-To: <87a7hpixye.fsf@ucl.ac.uk> (Eric Fraga's message of "Wed, 20 Mar 2019 11:31:38 +0000")

Hello,

Here's version 0.0.2 of the Discourse Article treatment. It's far from
perfect but I find it pretty usable already:

https://github.com/damiencollard/discourse-article

It adds the following treatments (each controlled separately, see group
`discourse-article`):

 * Code + Paragraphs : separate fenced code blocks into their own
   paragraphs and fillwrap non-code paragraphs.

 * Prettify Discourse links from `[label](url)` to highlighted and
   clickable `label`.

 * Prettify the previous replies at the bottom of e-mails (provided you
   enabled this setting in your Discourse forum account).
 
(See screenshot at the above URL.)

Comments welcome!

-- 
Damien


  parent reply	other threads:[~2019-03-22  7:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-20 10:30 Damien Collard
2019-03-20 11:31 ` Fraga, Eric
2019-03-20 12:25   ` Damien Collard
2019-03-20 14:04     ` Fraga, Eric
2019-03-22  7:49   ` Damien Collard [this message]
2019-03-22  8:15     ` Adam Sjøgren
2019-03-22  8:51       ` Damien Collard
2019-03-22 12:46       ` Damien Collard
2019-03-22 18:05         ` Adam Sjøgren

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=m2bm23pcwj.fsf@gandi.net \
    --to=damien.collard@distfp.net \
    --cc=e.fraga@ucl.ac.uk \
    --cc=info-gnus-english@gnu.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).