3  Adding call out boxes

In R4Epi, we sometimes add special boxes for side notes and warnings. How do we add those into qmd books?

What do those boxes look like when we render the book to pdf format?

Does Quarto have some built-in boxes? It looks like it might?

::: callout-note
Note that there are five types of callouts, including: `note`, `tip`, `warning`, `caution`, and `important`.
:::
Note

Note that there are five types of callouts, including: note, tip, warning, caution, and important.

::: callout-warning
Callouts provide a simple way to attract attention, for example, to this warning.
:::
Warning

Callouts provide a simple way to attract attention, for example, to this warning.

::: callout-important
## This is Important

Danger, callouts will really improve your writing.
:::
This is Important

Danger, callouts will really improve your writing.

::: callout-tip
## Tip With Title

This is an example of a callout with a title.
:::
Tip With Title

This is an example of a callout with a title.

::: {.callout-caution collapse="true"}
## Expand To Learn About Collapse

This is an example of a 'collapsed' caution callout that can be expanded by the user. You can use `collapse="true"` to collapse it by default or `collapse="false"` to make a collapsible callout that is expanded by default.
:::

This is an example of a ‘collapsed’ caution callout that can be expanded by the user. You can use collapse="true" to collapse it by default or collapse="false" to make a collapsible callout that is expanded by default.