--- title: GitLab Flavored Markdown Spec version: 0.1 date: '2023-12-18' license: '[CC-BY-SA 4.0](http://creativecommons.org/licenses/by-sa/4.0/)' --- ## Multi-line Alerts Simple container ```````````````````````````````` example >>> [!NOTE] *content* >>> .
Note
content
Tip
Optional information to help a user be more successful.
Important
Crucial information necessary for users to succeed.
Warning
Critical content demanding immediate user attention due to potential risks.
Caution
Negative potential consequences of an action.
Pay attention
Highlights information that users should take into account, even when skimming.
Note
Note
hello world
normal
```````````````````````````````` Nested alerts ```````````````````````````````` example >>>>> [!NOTE] >>>> [!CAUTION] foo >>>> >>>>> .Note
Caution
foo
Note
this block is closed with 5 markers below
auto-closed blocks
```````````````````````````````` Marker can be indented up to 3 spaces ```````````````````````````````` example >>>> [!NOTE] first-level blockquote >>> [!CAUTION] second-level blockquote >>> >>>> regular paragraph .
Note
first-level blockquote
Caution
second-level blockquote
regular paragraph
```````````````````````````````` Fours spaces makes it a code block ```````````````````````````````` example >>> content >>> .>>>
content
>>>
````````````````````````````````
Detection of embedded 4 spaces code block starts in the
column the alert starts, not from the beginning of
the line.
```````````````````````````````` example
>>> [!NOTE]
code block
>>>
.
Note
code block
Note
content
Caution
code block
Note
foo
arg=123
Note
foo
blah blah
Note
content
Note
```````````````````````````````` List indentation ```````````````````````````````` example - >>> [!NOTE] foo bar >>> - >>> [!NOTE] foo bar >>> .Note
foo
bar baz
Note
foo bar
Note
foo bar
# Code
>>> [!NOTE]
# Code
>>>
# Code
````````````````````````````````
Does not require a leading or trailing blank line
```````````````````````````````` example
Some text
>>> [!NOTE]
A quote
>>>
Some other text
.
Some text
Note
A quote
Some other text
````````````````````````````````