File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,19 @@ export default defineUserConfig<DefaultThemeOptions>({
44
44
} ,
45
45
} ,
46
46
] ,
47
+ [
48
+ '@vuepress/container' ,
49
+ {
50
+ type : 'demo-rounded' ,
51
+ render : function ( tokens , idx ) {
52
+ if ( tokens [ idx ] . nesting === 1 ) {
53
+ return '<div class="docs-example border rounded p-4">\n'
54
+ } else {
55
+ return '</div>\n'
56
+ }
57
+ } ,
58
+ } ,
59
+ ] ,
47
60
[
48
61
'@vuepress/container' ,
49
62
{
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Due to the widespread use of `<CTable>` elements across third-party widgets like
11
11
12
12
Using the most basic table CoreUI, here's how ` <CTable> ` -based tables look in CoreUI.
13
13
14
- ::: demo
14
+ ::: demo-rounded
15
15
<CTable :columns =" columns " :items =" items " />
16
16
:::
17
17
@@ -694,7 +694,7 @@ These hoverable rows can also be combined with the striped variant:
694
694
695
695
Highlight a table row or cell by adding a ` active ` property.
696
696
697
- ::: demo
697
+ ::: demo-rounded
698
698
<CTable :columns =" columnsActiveTableExample " :items =" itemsActiveTableExample " />
699
699
:::
700
700
You can’t perform that action at this time.
0 commit comments