github / markup

Determines which markup library to use to render a content file (e.g. README) on GitHub

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ToC links to numbered headings won't work with reStructuredText or AsciiDoc

Tof1973 opened this issue · comments

Old issue #293 which was solved, is back since few days.
As you can see the reference example which was working is not working anymore:
https://github.com/opendevise/asciidoc-samples/blob/master/article.adoc
The numbered links are not working !
Can we have a fix, again ?
Thanks in advance...

Also seeing this. 🤞 for a fix soon!

Note that this also causes intra-doc xref: links to fail.

A fix would be great. I have quite some documentation with asciidoc and numbered TOCs, and all links in the TOC are broken.

Big issue!

FYI to others who encounter this, a (not very satisfying) workaround for this is:

ifndef::env-github[:sectnums:]