0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-11 03:52:27 +01:00
XhmikosR f3cfc8e7ec
Revert "Improve callout shortcode. (#31802)" (#31871)
This reverts commit 5c6925385ee926a749ead6a4f2ebbfc64e701f36.
2020-10-13 16:37:21 +03:00

11 lines
231 B
HTML

{{- /*
Usage: `callout "type"`,
where type is one of info (default), danger, warning
*/ -}}
{{- $css_class := .Get 0 | default "info" -}}
<div class="bd-callout bd-callout-{{ $css_class }}">
{{ .Inner | markdownify }}
</div>