Admonitions

Grammar

This feature integrated

remark-directive

Icon pre-build required

The iconify icons should be in the

:::tip|info|note|warning|important|caution[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
Click fold/expand 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
Click fold/expand 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
Click fold/expand 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
Click fold/expand 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
Click fold/expand 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
Click fold/expand code
Last update at: 2024/03/19 06:32:39