List for cgit developers and users
 help / color / mirror / Atom feed
From: Jason at zx2c4.com (Jason A. Donenfeld)
Subject: filter rework break about page
Date: Mon, 12 Oct 2015 14:12:22 +0200	[thread overview]
Message-ID: <CAHmME9qYXNn-mLatdSXdFUWmriRT4mmcUa4VCZ4_iFpEs6oXcw@mail.gmail.com> (raw)
In-Reply-To: <20151012130514.2a10b373@leda.localdomain>

On Mon, Oct 12, 2015 at 1:05 PM, Christian Hesse <list at eworm.de> wrote:
>> [0] http://www.pell.portland.or.us/~orc/Code/discount/
>
> BTW, this brings a shared library libmarkdown.so. We could link cgit against
> that and handle markdown without external command.

Definitely not. In the first case, I wouldn't want to special case
this. Though, I wouldn't mind adding support for *yet another filter
type* - dlopen. Nonetheless, Lua serves the highspeed case rather
well. But in fact my real concern is that different sites have wildly
differing requirements on what kind of markdown they output. Github
flavored? Italics within words? Should it filter out dangerous HTML?
Etc. Too many decisions, that are best off to a tweakable script.


      reply	other threads:[~2015-10-12 12:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-11 10:06 list
2015-10-11 10:08 ` list
2015-10-11 10:22   ` jason.donenfeld
2015-10-11 10:28   ` list
2015-10-11 12:09     ` Jason
2015-10-11 16:13       ` list
2015-10-11 19:10         ` Jason
2015-10-12  9:57         ` list
2015-10-12 11:05           ` list
2015-10-12 12:12             ` Jason [this message]

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=CAHmME9qYXNn-mLatdSXdFUWmriRT4mmcUa4VCZ4_iFpEs6oXcw@mail.gmail.com \
    --to=cgit@lists.zx2c4.com \
    /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).