Files
HugoBlox-kit/modules/blox-bootstrap/layouts/_shortcodes/callout.html
T

17 lines
520 B
HTML

{{/*
Docs: https://docs.hugoblox.com/content/writing-markdown-latex/#callouts
Parameters
----------
#0 : optional, positional
Add the class "alert-{#0}" to the <div> container of the callout element.
Default Hugo Blox Builder available styles are "note" and "warning".
Otherwise you can create your own class (see `assets/scss/blox-bootstrap/elements/_callout.scss`).
*/}}
<div class="alert alert-{{ .Get 0 }}">
<div>
{{ .Inner | markdownify | emojify }}
</div>
</div>