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


See also the Hugo docs: Shortcodes

Named parameter

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

Will be processed into:


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

Will be processed into:

Edit this page on GitHub