List for cgit developers and users
 help / color / mirror / Atom feed
From: john at keeping.me.uk (John Keeping)
Subject: Render markdown files in tree view
Date: Thu, 8 Dec 2016 20:18:21 +0000	[thread overview]
Message-ID: <20161208201821.GA30275@john.keeping.me.uk> (raw)
In-Reply-To: <1481209561.3802441.812683353.7B835337@webmail.messagingengine.com>

On Thu, Dec 08, 2016 at 04:06:01PM +0100, Lukasz Janyst wrote:
> First of all, thanks for all the great work on cgit. Awesome stuff!
> 
> In my setup, I like to have the markdown files in the repos rendered as
> HTML instead of having them highlighted as code. Turns out it's fairly
> easy to achieve using filters. I attach the necessary patches. Feel free
> to commit if you think they are generally useful.

In relation to the first patch specifically, I posted a more
comprehensive series a couple of months ago following a request on the
list, the thread starts here:

	https://lists.zx2c4.com/pipermail/cgit/2016-September/003289.html

Does that series work for your use case?  I think your patch will break
rendering for genuine source code and that remains a key use case for
CGit.


  reply	other threads:[~2016-12-08 20:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-08 15:06 lukasz
2016-12-08 20:18 ` john [this message]
2016-12-08 22:53   ` lukasz
2016-12-14 13:39 andy

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=20161208201821.GA30275@john.keeping.me.uk \
    --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).