Cheatography
https://cheatography.com
Quick references to the GitLab MD language
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 | ~"feature request" | multi-word label by name | 9ba12248 | specific commit | 9ba12248...b19a04f5 | commit range comparison | [README](doc/README) | repository file references |
Other GitLab Referencesnamespace/project#123 | issue | namespace/project!123 | merge request | namespace/project$123 | snippet | namespace/project@9ba12248 | specific commit | namespace/project@9ba12248...b19a04f5 | commit range comparison |
Task ListsYou can add task lists to issues, merge requests and comments. To create a task list, add a specially-formatted Markdown list, like so:
- [x] Completed task
- [ ] Incomplete task
- [ ] Sub-task 1
- [x] Sub-task 2
- [ ] Sub-task 3
Task lists can only be created in descriptions, not in titles. Task item state can be managed by editing the description's Markdown or by toggling the rendered check boxes. |
| | Standard MarkdownHeaders
# H1
## H2
### H3
#### H4
##### H5
###### H6
Alternatively, for H1 and H2, an underline-ish style:
Alt-H1
======
Alt-H2
------
Emphasis
Emphasis, aka italics, with *asterisks* or _underscores_.
Strong emphasis, aka bold, with **asterisks** or __underscores__.
Combined emphasis with **asterisks and _underscores_**.
Strikethrough uses two tildes. ~~Scratch this.~~
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 |
| | Standard Markdown ContLinks
There are two ways to create links, inline-style and reference-style.
[inline link](https://www.google.com)
[reference link][Arbitrary reference text]
[relative reference to a repo file](LICENSE)
[numbers for reference link definitions][1]
Or leave it empty [link text itself][]
Some text to show that the reference links can follow later.
[arbitrary reference text]: https://www.mozilla.org
[1]: http://slashdot.org
[link text itself]: http://www.reddit.com
Images
Here's our logo (hover to see the title text):
Inline-style:

Reference-style:
![alt text1][logo]
[logo]: assets/logo-white.png
Blockquotes
> Blockquotes 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 Markdown into a blockquote.
Tables
| header 1 | header 2 |
| -------- | -------- |
| cell 1 | cell 2 |
| cell 3 | cell 4 |
| Left Aligned | Centered | Right Aligned |
| :----------- | :------: | ------------: |
| Cell 1 | Cell 2 | Cell 3 | |
|
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets