Skip to content

Callouts (Admonitions)

Tralume supports GitHub-style alert callouts in Markdown content. Use the > [!TYPE] syntax to render highlighted note blocks with appropriate icons and colors.

Syntax

> [!NOTE]
> This is a note callout.

> [!WARNING]
> This is a warning callout.

Supported types

TypeIconPurpose
[!NOTE]infoGeneral information
[!TIP]tips_and_updatesHelpful advice
[!IMPORTANT]priority_highKey information
[!WARNING]warningSomething to be aware of
[!CAUTION]warningPotential risk
[!DANGER]dangerousCritical warning

Custom title

You can override the default title by appending text after the type:

> [!NOTE]+ My Custom Title
> Content of the callout.

i18n

Callout titles use the following i18n keys. The defaults are:

Typei18n KeyDefault (en-US)
notecalloutNoteLabelNote
tipcalloutTipLabelTip
importantcalloutImportantLabelImportant
warningcalloutWarningLabelWarning
cautioncalloutCautionLabelCaution
dangercalloutDangerLabelDanger

You can override these in your site’s i18n/ directory to customize the labels per language.

Last updated on • alexma233