Callouts

Draw attention to important information with colored callout boxes.

Types

Note

Use notes for additional context or background information.

Tip

Use tips for helpful suggestions and best practices.

Important

Use important for key information that shouldn’t be missed.


Custom Titles

Override the default title by adding text after the type:

Before You Begin

Make sure you have completed the quickstart guide first.


Rich Content

Callouts support full Markdown including code blocks, lists, and links:

Installation Options

You can install Docyard globally or per-project:

# Global installation
gem install docyard

# Per-project with Bundler
bundle add docyard

See the quickstart guide for more details.


GitHub Alerts

Docyard also supports GitHub-style blockquote alerts:

Note

This uses GitHub alert syntax.

Tip

Helpful advice for the reader.

Important

Key information users need to know.


Syntax

:::type [optional title]
Your content here. Supports **Markdown**.
:::

GitHub alert syntax:

> [!TYPE]
> Your content here.

Reference

Type Default Title Use Case
note Note General information, context
tip Tip Helpful suggestions, best practices
important Important Key information not to miss
warning Warning Potential issues, cautions
danger Danger Critical problems, breaking changes
GitHub Alert Maps To
[!NOTE] note
[!TIP] tip
[!IMPORTANT] important
[!WARNING] warning
[!CAUTION] danger
Edit this page
Last updated