Skip to content

Callout

The callout allow you to highlight certain parts of your documentation.

Callouts of each type, with their icons and colours

Example:

<callout type="note">The note content</callout>
<callout type="tip">The tip content</callout>
<callout type="info">The info content</callout>
<callout type="caution">The caution content</callout>
<callout type="danger">The danger content</callout>
<callout type="tip" title="Override the title">Tip content with a custom title</callout>

The following HTML attributes are supported for the callout:

  • type:
    • note
    • tip
    • info
    • caution
    • danger
  • title: Allows you to specify a custom callout title

A callout’s colours come from its type and the section theme. The bgColor and fgColor attributes were removed in 3.0.0 and are ignored: author styles never reach the page, so they had no effect.