Re: [PATCH 1/1] filters: generate anchor links from markdown

2018-08-25 Thread Jason A. Donenfeld
Sounds pretty useful and hard to see downsides, then. Feel free to queue this up in a for-jason. ___ CGit mailing list CGit@lists.zx2c4.com https://lists.zx2c4.com/mailman/listinfo/cgit

Re: [PATCH 1/1] filters: generate anchor links from markdown

2018-08-25 Thread John Keeping
On Sat, Aug 25, 2018 at 11:11:39AM -0600, Jason A. Donenfeld wrote: > The effect is just anchor links, but it doesn't add an actual ToC, right? >From the docs [0], it looks like it will add an actual ToC if you have a placeholder in the document to request one. But if you don't have that, then

Re: [PATCH 1/1] filters: generate anchor links from markdown

2018-08-25 Thread Jason A. Donenfeld
The effect is just anchor links, but it doesn't add an actual ToC, right? ___ CGit mailing list CGit@lists.zx2c4.com https://lists.zx2c4.com/mailman/listinfo/cgit

Re: The logo of the about page is never shown although it is displayed on all other pages

2018-08-25 Thread jean-christophe manciot
Something strange happened. I played with some settings to find a workaround, and the issue vanished suddenly: I was careful about the a 'cache-about-ttl=1' parameter to make sure the cache was not involved in this. I refreshed the about page several times during a few mins, but the issue was

Re: [PATCH 1/1] filters: generate anchor links from markdown

2018-08-25 Thread Christian Hesse
John Keeping on Sat, 2018/08/25 10:45: > > diff --git a/filters/html-converters/md2html > > b/filters/html-converters/md2html index ebf3856..dc20f42 100755 > > --- a/filters/html-converters/md2html > > +++ b/filters/html-converters/md2html > > @@ -3,6 +3,7 @@ import markdown > > import sys > >

Re: The logo of the about page is never shown although it is displayed on all other pages

2018-08-25 Thread John Keeping
On Sat, Aug 25, 2018 at 09:41:44AM +0200, jean-christophe manciot wrote: > I use *v1.2.1* with the patch regarding the table of contents > > . > I have the following setup:

Re: [PATCH 1/1] filters: generate anchor links from markdown

2018-08-25 Thread John Keeping
On Fri, Jul 13, 2018 at 09:48:27PM +0200, Christian Hesse wrote: > From: Christian Hesse > > This makes the markdown filter generate anchor links for headings. > > Signed-off-by: Christian Hesse > --- > filters/html-converters/md2html | 17 +++-- > 1 file changed, 15

The logo of the about page is never shown although it is displayed on all other pages

2018-08-25 Thread jean-christophe manciot
I use *v1.2.1* with the patch regarding the table of contents . I have the following setup: /etc/cgitrc: logo=/cgit-css/cgit.png Each repo has its own cgitrc, for instance:

Re: Table of Contents links using the format #link are not followed

2018-08-25 Thread jean-christophe manciot
Christian Hesse (l...@eworm.de) has brilliantly added this feature with the patch available here . It allows you to: - add your own static table of contents and the links now