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

jean-christophe manciot actionmystique at
Sat Aug 25 09:39:04 CEST 2018

Christian Hesse (list at 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 point to the
right paragraph
- or add a [TOC] marker anywhere in the markdown file and let cgit
dynamically build your table of contents

I was able to test the about link with a toc having up to 5 levels of
indentation, which is much more than Gitlab is able to do (2).

Very nice ;-)

N.B: I have just realized that a copy of this message has been originally &
mistakenly sent as an answer to another thread. Sorry guys.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the CGit mailing list