Alerts

Add an alert with a Doks shortcode. Use the named parameter or paired version.

./layouts/shortcode/alert.html

See also the Hugo docs: Shortcodes

Named parameter

{{< alert icon="👉" text="Make sure to always self-close the alert shortcode." />}}

Will be processed into:

Paired

{{< alert icon="👉" >}}
_Markdown_ and <em>HTML</em> will be rendered.
{{< /alert >}}

Will be processed into:

Edit this page on GitHub