Callouts
Callouts are Hugo shortcodes used to visually highlight supplementary, important, or high-risk information without disrupting the primary content flow.
These are the main callout types that may be used to bring attention to a section of text. The callouts can be rendered in the center of the body or on the side.
The most basic callout wraps a “box” around text.
{{<call-out>}}
This is a plain callout with no title. It has a [link](#plain-callouts) to a heading on this page. Its shortcode is `<call-out>`.
{{</call-out>}}This is a plain callout with no title. It has a link to a heading on this page.
A title can be added with the title parameter
{{<call-out title="Custom Title">}}
This is a plain callout with title.
{{</call-out>}}This is a plain callout with title.
All callout types can also be rendered to the side using the sideline="true" parameter.
{{<call-out sideline="true">}}
This is a plain side callout with no title.
{{</call-out>}}Naturally, callouts should contain less text within them than the text it lives next to. We do this for several reasons. Firstly, it looks weird to have a big empty space in the primary content area. Secondly, if you have more text in the callout, then it stops being a callout. I have asked an LLM to lengthen this passage.
This is a plain side callout with no title.
This is a weird exception callout that adds just a little extra contrast to the callout.
{{<call-out class="important">}}
This is an important callout.
{{</call-out>}}ImportantThis is an important callout.
These callouts should be used sparingly: only when it is imperative to capture the user’s attention.
{{<call-out class="warning">}}
This is a warning callout.
{{</call-out>}}WarningThis is a warning callout.
{{<call-out class="caution">}}
This is a caution callout.
This callout especially should be used VERY judiciously.
{{</call-out>}}CautionThis is a caution callout. This callout especially should be used VERY judiciously.
Loud callouts also accept custom titles.
{{<call-out class="caution" title="Custom Title">}}
This is a caution callout with a custom title.
{{</call-out>}}Custom TitleThis is a caution callout with a custom title.