Alert
Academy theme alert shortcode with multiple type variants.
1 minute read
The academy-theme alert shortcode renders a styled alert box. The type parameter controls the color and icon.
{{< alert type="note" title="Note" >}}Alert content with **Markdown** support.{{< /alert >}}
Parameters:
| Parameter | Description | Default |
|---|---|---|
type | Alert style: note, info, danger, warning | (none) |
title | Optional title above the alert body | (none) |
Examples: