Vitepress Custom Containers
These are like Alerts in Markdown for GitHub-flavoured Markdown.
Define them using blocks delimited with :::
.
Like:
markdown
:::info
This is an info box!
:::
:::tip
Check this out :D
:::
The types are info
, tip
, warning
, danger
, and details
.
details
acts as a hidden block which can be expanded by clicking on it.
You can also define a custom title for each container:
markdown
:::danger THIS IS IMPORTANT!!
Oh hi there
:::
:::details dont click me
now u have infinity bad luck oh no
:::