Blockquotes that GitHub turns into colored callouts
GFM alerts are a blockquote whose first line is [!TYPE] (uppercase, square brackets). On GitHub the renderer drops the [!TYPE] line and styles the rest of the quote with a colored bar, an icon, and a labeled header.
Five alert types
[!NOTE]— neutral information, blue.[!TIP]— helpful suggestion, green.[!IMPORTANT]— must-read, purple.[!WARNING]— possible footgun, yellow/orange.[!CAUTION]— risky action, red.
Portability
Alerts are a GitHub-only extension. Other renderers (pandoc, plain CommonMark, most static-site generators without a GitHub-style plugin) treat [!NOTE] as literal text inside a blockquote. The fallback is still readable, but it loses the visual styling.
Don't mix alert types in one block. Each alert is one type. If you have both a tip and a warning about the same thing, write two separate alerts. The renderer styles by the first line only.