Show Menu
Cheatography

GitLab Flavored Markdown Cheat Sheet by

Special GitLab 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
~"fe­ature request|
multi-word label by name
9ba12248
specific commit
9ba122­48...b­19a04f5
commit range comparison
repository file references

Cross-­Project GitLab References

namesp­ace­/pr­oje­ct#123
issue
namesp­ace­/pr­oje­ct!123
merge request
namesp­​ac­e​/­pr​­oje­​ct­@​9­ba​­12248
specific commit
namesp­​ac­e​/­pr​­oje­​ct­@​9­ba​­122­48...b­19a04f5
commit range comparison
 

Headers

#
H1
##
H2
###
H3
####
H4
#####
H5
######
H6

Emphasis

*italic*
italic
*bold*
bold
~strike­thr­ough~
strike­through
`code`
code

Images

Reference #1
Reference #2
![alt text1]­­​(­htt­ps:­//i­mgu­r.c­om/­gal­ler­y/E­4TDJ)

List

Lists
1. First ordered list item
2. Another item
​ * Unordered sub-list.
1. Actual numbers doesn't matter, just that it's a number
​ 1. Ordered sub-list
4. And another item.
* Unordered list can use asterisks
- Or minuses
+ Or pluses
 

Quotes

> Blockq­​uotes are very handy in email to emulate reply text.
> This line is part of the same quote.
Quote break.
> This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can put Mark​down into a blockq­​uote.

Links

Links

There are two ways to create links, inline­​-style and refere­​nc­e​-­style.

* inline link
* [reference link][­​Ar­b​i­trary reference text]
* relative reference to a repo file
* [numbers for reference link defini­​ti­o​n­s][1]
* leave it empty [link text itself][]

Tables

| header1 | header2 |
| ------- | ------- |
| cell1 ​​​​ | cell2 ​​​​​ |
| cell3 ​​​​ | cell4 |

| Left Aligned ​ | Centered | Right Aligned |
| :-----­­​----- | :------: | ------­­​-­----: |
| Cell1 ​​​​​​​​​​ | Cell2 ​​​ | Cell3 ​​​​​​­­​​­​­​​​​|
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Markdown Cheat Sheet
          GitLab Markdown Cheat Sheet