Callouts are used to isolate information that requires the reader’s immediate attention. docmd provides five semantic types, each featuring distinct visual styling and themed iconography.

Syntax Reference

::: callout type "Optional Title"
The technical content or warning goes here.
:::

Supported Semantic Types

Type Intent Visual Signal
info General Data Contextual background or helpful non-critical info.
tip Optimization Performance shortcuts or “Pro-tips”.
warning Cautionary Potential issues or deprecated features to monitor.
danger Critical Risk of data loss, breaking changes, or system failure.
success Verification Confirmation of successful configuration or build.
::: callout info
Legacy configuration schemas remain supported but are no longer recommended.
:::

Legacy configuration schemas remain supported but are no longer recommended.

::: callout warning "Breaking Change Target"
As of `v0.7.0`, the internal WebSocket RPC system will be officially deprecated.
:::
Breaking Change Target

As of v0.7.0, the internal WebSocket RPC system will be officially deprecated.

Callouts support the full spectrum of Markdown, allowing you to embed buttons and code blocks within the alert.

::: callout tip "Optimized Local Testing"
Use the preserve flag to maintain build files during dev sessions:

```bash
docmd dev --preserve
```

::: button "CLI Flag Reference" /cli-commands
:::
Optimized Local Testing

Use the preserve flag to maintain build files during dev sessions:

docmd dev --preserve
CLI Flag Reference
Prioritized Logic for AI

For LLMs, callouts act as High-Priority Anchors. By utilizing ::: callout danger to document breaking changes or system constraints, you provide a clear signal that the AI model must prioritize this information above surrounding text during its reasoning and generation process.