RST
subrst
subsubrst
Attention
This is a attention.
Caution
This is a caution.
Danger
This is a danger.
Error
This is a error.
Hint
This is a hint.
Important
This is a important.
Note
This is a note.
Tip
This is a tip.
Warning
This is a warning.
test.py
# Options must be indented to the same level as the directive content.
def func():
pass
Note
code is a reStructuredText directive. code-block is a Sphinx directive. The code-block has a different set of options to the code directive.
A |
B |
A and B |
|---|---|---|
False |
False |
False |
True |
False |
False |
False |
True |
False |
True |
True |
True |