Admonitions
Grammar
This feature integrated remark-directive
Icon pre-build required
The iconify icons should be in the Pre-build iconify icons config
:::tip|info|note|warning|important|caution|danger[Title]{icon=icon-collection:icon-name}
Some admonition content
::: md
Tip
Tip title
Some tip content
Tip with custom icon
Some tip content
:::tip[Tip title]
Some tip content
:::
:::tip[Tip with custom icon]{icon=ph:smiley}
Some tip content
::: md
View code
Info
Info title
Some info content
Info with custom icon
Some info content
:::info[Info title]
Some info content
:::
:::info[Info with custom icon]{icon=ph:smiley}
Some info content
::: md
View code
Note
Note title
Some note content
Note with custom icon
Some note content
:::note[Note title]
Some note content
:::
:::note[Note with custom icon]{icon=ph:smiley}
Some note content
::: md
View code
Warning
Warning title
Some warning content
Warning with custom icon
Some warning content
:::warning[Warning title]
Some warning content
:::
:::warning[Warning with custom icon]{icon=ph:smiley}
Some warning content
::: md
View code
Important
Important title
Some important content
Important with custom icon
Some important content
:::important[Important title]
Some important content
:::
:::important[Important with custom icon]{icon=ph:smiley}
Some important content
::: md
View code
Caution
Caution title
Some caution content
Caution with custom icon
Some caution content
:::caution[Caution title]
Some caution content
:::
:::caution[Caution with custom icon]{icon=ph:smiley}
Some caution content
::: md
View code
Danger
Danger title
Some danger content
Danger with custom icon
Some danger content
:::danger[Danger title]
Some danger content
:::
:::danger[Danger with custom icon]{icon=ph:smiley}
Some danger content
::: md
View code