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
| Field | Type | Description |
|---|---|---|
| `type` | string | `note`, `tip`, `caution`, or `danger` |
| `title` | string | Custom title (defaults to the type name if empty) |
| `content` | string | The 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:
:::noteThis is a note.:::
:::tip[Custom title]Tips can have custom titles.:::
:::cautionBe careful with this.:::
:::dangerThis action cannot be undone.:::The type goes after ::: and an optional title can be placed in square brackets.