alert

The alert shortcode allow you to highlight information in your page. They create a colored box surrounding your text, like this:

role="alert">This is an alert !

Usage

ParameterDefaultDescription
themeinfosuccess, info,warning,danger
role="alert"> Tips : setting only the theme as argument works too : {{%alert warning%}} instead of {{%alert theme="warning"%}}

Basic examples

{{% alert theme="info" %}}**this** is a text{{% /alert %}}
{{% alert theme="success" %}}**Yeahhh !** is a text{{% /alert %}}
{{% alert theme="warning" %}}**Be carefull** is a text{{% /alert %}}
{{% alert theme="danger" %}}**Beware !** is a text{{% /alert %}}
role="alert">this is an info

role="alert">Yeahhh ! is an success

role="alert">Be carefull is a warning

role="alert">Beware ! is a danger