github / markup

Determines which markup library to use to render a content file (e.g. README) on GitHub
MIT License
5.81k stars 3.41k forks source link

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

Closed Tof1973 closed 7 hours ago

Tof1973 commented 8 months ago

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...

scouten-adobe commented 8 months ago

Also seeing this. 🤞 for a fix soon!

scouten-adobe commented 8 months ago

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

pre-martin commented 8 months ago

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

wimalopaan commented 7 months ago

Big issue!

scouten-adobe commented 7 months ago

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

ifndef::env-github[:sectnums:]
github-actions[bot] commented 1 week ago

Stale issue message