mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-10 22:24:19 +01:00
d95d30029f
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!
11 lines
231 B
HTML
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>
|