Documentation

Callouts

Callouts highlight information that deserves attention without interrupting the main flow of the document.

ctrl alt doc provides four built-in callout types:

  • note
  • tip
  • warning
  • danger

Note #

Use :::note for general information.

Tip #

Use :::tip for useful advice or recommendations.

Warning #

Use :::warning when something deserves caution.

Danger #

Use :::danger for potentially destructive or serious situations.

Custom titles #

You can provide a custom title by adding it in square brackets.

The syntax is :::type[Title].

Content #

Callouts can contain normal Markdown content.

Configuration #

Callout types and their labels and icons are configured in ctrlaltdoc.config.ts.

This means a project can customise the callout presentation without changing the documentation syntax.