File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,9 @@ Rendering of TOC can be configured using the [`markdown.toc`](../config/README.m
121
121
122
122
## Custom Containers <Badge text =" default theme " />
123
123
124
+ Containers can be defined by their types, titles, and contents. The default titles would be applied while customized titles were missing or empty.
125
+
126
+ ### Apply Default Titles
124
127
** Input**
125
128
126
129
``` md
@@ -159,7 +162,8 @@ This is a dangerous warning
159
162
This is a details block, which does not work in IE / Edge
160
163
:::
161
164
162
- You can also customize the title of the block:
165
+ ### Apply Customized Titles
166
+ ** Input**
163
167
164
168
```` md
165
169
::: danger STOP
@@ -173,6 +177,8 @@ console.log('Hello, VuePress!')
173
177
:::
174
178
````
175
179
180
+ ** Output**
181
+
176
182
::: danger STOP
177
183
Danger zone, do not proceed
178
184
:::
You can’t perform that action at this time.
0 commit comments