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:
Make sure to always self-close the alert shortcode.
Paired
{{< alert icon="👉" >}}
_Markdown_ and <em>HTML</em> will be rendered.
{{< /alert >}}
Will be processed into:
Markdown and HTML will be rendered.