Alert

Colored box with icon and content

👁️ PREVIEW

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

{%
  include alert.html
  type="info"
  content=content
%}
Parameter
Description

type

Type 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.

content

Content to show as main content of box. Can contain Markdown. Accepts arbitrary content.

Last updated