Callouts

2026-02-12¡ 1 min read¡ 96 words

How to use callout components to highlight important information.

Callouts

Callouts (also known as admonitions) draw attention to important information. Use them for tips, warnings, notes, and more.

Basic Usage

Callouts are MDX components. Use them in your notes like this:

<Callout type="note">
  Your content here.
</Callout>

Available Types

Note

For general information and side notes.

â„šī¸

Wiki-links are resolved case-insensitively, so the same note can be referenced regardless of capitalization.

Tip

For helpful suggestions and best practices.

💡
Best Practice

Use descriptive note titles. They make wiki-links more readable and help with search.

Warning

For important caveats or things to watch out for.

âš ī¸

Private notes (with private: true in frontmatter) are completely excluded from the build output.

Danger

For critical warnings that could cause problems.

🚨
Data Loss Risk

Never edit files directly in the src/generated/ directory. They are overwritten on each build.

Info

For additional context or background information.

📖

Callouts support an optional title prop. Without it, only the icon is shown.

Custom Titles

Add a title prop to customize the callout header:

<Callout type="tip" title="Pro Tip">
  Custom titles make callouts more specific.
</Callout>

Nested Content

Callouts can contain any Markdown content:

â„šī¸
Rich Content

Callouts support:

  • Bold and italic text
  • inline code
  • Links

Even blockquotes work inside callouts.