diff options
author | Rémy Coutable <remy@rymai.me> | 2017-02-08 15:47:41 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-02-08 15:47:41 +0300 |
commit | 9ce16b48713e6a7bd8af20ea2f652dad804712fe (patch) | |
tree | ab9f476f90befb82ee7aa3969f221d4458bddb35 /doc | |
parent | 64331de36040549531b543e862021263844af9bc (diff) | |
parent | 7dba8cd2036c0bea0636055835b4f81fe79966af (diff) |
Merge branch 'patch-10' into 'master'
Show how to reference a line within a repository file.
See merge request !8249
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user/markdown.md | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/doc/user/markdown.md b/doc/user/markdown.md index 008872b59a7..699318e2479 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: |