summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-04-06 12:16:18 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-04-20 13:01:42 -0400
commit02809e1cf874122bab3e269ae7362be3ad8a87bd (patch)
tree26e6d1d9e2640d8aa9835eb21496ad05d23c4163 /doc
parent4cb1cc2b6413329c89d1043975317001666db13d (diff)
downloadgitlab-ce-02809e1cf874122bab3e269ae7362be3ad8a87bd.tar.gz
Add more GFM reference examples to docs
Diffstat (limited to 'doc')
-rw-r--r--doc/markdown/markdown.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/markdown/markdown.md b/doc/markdown/markdown.md
index 1d5fd4c8b0d..5c8b161cb6c 100644
--- a/doc/markdown/markdown.md
+++ b/doc/markdown/markdown.md
@@ -176,14 +176,18 @@ GFM will recognize the following:
- #123 : for issues
- !123 : for merge requests
- $123 : for snippets
-- 1234567 : for commits
+- ~123 : for labels
+- 9ba12248 : for specific commits
+- 9ba12248...b19a04f5 : for commit range comparisons
- \[file\](path/to/file) : for file references
GFM also recognizes references to commits, issues, and merge requests in other projects:
- namespace/project#123 : for issues
- namespace/project!123 : for merge requests
-- namespace/project@1234567 : for commits
+- namespace/project$123 : for snippets
+- namespace/project@9ba12248 : for specific commits
+- namespace/project@9ba12248...b19a04f5 : for commit range comparisons
## Task Lists