Docs Development
VitePress Containers
VitePress provides several containers. The following examples explain how they should be used in vitepress-docs
.
INFO
The info box is the default go-to for the API3 technical documentation.
TIP
Try to avoid using this container. It overwhelms the theme's dark mode.
WARNING
Express to the reader not to do something.
DANGER
Rarely used. Expresses an important failure concern to the reader should they fail to follow instructions.
Details
Use the details container with extended code samples in order to compress them.
json
{}
1
Usage
md
::: info My custom title
Custom title here Content of the container goes here.
:::
1
2
3
4
5
2
3
4
5
My custom title
Custom title here Content of the container goes here.