Alert (Docsy)

Docsy alert shortcode using the color parameter.

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:

ParameterDescriptionDefault
colorBootstrap color: primary, secondary, success, danger, warning, info(none)
titleOptional title text(none)

Example: