Admonitions¶
Admonitions are little callout blocks for surfacing notes, warnings, tips, and whatever else you need to highlight. Python-Markdown’s admonition extension powers them.
You can render them in two flavors. The plain/static variant looks like this:
!!! note "This is a Note"
Any number of other indented Markdown elements.
This is the second paragraph.
This is a Note
Any number of other indented Markdown elements.
This is the second paragraph.
Prefer collapsible callouts? Use the foldable form:
??? note "This is a Note"
Any number of other indented markdown elements.
This is the second paragraph.
This is a Note
Any number of other indented markdown elements.
This is the second paragraph.
LATEX Rendering¶
TeXSmith maps admonitions onto the tcolorbox package automatically, so they come through in LATEX without extra work. Template authors can still restyle them via the preamble or dedicated slots.
Built-in templates like article and book ship with sensible defaults. Tweak the look by setting callout_style in front matter (or via --attribute callout_style=<style>):
---
press:
callout_style: classic # fancy | classic | minimal
---
fancy(default): colored headings with icons.classic: black-and-white layout with a bold left rule.minimal: subtle border, rounded corners, and no icons.
Built-in Admonition Types¶
The following admonition types are built into the admonition extension:
Note
A Note
Tip
A Tip
Warning
A Warning
Important
An important notice
Danger
A danger notice
Info
An info notice
Hint
A Hint
Seealso
A see-also notice
Question
A question notice
Abstract
An abstract


