Skip to content

Commit d2c8e53

Browse files
serialcgithub-actions[bot]
authored andcommitted
Update callouts.qmd
Removed the duplicate caution, clarified default behaviour. (cherry picked from commit 3ec5ff7)
1 parent e326725 commit d2c8e53

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

docs/authoring/callouts.qmd

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,25 +26,19 @@ Callouts provide a simple way to attract attention, for example, to this warning
2626
:::
2727

2828
::: callout-important
29-
## This is Important
30-
3129
Danger, callouts will really improve your writing.
3230
:::
3331

34-
::: callout-caution
35-
## Headings are not necessary
36-
37-
Providing a heading is optional and the keyword (Note, Warning, Important, Tip, or Caution) will be used instead.
38-
:::
39-
4032
::: callout-tip
4133
## Tip With Title
4234

43-
This is an example of a callout with a title.
35+
This is an example of a callout with a title. Providing a heading is optional.
36+
37+
When no heading is provided the callout type will determine the expected heading (i.e., Note, Warning, Important, Tip, or Caution).
4438
:::
4539

4640
::: {.callout-caution collapse="true"}
47-
## Expand To Learn About Collapse
41+
## Caution: Expand To Learn About Collapse
4842

4943
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.
5044
:::

0 commit comments

Comments
 (0)