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.
Where files are stored. Attach a file, and GitLab stores it according to your installed version of GitLab: Files added in GitLab 11.3 and later: Files are stored in the wiki's Git repository. Files added GitLab 11.2 and earlier: Files are stored in GitLab itself.
If you don't want to keep your documentation in your repository, but you want to keep it in the same project as your code, you can use the wiki GitLab provides in each GitLab project. Every wiki is a separate Git repository, so you can create wiki pages in the web interface, or locally using Git.
Wiki is a system for maintaining documentation for a project in the GitLab. It is like a Wikipedia which can be editable and given permissions to manage the wiki pages. A Guest can view a wiki page and Developer can create and edit a wiki page.
This has been added in this pull request.
It generates toc_x
anchors, with x incremented for each new header.
If you define a link like:
[My link to third header](#toc_3)
It will link you to the current page third header (no matter what level that header is).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With