How to format the content of all markdown files, not just the about pages?

Christian Hesse list at eworm.de
Thu Dec 27 02:24:00 CET 2018


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>


More information about the CGit mailing list