BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
7dba8cd2
Commit
7dba8cd2
authored
Dec 22, 2016
by
Marcel Huber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Shows how to reference a line within a repository file.
parent
6d9c1d3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
17 deletions
+18
-17
markdown.md
doc/user/markdown.md
+18
-17
No files found.
doc/user/markdown.md
View file @
7dba8cd2
...
@@ -237,23 +237,24 @@ GFM will turn that reference into a link so you can navigate between them easily
...
@@ -237,23 +237,24 @@ GFM will turn that reference into a link so you can navigate between them easily
GFM will recognize the following:
GFM will recognize the following:
| input | references |
| input | references |
|:-----------------------|:--------------------------- |
|:---------------------------|:--------------------------------|
| `@user_name` | specific user |
| `@user_name` | specific user |
| `@group_name` | specific group |
| `@group_name` | specific group |
| `@all` | entire team |
| `@all` | entire team |
| `#123` | issue |
| `#123` | issue |
| `!123` | merge request |
| `!123` | merge request |
| `$123` | snippet |
| `$123` | snippet |
| `~123` | label by ID |
| `~123` | label by ID |
| `~bug` | one-word label by name |
| `~bug` | one-word label by name |
| `~"feature request"` | multi-word label by name |
| `~"feature request"` | multi-word label by name |
| `%123` | milestone by ID |
| `%123` | milestone by ID |
| `%v1.23` | one-word milestone by name |
| `%v1.23` | one-word milestone by name |
| `%"release candidate"` | multi-word milestone by name |
| `%"release candidate"` | multi-word milestone by name |
| `9ba12248` | specific commit |
| `9ba12248` | specific commit |
| `9ba12248...b19a04f5` | commit range comparison |
| `9ba12248...b19a04f5` | commit range comparison |
| `[README](doc/README)` | repository file references |
| `[README](doc/README)` | repository file references |
| `[README](doc/README#L13)` | repository file line references |
GFM also recognizes certain cross-project references:
GFM also recognizes certain cross-project references:
...
...
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