vuepress-plugin-md-power 1.0.0-rc.135 → 1.0.0-rc.137
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client/components/CodeRepl.vue +2 -2
- package/lib/client/components/VPCollapse.vue +31 -0
- package/lib/client/components/VPCollapseItem.vue +118 -0
- package/lib/client/components/VPFadeInExpandTransition.vue +154 -0
- package/lib/client/components/VPTimeline.vue +52 -0
- package/lib/client/components/VPTimelineItem.vue +330 -0
- package/lib/client/options.d.ts +3 -1
- package/lib/client/options.js +8 -0
- package/lib/client/styles/demo.css +2 -2
- package/lib/node/index.d.ts +40 -1
- package/lib/node/index.js +570 -359
- package/lib/shared/index.d.ts +37 -0
- package/package.json +21 -20
package/lib/shared/index.d.ts
CHANGED
|
@@ -180,6 +180,10 @@ interface MarkdownPowerPluginOptions {
|
|
|
180
180
|
* @default false
|
|
181
181
|
*/
|
|
182
182
|
annotation?: boolean;
|
|
183
|
+
/**
|
|
184
|
+
* 是否启用 abbr 语法
|
|
185
|
+
* @default false
|
|
186
|
+
*/
|
|
183
187
|
abbr?: boolean;
|
|
184
188
|
/**
|
|
185
189
|
* 配置代码块分组
|
|
@@ -213,6 +217,39 @@ interface MarkdownPowerPluginOptions {
|
|
|
213
217
|
* @default false
|
|
214
218
|
*/
|
|
215
219
|
plot?: boolean | PlotOptions;
|
|
220
|
+
/**
|
|
221
|
+
* 是否启用 timeline 语法
|
|
222
|
+
*
|
|
223
|
+
* ```md
|
|
224
|
+
* ::: timeline
|
|
225
|
+
* - title
|
|
226
|
+
* time="Q1" icon="ri:clockwise-line" line="dashed" type="warning" color="red"
|
|
227
|
+
*
|
|
228
|
+
* xxx
|
|
229
|
+
* :::
|
|
230
|
+
* ```
|
|
231
|
+
*
|
|
232
|
+
* @default false
|
|
233
|
+
*/
|
|
234
|
+
timeline?: boolean;
|
|
235
|
+
/**
|
|
236
|
+
* 是否启用 collapse 折叠面板 语法
|
|
237
|
+
*
|
|
238
|
+
* ```md
|
|
239
|
+
* ::: collapse accordion
|
|
240
|
+
* - + title
|
|
241
|
+
*
|
|
242
|
+
* content
|
|
243
|
+
*
|
|
244
|
+
* - - title
|
|
245
|
+
*
|
|
246
|
+
* content
|
|
247
|
+
* :::
|
|
248
|
+
* ```
|
|
249
|
+
*
|
|
250
|
+
* @default false
|
|
251
|
+
*/
|
|
252
|
+
collapse?: boolean;
|
|
216
253
|
/**
|
|
217
254
|
* 是否启用 bilibili 视频嵌入
|
|
218
255
|
*
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vuepress-plugin-md-power",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.0-rc.
|
|
4
|
+
"version": "1.0.0-rc.137",
|
|
5
5
|
"description": "The Plugin for VuePress 2 - markdown power",
|
|
6
6
|
"author": "pengzhanbo <volodymyr@foxmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
"lib"
|
|
32
32
|
],
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"artplayer": "^5.2.
|
|
34
|
+
"artplayer": "^5.2.2",
|
|
35
35
|
"dashjs": "^5.0.0",
|
|
36
|
-
"esbuild": "
|
|
37
|
-
"hls.js": "^1.5.
|
|
38
|
-
"less": "^4.2.
|
|
39
|
-
"markdown-it": "^14.
|
|
40
|
-
"mpegts.js": "^1.
|
|
41
|
-
"sass": "^1.
|
|
42
|
-
"sass-embedded": "^1.
|
|
43
|
-
"stylus": "
|
|
36
|
+
"esbuild": "^0.25.1",
|
|
37
|
+
"hls.js": "^1.5.20",
|
|
38
|
+
"less": "^4.2.2",
|
|
39
|
+
"markdown-it": "^14.1.0",
|
|
40
|
+
"mpegts.js": "^1.7.3",
|
|
41
|
+
"sass": "^1.86.0",
|
|
42
|
+
"sass-embedded": "^1.86.0",
|
|
43
|
+
"stylus": "^0.64.0",
|
|
44
44
|
"vuepress": "2.0.0-rc.20"
|
|
45
45
|
},
|
|
46
46
|
"peerDependenciesMeta": {
|
|
@@ -62,23 +62,24 @@
|
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@mdit/plugin-attrs": "^0.16.7",
|
|
65
|
-
"@mdit/plugin-footnote": "^0.16.
|
|
65
|
+
"@mdit/plugin-footnote": "^0.16.8",
|
|
66
66
|
"@mdit/plugin-mark": "^0.16.0",
|
|
67
67
|
"@mdit/plugin-sub": "^0.16.0",
|
|
68
68
|
"@mdit/plugin-sup": "^0.16.0",
|
|
69
69
|
"@mdit/plugin-tab": "^0.16.0",
|
|
70
70
|
"@mdit/plugin-tasklist": "^0.16.0",
|
|
71
|
-
"@
|
|
72
|
-
"@
|
|
71
|
+
"@pengzhanbo/utils": "^1.2.0",
|
|
72
|
+
"@vuepress/helper": "2.0.0-rc.82",
|
|
73
|
+
"@vueuse/core": "^13.0.0",
|
|
73
74
|
"chokidar": "3.6.0",
|
|
74
|
-
"image-size": "^2.0.
|
|
75
|
-
"local-pkg": "^1.1.
|
|
75
|
+
"image-size": "^2.0.1",
|
|
76
|
+
"local-pkg": "^1.1.1",
|
|
76
77
|
"lru-cache": "^11.0.2",
|
|
77
78
|
"markdown-it-container": "^4.0.0",
|
|
78
|
-
"nanoid": "^5.1.
|
|
79
|
-
"shiki": "^3.1
|
|
80
|
-
"tm-grammars": "^1.
|
|
81
|
-
"tm-themes": "^1.
|
|
79
|
+
"nanoid": "^5.1.5",
|
|
80
|
+
"shiki": "^3.2.1",
|
|
81
|
+
"tm-grammars": "^1.23.5",
|
|
82
|
+
"tm-themes": "^1.10.1",
|
|
82
83
|
"vue": "^3.5.13"
|
|
83
84
|
},
|
|
84
85
|
"devDependencies": {
|
|
@@ -86,7 +87,7 @@
|
|
|
86
87
|
"artplayer": "^5.2.2",
|
|
87
88
|
"dashjs": "^5.0.0",
|
|
88
89
|
"hls.js": "^1.5.20",
|
|
89
|
-
"mpegts.js": "
|
|
90
|
+
"mpegts.js": "1.7.3"
|
|
90
91
|
},
|
|
91
92
|
"publishConfig": {
|
|
92
93
|
"access": "public"
|