Skip to contents

Insert a callout-block div of type 'warning', which has a yellow accent and a warning-triangle icon. Will embed text selected by the user, otherwise skeleton help text will be inserted.

Usage

stamp_callout_warning()

Value

Nothing. Text is updated in the active document.

Details

The output looks like this if the user hadn't selected any text:

:::{.callout-warning collapse=false appearance='default' icon=true}
## Optional caption (warning)
- Hide callout body with 'collapse=true'
- Remove 'collapse' to prevent expandability
- Set appearance to 'default', 'simple' or 'minimal'
- Remove icon with 'icon=false'
:::