The Markdown connector supports the admonitions extension.
- The Markdown connector only supports the
!!!
admonition format. - Admonitions generate HTML without specific styling. To style admonitions, use CSS styling.
To add an admonition to Markdown content:
-
Add CSS styling to the admonitions in the Content styles menu, for example:
.admonition { padding: 5px; border: 1px solid transparent; border-radius: 4px; text-align: left; } .admonition.warning { background-color: #fde3e3; border-color: #eed3d7; } .admonition.warning .admonition-title { display: block; font-weight: bold; text-align: left; color: #ff5733; }
-
Use the following syntax:
!!! warning This is a warning message.
The resulting admonition is the following:
Warning
This is a warning message.