List for cgit developers and users
 help / color / mirror / Atom feed
From: andy at warmcat.com (Andy Green)
Subject: Render markdown files in tree view
Date: Wed, 14 Dec 2016 21:39:46 +0800	[thread overview]
Message-ID: <1481722786.2279.40.camel@warmcat.com> (raw)

Hi -

Thanks to John and Lukasz on the tree view rendering patches.  I joined
the list just now to ask about it and saw the recent posts.

After screenscraping and updating a little John's patches against HEAD:
they seem to work OK for me.  That's no ding on Lukasz's patches, I
don't know enough about cgit internals to make an informed choice, I
just picked John's on the basis they had been around longer.

I basically had to append:

render.md=/usr/lib/cgit/filters/about-formatting.sh

to the config and I could see rendered .md in tree view.

So I wanted to relate my experience and gently encourage the maintainer
to include some implementation of this valuable feature.  It basically
allows nice generic documentation and "git based wiki" without any
special support over just having cgit anyway.  "Culturally" in-tree
markdown docs have become a thing thanks to github, this is a small
additional feature but it goes quite a long way with enabling that for
sites using cgit.

-Andy


             reply	other threads:[~2016-12-14 13:39 UTC|newest]

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

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=1481722786.2279.40.camel@warmcat.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).