Alert Sample
The alert shortcode allows you to highlight information in your page.
1 minute read
+++ title = “alert” description = “The alert shortcode allows you to highlight information in your page.” +++
The alert
shortcode allow you to highlight information in your page. They create a colored box surrounding your text, like this:
This is an alert !
Usage
Parameter | Default | Description |
---|---|---|
theme | info |
success , info ,warning ,danger |
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 %}}
this is an info
Success ! is an success
Warning is a warning
**Danger ** is a danger
Last modified
June 16, 2021
: reorganization (c7fe351a)