summaryrefslogtreecommitdiff
path: root/tests/extensions/admonition.txt
blob: ab8434c11d3bb13dc0cd08d2ba56cd0b4fceaead (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
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.

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

No body:

!!! note

Extra whitespace after the title should not alter output:

!!! note