List for cgit developers and users
 help / color / mirror / Atom feed
From: list at eworm.de (Christian Hesse)
Subject: How to format the content of all markdown files, not just the about pages?
Date: Thu, 27 Dec 2018 02:24:00 +0100	[thread overview]
Message-ID: <20181227022346.4be88c76@leda> (raw)
In-Reply-To: <CAKcFC3ZM3vQ8voYD7K7OqO0WPgw5G7gpZixVXU+L-8W7TaCYmQ@mail.gmail.com>

jean-christophe manciot <actionmystique at gmail.com> on Sun, 2018/12/23 15:25:
> Hi there,
> with the following setup, no markdown file is correctly formatted besides
> the about pages:
> *cgit 1.2.1-14-g55ebd5e*
> *git 1:2.20.1-1*
> in */etc/cgitrc*:
> -------------------------------------------------------------------------------------------------
> # Format markdown, restructuredtext, manpages, text files, and html files
> # through the right converters
> about-filter=/usr/local/lib/cgit/filters/about-formatting.sh
> 
> ## Search for these files in the root of the default branch of repositories
> ## for coming up with the about page:
> readme=:README.md
> -------------------------------------------------------------------------------------------------
> 
> The about pages are perfectly formatted, for instance here
> <https://git.sdxlive.com/DR/about/>.
> But any other markdown page is not formatted, for instance here
> <https://git.sdxlive.com/DR/tree/KVM-and-Manager/README.md>.
> Am I missing something or is this a missing feature?

Use the correct url and everything is formatted just fine:

https://git.sdxlive.com/DR/about/KVM-and-Manager/README.md
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20181227/d1fd8de4/attachment.asc>


  parent reply	other threads:[~2018-12-27  1:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-23 14:25 actionmystique
2018-12-23 15:43 ` john
2018-12-27  1:24 ` list [this message]
     [not found]   ` <CAKcFC3a5jFWveNEuC541we-_HAHKaBWqH3U_VVTu=qYR0yTriA@mail.gmail.com>
2018-12-28  9:15     ` actionmystique

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=20181227022346.4be88c76@leda \
    --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).