Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 794 Bytes

File metadata and controls

23 lines (18 loc) · 794 Bytes
description
Colored box with icon and content

Alert

👁️ PREVIEW

{% raw %}
{% capture lorem %}
_Lorem_ **ipsum**.
{% endcapture %}
{% endraw %}

{%
  include alert.html
  type="info"
  content=content
%}
ParameterDescription
typeType of alert. Determines the icon and color to show.

See /_data/types.yaml for what types of alerts are built-in or to add your own.
contentContent to show as main content of box. Can contain Markdown. Accepts arbitrary content.