Skip to main content

Admonition sample

Reference page for reviewing callout styling across both color modes.

All five types, single line

A note with a link inside it and some trailing text.

An info callout with a link inside it and some trailing text.

A tip with a link inside it and some trailing text.

A warning with a link inside it and some trailing text.

A danger callout with a link inside it and some trailing text.

Wrapping to two lines

The icon should stay centred on the first line, not drift to the middle of the block.

This callout is long enough that it wraps onto a second line, which is the case that shows whether the icon is centred against the first line of copy or against the whole block of text.

Multiple paragraphs

The first paragraph of a longer callout. The icon should sit on this line.

A second paragraph, so the content column is considerably taller than a single line.

A third paragraph to exaggerate the difference.

With an authored title

Titles come from the callout syntax rather than from the type name.

Containing other content

Do not ship a Lens with debug logging enabled.

// This should not be in a published Lens
print('debug: frame ' + getFrameCount());

The final line after a code block.