aboutsummaryrefslogtreecommitdiff
path: root/_includes/callout.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/callout.html')
-rw-r--r--_includes/callout.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/_includes/callout.html b/_includes/callout.html
new file mode 100644
index 000000000..8ee72de99
--- /dev/null
+++ b/_includes/callout.html
@@ -0,0 +1,5 @@
+{% comment %} allowed: info danger warning {% endcomment %}
+{% assign css_class = include.type | default: "info" %}
+<div class="bd-callout bd-callout-{{ css_class }}">
+ {{ include.content | markdownify }}
+</div>