This is a draft cheat sheet. It is a work in progress and is not finished yet.
Special References
|
specific user |
|
specific group |
|
entire team |
|
issue |
|
merge request |
|
snippet |
|
epic |
|
label by ID |
|
one-word label by name |
|
multi-word label by name |
|
project milestone by ID |
|
one-word milestone by name |
|
multi-word milestone by name |
|
specific commit |
|
commit range comparison |
|
repository file references |
|
repository file line references |
Cross-Project References
|
issue |
|
merge request |
|
project milestone |
|
snippet |
|
specific commit |
|
epic |
ns/project@9ba12248...b19a04f5
|
commit range comparison |
ns/project~"Some label"
|
issues with given label |
Shorthand Cross-Project References
|
issue |
|
merge request |
|
project milestone |
|
snippet |
|
specific commit |
project@9ba12248...b19a04f5
|
commit range comparison |
|
issues with given label |
For projects from the same namespace.
|
|
Syntax Highlighting
```clojure
(def xf (comp (filter odd?) (map inc)))
```
|
Inline Diff
- {+ additions +}
- [+ additions +]
- {- deletions -}
- [- deletions -]
|
With inline diffs you can display {+ additions +} or [- deletions -].
Unordered Task Lists
- [x] Completed task
- [ ] Incomplete task
- [ ] Sub-task 1
- [x] Sub-task 2
- [ ] Sub-task 3
|
You can add task lists to issues, merge requests and comments.
Ordered Task Lists
1. [x] Completed task
1. [ ] Incomplete task
1. [ ] Sub-task 1
1. [x] Sub-task 2
|
Videos
Image tags with a video extension are automatically converted to a video player.
The valid video extensions are .mp4, .m4v, .mov, .webm, and .ogv.
Math with KaTeX
This math is inline $`a^2+b^2=c^2`$.
This is on a separate line
```math
a^2+b^2=c^2
```
|
Diagrams & Flowcharts
```mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
```
|
Refer to the Mermaid Cheat Sheet.
Headers
# H1
## H2
### H3
#### H4
##### H5
###### H6
Alternatively, for H1 and H2, an underline-ish style:
Alt-H1
======
Alt-H2
------
|
Header IDs & Links
All headers automatically get IDs, except in comments.
IDs are generated from header content as follows:
1. All text is converted to lowercase
2. All non-word text is removed
3. All spaces are converted to hyphens
4. Two or more hyphens in a row are converted to one
5. Emojis are removed
6. Duplicate headers have a unique incrementing number appended. |
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.~~
|
|
|
|