{{< alert >}}

Description#


The alert shortcode is used to highlight text using different styles.

Parameters#


NameType(named/positional)Description
typenamed

Styles available:

  • info
  • success
  • warning
  • error

NB: If not specified, the default style is info.

Examples#


MarkdownRendering
{{</* alert */>}}
I'm a **info** type alert by default
{{</* /alert */>}}
I’m a info type alert by default
{{</* alert
    type="info"
*/>}}
I'm a **info** type alert
{{</* /alert */>}}
I’m a info type alert
{{</* alert
    type="success"
*/>}}
I'm a **success** type alert
{{</* /alert */>}}
I’m a success type alert
{{</* alert
    type="warning"
*/>}}
I'm a **warning** type alert
{{</* /alert */>}}
I’m a warning type alert
{{</* alert
    type="error"
*/>}}
I'm a **error** type alert
{{</* /alert */>}}
I’m a error type alert