Admonitions¶
Each kind of admonition takes its colour from the theme: information, help, caution and danger.
Note
A note adds something the reader may want to know.
Tip
A tip helps the reader do something better.
Hint
A hint points at the answer without giving it away.
Important
Something the reader mustn’t miss.
See also
daisyUI’s alert component, which these are drawn like.
Attention
Attention asks the reader to stop and read.
Caution
A caution warns of something that can go wrong.
Danger
Danger: this deletes data.
Error
Something has gone wrong.
An admonition with its own title
A generic admonition, with a title of its own.
Todo
A to-do item, shown because todo_include_todos is on.
Note
An admonition holding a code block:
print("inside an admonition")