From mboxrd@z Thu Jan 1 00:00:00 1970 From: john at keeping.me.uk (John Keeping) Date: Sun, 23 Dec 2018 15:43:38 +0000 Subject: How to format the content of all markdown files, not just the about pages? In-Reply-To: References: Message-ID: <20181223154338.GB6168@john.keeping.me.uk> On Sun, Dec 23, 2018 at 03:25:00PM +0100, jean-christophe manciot wrote: > 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? It's not supported at the moment, although there have been various patches posted to add support for rendered content in the tree view. The most recent thread ends about here with a summary of the changes needed to move forward: https://lists.zx2c4.com/pipermail/cgit/2018-July/004127.html I'd forgotten that this is still unresolved, so I may see if I have time to pick it up again between now and the new year. Regards, John