Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Admonitions

mdbook-spec provides admonitions that use a style similar to GitHub-flavored Markdown. The style name is placed at the beginning of a blockquote, such as:

> [!WARNING]
> This is a warning.

> [!NOTE]
> This is a note.

> [!EDITION-2024]
> This is an edition-specific difference.

> [!EXAMPLE]
> This is an example.

The color and styling are defined in theme/reference.css and the transformation and icons are in tools/mdbook-spec/src/admonitions.rs.

See Conventions in the Reference introduction for a description of how these should be used.