From mboxrd@z Thu Jan 1 00:00:00 1970 From: list at eworm.de (Christian Hesse) Date: Thu, 27 Dec 2018 02:24:00 +0100 Subject: How to format the content of all markdown files, not just the about pages? In-Reply-To: References: Message-ID: <20181227022346.4be88c76@leda> jean-christophe manciot 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 > . > But any other markdown page is not formatted, for instance here > . > 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: