Quarto Docs: Callout Blocks
Default Appearance
with colored header and an icon
Note that there are five types of callouts, including: note
, warning
, important
, tip
, and caution
.
The default appearance with colored header and an icon.
The default appearance with colored header and an icon.
The default appearance with colored header and an icon.
The default appearance with colored header and an icon.
Customizing Appearance
appearance="simple"
: A lighter weight appearance that doesn’t include a colored header background.
appearance="minimal"
: A minimal treatment that applies borders to the callout, but doesn’t include a header background color or icon.
appearance="minimal"
: A minimal treatment that applies borders to the callout, but doesn’t include a header background color or icon and without a title.
icon=false
: You can also choose to directly suppress the icon.
collapse="true"
: This is an example of a ‘folded’ note callout that can be expanded by the user.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed quis est id erat ultricies maximus. Donec quis eros mi. Mauris consequat nunc lectus, eget convallis ligula ultrices sit amet.
Aenean facilisis tempor fringilla. Suspendisse a maximus justo, in tincidunt odio. Pellentesque semper justo sit amet erat interdum, sed pulvinar nisl ultrices. In sit amet neque neque. Nulla ultricies, risus et facilisis lobortis, dui tortor tempor nulla, eget hendrerit ex sem id ligula.
Morbi sed rhoncus mi. Cras vel faucibus ligula. Aenean pretium tellus id enim porta interdum.
My example: Weekly Schedule
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed quis est id erat ultricies maximus. Donec quis eros mi. Mauris consequat nunc lectus, eget convallis ligula ultrices sit amet.
Aenean facilisis tempor fringilla. Suspendisse a maximus justo, in tincidunt odio. Pellentesque semper justo sit amet erat interdum, sed pulvinar nisl ultrices. In sit amet neque neque. Nulla ultricies, risus et facilisis lobortis, dui tortor tempor nulla, eget hendrerit ex sem id ligula.
Morbi sed rhoncus mi. Cras vel faucibus ligula. Aenean pretium tellus id enim porta interdum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed quis est id erat ultricies maximus. Donec quis eros mi. Mauris consequat nunc lectus, eget convallis ligula ultrices sit amet.
Aenean facilisis tempor fringilla. Suspendisse a maximus justo, in tincidunt odio. Pellentesque semper justo sit amet erat interdum, sed pulvinar nisl ultrices. In sit amet neque neque. Nulla ultricies, risus et facilisis lobortis, dui tortor tempor nulla, eget hendrerit ex sem id ligula.
Morbi sed rhoncus mi. Cras vel faucibus ligula. Aenean pretium tellus id enim porta interdum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed quis est id erat ultricies maximus. Donec quis eros mi. Mauris consequat nunc lectus, eget convallis ligula ultrices sit amet.
Aenean facilisis tempor fringilla. Suspendisse a maximus justo, in tincidunt odio. Pellentesque semper justo sit amet erat interdum, sed pulvinar nisl ultrices. In sit amet neque neque. Nulla ultricies, risus et facilisis lobortis, dui tortor tempor nulla, eget hendrerit ex sem id ligula.
Morbi sed rhoncus mi. Cras vel faucibus ligula. Aenean pretium tellus id enim porta interdum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed quis est id erat ultricies maximus. Donec quis eros mi. Mauris consequat nunc lectus, eget convallis ligula ultrices sit amet.
Aenean facilisis tempor fringilla. Suspendisse a maximus justo, in tincidunt odio. Pellentesque semper justo sit amet erat interdum, sed pulvinar nisl ultrices. In sit amet neque neque. Nulla ultricies, risus et facilisis lobortis, dui tortor tempor nulla, eget hendrerit ex sem id ligula.
Morbi sed rhoncus mi. Cras vel faucibus ligula. Aenean pretium tellus id enim porta interdum.
My example: Custom icons (in the title text)
Tintin
My Street 1
My Town, My Contry
🌐 mywebsite.com
📧 mymail.com
☎️ 2233 4455
Outbound Journey:
- Atlantic Airways
- Departure: Copenhagen/CPH Sunday, April 14, 10:00
- Arrival: Vagar/FAE 12:15 (flight time 2t. 15min.)
Return Journey:
- Atlantic Airways
- Departure: Vagar/FAE Friday, April 19, 13:00
- Arrival: Copenhagen/CPH 15:05 (flight time 2t. 05min.)
Ressources for other Customization
HTML Demo: details element
HTML details
The details HTML element creates a disclosure widget in which information is visible only when the widget is toggled into an open state. A summary or label must be provided using the summary element.
Photo
PDF
Content 1, pdf