Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d43cd922
Commit
d43cd922
authored
Feb 06, 2020
by
Brett Walker
Committed by
Russell Dickenson
Feb 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update markdown documentation for table of contents tag
parent
8c9ad563
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
doc/user/markdown.md
doc/user/markdown.md
+12
-0
No files found.
doc/user/markdown.md
View file @
d43cd922
...
@@ -97,6 +97,7 @@ not found in standard Markdown:
...
@@ -97,6 +97,7 @@ not found in standard Markdown:
-
[
Math equations and symbols written in LaTeX
](
#math
)
-
[
Math equations and symbols written in LaTeX
](
#math
)
-
[
Special GitLab references
](
#special-gitlab-references
)
-
[
Special GitLab references
](
#special-gitlab-references
)
-
[
Task Lists
](
#task-lists
)
-
[
Task Lists
](
#task-lists
)
-
[
Table of Contents
](
#table-of-contents
)
-
[
Wiki specific Markdown
](
#wiki-specific-markdown
)
-
[
Wiki specific Markdown
](
#wiki-specific-markdown
)
It also has
[
extended Markdown features
](
#standard-markdown-and-extensions-in-gitlab
)
, without
It also has
[
extended Markdown features
](
#standard-markdown-and-extensions-in-gitlab
)
, without
...
@@ -456,6 +457,17 @@ unordered or ordered lists:
...
@@ -456,6 +457,17 @@ unordered or ordered lists:
1.
[ ] Sub-task 1
1.
[ ] Sub-task 1
1.
[x] Sub-task 2
1.
[x] Sub-task 2
### Table of Contents
A table of contents can be added to a Markdown file, issue or merge request
description, or a wiki page, by adding the tag
`[[_TOC_]]`
on its own line.
It will be replaced with an unordered list that links to the various
headers.
```
markdown
[[
_TOC_
]]
```
### Wiki-specific Markdown
### Wiki-specific Markdown
The following examples show how links inside wikis behave.
The following examples show how links inside wikis behave.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment