Asides

Asides (also called callouts or admonitions) display secondary information alongside the main content. They come in four variants with distinct colors and icons.

Block type

star-lite.aside

Fields

FieldTypeDescription
`type`string`note`, `tip`, `caution`, or `danger`
`title`stringCustom title (defaults to the type name if empty)
`content`stringThe callout body text

Variants

  • Note (blue) — general supplementary information
  • Tip (purple) — helpful suggestions or best practices
  • Caution (yellow) — important caveats the reader should be aware of
  • Danger (red) — warnings about destructive or irreversible actions

Markdown mode

In markdown mode, asides use the ::: fence syntax:

:::note
This is a note.
:::
:::tip[Custom title]
Tips can have custom titles.
:::
:::caution
Be careful with this.
:::
:::danger
This action cannot be undone.
:::

The type goes after ::: and an optional title can be placed in square brackets.

Example