Test Cases Admonitions¶
Specific Admonitions¶
- .. attention::¶
Attention
Text
- .. caution::¶
Caution
Text
- .. danger::¶
Danger
Text
- .. error::¶
Error
Text
- .. hint::¶
Hint
Text
- .. important::¶
Important
Text
- .. note::¶
Note
Text
- .. tip::¶
Tip
Text
- .. warning::¶
Warning
Text
- .. seealso::¶
See also
Text
Note
This is a note admonition. This is the second line of the first paragraph.
The note contains all indented body elements following.
It includes this bullet list.
Attention
Text
Caution
Text
Warning
Text
Note
Text
Important
Text
Error
Text
Note
Text
Eine Titel
Text
Caution
Text
Generic Admonition¶
- .. admonition:: Title¶
Title
Text
Title with inline formats and code
.
Text
With a very very very very very very very very very long long long long long long long long long long long long long long long long long long long title
Text
Specific combinations¶
Note
Text
- what
Definition lists associate a term with a definition.
- how
The term is a one-line phrase, and the definition is one or more paragraphs or body elements, indented relative to the term. Blank lines are not allowed between term and definition.
Text
Note
Text
list entry I
list entry II
Tip
Text:
if literal_block:
text = 'is left as-is'
spaces_and_linebreaks = 'are preserved'
markup_processing = None