Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion packages/docs/docs/guide/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ Rendering of TOC can be configured using the [`markdown.toc`](../config/README.m

## Custom Containers <Badge text="default theme"/>

Custom containers can be defined by their types, titles, and contents.

### Default Title
**Input**

```md
Expand Down Expand Up @@ -159,7 +162,8 @@ This is a dangerous warning
This is a details block, which does not work in IE / Edge
:::

You can also customize the title of the block:
### Custom Title
**Input**

````md
::: danger STOP
Expand All @@ -173,6 +177,8 @@ console.log('Hello, VuePress!')
:::
````

**Output**

::: danger STOP
Danger zone, do not proceed
:::
Expand Down