| 1 |
Some text |
| 2 |
|
| 3 |
!!! note |
| 4 |
A normal paragraph here |
| 5 |
|
| 6 |
1. first |
| 7 |
2. second |
| 8 |
|
| 9 |
> Some important quote |
| 10 |
|
| 11 |
> another paragraph in the quote |
| 12 |
|
| 13 |
int main() { |
| 14 |
// insert some code |
| 15 |
} |
| 16 |
|
| 17 |
More text and stuff. |
| 18 |
|
| 19 |
!!! Note "Did you know?" |
| 20 |
You can customize the title of the admonition |
| 21 |
Not part of an Admonition! |
| 22 |
|
| 23 |
!!! mycustomcssclass "And now..." |
| 24 |
For something completely different. |
| 25 |
|
| 26 |
You can also use a custom CSS class name. |
| 27 |
|
| 28 |
!!! class1 class2 class3 "And now..." |
| 29 |
For something completely different. |
| 30 |
|
| 31 |
Several class names can be separated by space chars. |
| 32 |
|
| 33 |
!!! note anotherclass |
| 34 |
The default title is the capitalized first class name. |
| 35 |
|
| 36 |
!!! tip "" |
| 37 |
An explicitly empty string prevents the title from being rendered. |
| 38 |
|
| 39 |
No body: |
| 40 |
|
| 41 |
!!! note |
| 42 |
|
| 43 |
Extra whitespace after the title should not alter output: |
| 44 |
|
| 45 |
!!! note |