Rhizome
NotesArticlesTagsGraphEditor

Built with Rhizome — A static personal notes system

  1. Home
  2. /Notes
  3. /Callouts

Callouts

2026-02-12· 3 min read· 507 words

How to use callout components to highlight important information.

#guide#mdx#components

Table of Contents

  • Obsidian-Style Syntax
  • Supported Callout Types
  • Type Aliases
  • Multi-line Content
  • Foldable Callouts
  • MDX Component Syntax
  • Available Types
  • Note
  • Tip
  • Warning
  • Danger
  • Info
  • Custom Titles
  • Nested Content
  • Practical Example: FAQ Section
  • Use Case Examples
  • Documentation Notes
  • Best Practices
  • Deprecation Warnings
  • Security Alerts
  • Background Context

Callouts

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

Obsidian-Style Syntax

Rhizome supports Obsidian-compatible callout syntax using blockquotes:

> [!note] Optional Title
> Content goes here.

> [!warning] No Title
> Just content, no title needed.

This renders as:

ℹ️
Optional Title

Content goes here.

⚠️

This callout has no title, just content.

Supported Callout Types

SyntaxTypeUse Case
[!note]NoteGeneral information
[!tip]TipHelpful suggestions
[!warning]WarningImportant caveats
[!danger]DangerCritical warnings
[!info]InfoBackground information

Type Aliases

Obsidian uses additional type names that map to the core types:

SyntaxMaps To
[!error], [!bug]danger
[!quote], [!example], [!question]note
[!success], [!check]tip
[!failure]danger

Multi-line Content

💡
Pro Tip

Callouts can span multiple lines. Each line just needs the > prefix.

You can even have multiple paragraphs!

> [!tip] Pro Tip
> Callouts can span multiple lines.
> Each line just needs the `>` prefix.

Foldable Callouts

Add + or - after the type to make callouts collapsible:

  • + starts expanded (user can collapse)
  • - starts collapsed (user can expand)

This callout starts expanded. Click the arrow to collapse it.

> [!tip]+ Click to Expand
> This content is visible by default.

> [!warning]- Collapsed by Default
> This content is hidden by default.

Use cases for foldable callouts:

Use CaseTypeState
FAQ answers[!note]-Collapsed
Optional deep-dives[!info]+Expanded
Spoiler content[!warning]-Collapsed
Technical appendix[!note]-Collapsed

MDX Component Syntax

For more control, you can use the MDX component syntax directly:

<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.

Practical Example: FAQ Section

Foldable callouts are ideal for FAQ-style content. Each question is collapsed by default, keeping the page clean while making answers available on demand:

> [!note]- Question goes here?
> Answer content appears when the user clicks to expand.
> 
> You can include multiple paragraphs, **formatting**, and more.

Use Case Examples

Documentation Notes

ℹ️
API Endpoint

GET /api/notes/:id - Retrieve a single note by its ID. Returns 404 if not found.

Best Practices

💡
Atomic Notes

Keep notes focused on a single concept. This makes them easier to link, search, and reuse across different contexts.

Deprecation Warnings

⚠️

The private frontmatter field is deprecated. Use draft: true instead for work-in-progress notes.

Security Alerts

🚨
Environment Variables

Never commit .env files to version control. Use .env.example for documentation and keep secrets in your deployment platform's environment settings.

Background Context

📖
Historical Note

The term "wiki" comes from the Hawaiian word for "quick." Ward Cunningham created the first wiki in 1995 as the Portland Pattern Repository.

Backlinks

Callout Types

  • Quick Reference

    ... and AnchorsCombined Syntax]] Callout Types !CalloutsSupported Callout Types Foldable Callouts ![[CalloutsFoldable Callo...

Feature Guides

  • Welcome to Rhizome

    ...s]] - Link to sections and embed content inline - CalloutsFoldable Callouts - Collapsible information boxes - [[Code BlocksS...