How do I use same page links in the Gitlab wiki? For example:
Contents
- heading1 ---> this should move the page to heading 1
- heading2
- heading3
- heading4
HEADING 1
Basically I am trying to create a page like Wikipedia where you can navigate a single page using a table of contents.
This has been added in this pull request.
It generates
toc_xanchors, with x incremented for each new header.If you define a link like:
It will link you to the current page third header (no matter what level that header is).