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

Christian Hesse list at eworm.de
Sat Aug 25 14:02:37 CEST 2018


John Keeping <john at keeping.me.uk> 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
> >  import io
> >  from pygments.formatters import HtmlFormatter
> > +from markdown.extensions.toc import TocExtension  
> 
> Does this ship as part of python-markdown, or is it an additional
> dependency?

Ships with python-markdown, at least I did not install anything on top.
-- 
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/20180825/973c1541/attachment.asc>


More information about the CGit mailing list