aboutsummaryrefslogtreecommitdiff
path: root/tests/extensions/admonition.txt
blob: 03ff4e9e213aa6dd68f222cde1415071479160d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Some text

!!! note
    A normal paragraph here

    1. first
    2. second

    > Some important quote

    > another paragraph in the quote

        int main() {
            // insert some code
        }

More text and stuff.

!!! Note "Did you know?"
    You can customize the title of the admonition
Not part of an Admonition!

!!! mycustomcssclass "And now..."
    For something completely different.

    You can also use a custom CSS class name.

!!! class1 class2    class3 "And now..."
    For something completely different.

    Several class names can be separated by space chars.

!!! note anotherclass
    The default title is the capitalized first class name.

!!! tip ""
    An explicitly empty string prevents the title from being rendered.

No body:

!!! note

Extra whitespace after the title should not alter output:

!!! note