Skip to content

callouts

callouts are styled blocks that highlight important content — notes, tips, warnings, and other admonitions.

a callout is a blockquote whose first line starts with [!type]:

> [!note]
> default note callout, no title.

the type determines the color, icon, and default title. the body can contain any markdown — paragraphs, lists, code blocks, even other callouts.

there are 13 canonical types. each has a distinct color and icon.

typeuse for
notegeneral annotations
abstractsummaries or overviews
infoneutral informational content
todooutstanding work
tiphelpful suggestions
successconfirmations or completed steps
questionopen questions or FAQs
warningcontent requiring caution
failurethings that went wrong
dangerhigh-severity risks
bugknown issues
exampleworked examples
quotequotations

type names are case-insensitive — [!NOTE], [!Note], and [!note] all behave the same. unknown types fall back to note styling.

several common alternate names are recognized and render as their canonical type:

aliascanonical
summary, tldrabstract
hint, importanttip
check, donesuccess
help, faqquestion
caution, attentionwarning
fail, missingfailure
errordanger
citequote

add a title on the same line as the type:

> [!warning] watch out!
> this operation cannot be undone.

when no title is given, the type name is used with the first letter capitalized.

append + or - to the type to make the callout foldable:

  • [!tip]+ — foldable, expanded by default
  • [!warning]- — foldable, collapsed by default
> [!info]- click to expand
> hidden by default. click the chevron in the header to reveal.

fold state is session-only — it resets when you reopen the file.

callout bodies accept the full range of markdown:

> [!example] with a list
> here are some items:
>
> - first item
> - second item
> - third item
> [!tip] with inline formatting
> supports **bold**, _italic_, `inline code`, and [links](https://example.com).
> [!info] with a code block
>
> ```ts
> function greet(name: string): string {
> return `hello, ${name}`
> }
> ```

callouts can be nested by increasing the blockquote depth:

> [!question] can callouts be nested?
>
> > [!success] yes, they can.
> > and you can nest further if you need to.

type /callout in the editor to insert a note callout at the cursor. keywords admonition, alert, note, warning, tip, and info all match the same command. once inserted, edit the type by changing the [!type] marker in source mode, or re-type the opening line in rich mode.