Alert (Docsy)
Docsy alert shortcode using the color parameter.
1 minute read
The Docsy alert shortcode renders a colored alert box. The academy-theme overrides this shortcode, so invoking alert will use the academy-theme implementation. This page demonstrates the Docsy color parameter syntax.
{{< alert color="info" title="Info alert" >}}Alert content here.{{< /alert >}}
Parameters:
| Parameter | Description | Default |
|---|---|---|
color | Bootstrap color: primary, secondary, success, danger, warning, info | (none) |
title | Optional title text | (none) |
Example:
Docsy alert
This block uses the Docsy-stylecolor parameter.