Like blockquotes, alerts start with >, followed on the first line by a specific marker: a text preceded by an exclamation mark and enclosed in square brackets.


Alert types are: NOTE, TIP, IMPORTANT, WARNING and CAUTION (case insensitive).

Alternative titles are supported, by appending it to the marker.

Each alert type displays a glyph in SVG format. Therefore SVG must be supported by the application. If not 🛈 is displayed instead.

Examples

> [!Warning]
> Alert with the default "Warning" title.

> [!Caution] Error
> Alert with the Caution style that displays "Error" as its title.

See also

Alert styling

Github alerts