An alert in the page text
A prominent alert appears in the middle of the text: here, a warning that in test mode no money is charged. It is set in Markdown, without HTML.
How it works
:::ui.alertcalls the alert from SIMAI Framework.- The next line holds the parameters in JSON. Docara checks them during the build: an unknown parameter or a wrong value stops the build.
- The alert follows the site theme.
What you can change
| Parameter | What it changes |
|---|---|
type |
Meaning: info, success, warning, danger or clear |
variant |
Look: default, flat or outlined |
title |
Title, up to 160 characters |
supporting-text |
Text, up to 500 characters |
closable |
Whether the alert can be closed |
aria-label |
The alert name for screen readers |
For simple notes without SIMAI Framework there is the Alert block.