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

Christian Hesse list at eworm.de
Fri Jul 13 18:14:51 CEST 2018


jean-christophe manciot <actionmystique at gmail.com> on Fri, 2018/07/06 11:56:
> Ubuntu 18.10
> cgit commit 22583c4
> git 2.18.0-1
> 
> For instance, the following table of contents successfully tested on gitlab
> is useless on cgit:
> ## Table of Contents
> 
>   + [Drive Repository Contents](#drive-repository-contents)
>   + [Features](#features)
> ...
> 
> ## Drive Repository Contents
> 
> ...
> 
> ## Features
> 
> Clicking on one of the table of contents link should redirect the user to
> the corresponding paragraph, but it does not.
> Either I'm missing something, or that feature is not implemented (yet?), or
> there is some kind of issue.

The links are ok, but python-markdown does not add the anchors in links
(a-tags). Anybody familiar with python-markdown can tell if that can be
changed?
-- 
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/20180713/7702327e/attachment.asc>


More information about the CGit mailing list