summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Huber <marcelhuberfoo@gmail.com>2016-12-22 09:36:49 +0000
committerMarcel Huber <marcelhuberfoo@gmail.com>2016-12-22 09:36:49 +0000
commit7dba8cd2036c0bea0636055835b4f81fe79966af (patch)
tree8dcc3fe6c8780d1a7e789ce186127789d1cce4be
parent6d9c1d3efce00da95832feaaf36227bcbffecadf (diff)
downloadgitlab-ce-7dba8cd2036c0bea0636055835b4f81fe79966af.tar.gz
Shows how to reference a line within a repository file.
-rw-r--r--doc/user/markdown.md35
1 files changed, 18 insertions, 17 deletions
diff --git a/doc/user/markdown.md b/doc/user/markdown.md
index f6484688721..a2c729267e2 100644
--- a/doc/user/markdown.md
+++ b/doc/user/markdown.md
@@ -237,23 +237,24 @@ GFM will turn that reference into a link so you can navigate between them easily
GFM will recognize the following:
-| input | references |
-|:-----------------------|:--------------------------- |
-| `@user_name` | specific user |
-| `@group_name` | specific group |
-| `@all` | entire team |
-| `#123` | issue |
-| `!123` | merge request |
-| `$123` | snippet |
-| `~123` | label by ID |
-| `~bug` | one-word label by name |
-| `~"feature request"` | multi-word label by name |
-| `%123` | milestone by ID |
-| `%v1.23` | one-word milestone by name |
-| `%"release candidate"` | multi-word milestone by name |
-| `9ba12248` | specific commit |
-| `9ba12248...b19a04f5` | commit range comparison |
-| `[README](doc/README)` | repository file references |
+| input | references |
+|:---------------------------|:--------------------------------|
+| `@user_name` | specific user |
+| `@group_name` | specific group |
+| `@all` | entire team |
+| `#123` | issue |
+| `!123` | merge request |
+| `$123` | snippet |
+| `~123` | label by ID |
+| `~bug` | one-word label by name |
+| `~"feature request"` | multi-word label by name |
+| `%123` | milestone by ID |
+| `%v1.23` | one-word milestone by name |
+| `%"release candidate"` | multi-word milestone by name |
+| `9ba12248` | specific commit |
+| `9ba12248...b19a04f5` | commit range comparison |
+| `[README](doc/README)` | repository file references |
+| `[README](doc/README#L13)` | repository file line references |
GFM also recognizes certain cross-project references: