Callout
A component used to display different types of messages — tips, info, warnings, or success notifications.
Preview
Usage
Each callout variant is its own directive — the type comes from the name,
so the only prop you may pass is title (optional):
GFM alerts
GitHub-style alert blockquotes render as the same callouts, so pages ported from GitHub keep working. The marker must be the first line of the blockquote and the title is the GitHub label:
Rendered:
The marker is case-insensitive, and the body keeps full markdown support
(inline markup, lists, multiple paragraphs). A blockquote whose marker is not
on the first line stays a plain quote. IMPORTANT is alert-only: it keeps
GitHub's purple accent and icon, and there is no :::important directive.
Props
The type is determined by the directive name: :::tip, :::info, :::danger,
:::warning, :::success. Icons follow the type automatically.
Last updated Sep 30, 2026