::: {.callout-note}
This is a note.
:::Callouts
Callout out boxes are a nice way to signpost something. The below shows the callout boxes and the code that is included in the .qmd file to create them.
There are five types.
- Note
- Tip
- Warning
- Important
- Caution
You can also include titles or make them collapsible.
Note
This is a note.
Code:
Tip
Callout blocks are nice to alert people to certain information.
Code:
::: {.callout-tip}
Callout blocks are nice to alert people to certain information.
:::Warning
Smoking leads to coughing
Code:
::: {.callout-warning}
Smoking leads to coughing
:::Important
Remember to breath when stretching
Code:
::: {.callout-important}
Remember to breath when stretching
:::Caution
Don’t get stuck in the circular loop of the next callout block
Code:
::: {.callout-caution}
Don't get stuck in the circular loops of the next callout blocks
:::Title
You can specify the title of a callout block.
Read the title above
Code:
::: {.callout-note title="Read the note below"}
Read the title above
:::Collapse
You can make a callout block collapsible.
Set collapse="false" to make the block collapsible but not collapsed by default.
Hunger leads to eating
::: {.callout-warning collapse="false}
Hunger leads to eating
:::Set collapse="TRUE" to make the collapsible block collapsed by default. Of course you can also add a title.
Collapse this expanded block
::: {.callout-important collapse="true" title="Expand this collapsible block"}
Collapse this expanded block
:::