#
Callout
Callout components help to highlight important messages for the reader.
To create an Callout, just surround a block of text or any markdown content with !!!
.
!!!
This is an Callout.
!!!
This is an Callout.
#
Title
Callouts can also have titles. Add a space, then add your title, such as !!! My title
.
!!! My title
This is an Callout.
!!!
My title
This is an Callout.
Some basic Markdown syntax and emoji :shortcodes:
are supported in the titles.
!!! :zap: [Getting Started](/guides/getting-started.md) :zap:
Get up to speed with Retype quickly by checking out the Getting Started guide.
!!!
⚡ Getting Started ⚡
Get up to speed with Retype quickly by checking out the Getting Started guide.
#
Variant
Callouts come in nine different flavors which can be specified by passing a variant
immediately after the !!!
, such as !!!danger
.
#
Samples
!!!primary Primary
This is a `primary` Callout.
!!!
!!!secondary Secondary
This is a `secondary` Callout.
!!!
!!!success Success
This is a `success` Callout.
!!!
!!!danger Danger
This is a `danger` Callout.
!!!
!!!warning Warning
This is a `warning` Callout.
!!!
!!!info Info
This is a `info` Callout.
!!!
!!!light Light
This is a `light` Callout.
!!!
!!!dark Dark
This is a `dark` Callout.
!!!
!!!ghost Ghost
This is a `ghost` Callout.
!!!
!!!contrast Contrast
This is a `contrast` Callout.
!!!
Primary
This is a primary
Callout.
Secondary
This is a secondary
Callout.
Success
This is a success
Callout.
Danger
This is a danger
Callout.
Warning
This is a warning
Callout.
Info
This is a info
Callout.
Light
This is a light
Callout.
Dark
This is a dark
Callout.
Ghost
This is a ghost
Callout.
Contrast
This is a contrast
Callout.