vuepress-plugin-md-power 1.0.0-rc.102 → 1.0.0-rc.103

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.
@@ -46,12 +46,19 @@ interface CodeSandboxTokenMeta extends SizeOptions {
46
46
  console?: boolean;
47
47
  }
48
48
 
49
+ interface CodeTabsOptions {
50
+ icon?: boolean | {
51
+ named?: false | string[];
52
+ extensions?: false | string[];
53
+ };
54
+ }
55
+
56
+ type FileTreeIconMode = 'simple' | 'colored';
57
+ interface FileTreeOptions {
58
+ icon?: FileTreeIconMode;
59
+ }
60
+
49
61
  interface IconsOptions {
50
- /**
51
- * The prefix of the icon className
52
- * @default 'vp-mdi'
53
- */
54
- prefix?: string;
55
62
  /**
56
63
  * The size of the icon
57
64
  * @default '1em'
@@ -138,6 +145,10 @@ interface ReplEditorData {
138
145
  }
139
146
 
140
147
  interface MarkdownPowerPluginOptions {
148
+ /**
149
+ * 配置代码块分组
150
+ */
151
+ codeTabs?: CodeTabsOptions;
141
152
  /**
142
153
  * 是否启用 PDF 嵌入语法
143
154
  *
@@ -217,7 +228,7 @@ interface MarkdownPowerPluginOptions {
217
228
  *
218
229
  * @default false
219
230
  */
220
- fileTree?: boolean;
231
+ fileTree?: boolean | FileTreeOptions;
221
232
  /**
222
233
  * 是否启用 caniuse 嵌入语法
223
234
  *
@@ -274,4 +285,4 @@ interface YoutubeTokenMeta extends SizeOptions {
274
285
  end?: string | number;
275
286
  }
276
287
 
277
- export type { BilibiliTokenMeta, CanIUseMode, CanIUseOptions, CanIUseTokenMeta, CodeSandboxTokenMeta, CodepenTokenMeta, IconsOptions, JSFiddleTokenMeta, MarkdownPowerPluginOptions, PDFEmbedType, PDFOptions, PDFTokenMeta, PlotOptions, ReplEditorData, ReplOptions, ReplitTokenMeta, SizeOptions, ThemeOptions, VideoOptions, YoutubeTokenMeta };
288
+ export type { BilibiliTokenMeta, CanIUseMode, CanIUseOptions, CanIUseTokenMeta, CodeSandboxTokenMeta, CodeTabsOptions, CodepenTokenMeta, FileTreeIconMode, FileTreeOptions, IconsOptions, JSFiddleTokenMeta, MarkdownPowerPluginOptions, PDFEmbedType, PDFOptions, PDFTokenMeta, PlotOptions, ReplEditorData, ReplOptions, ReplitTokenMeta, SizeOptions, ThemeOptions, VideoOptions, YoutubeTokenMeta };
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.102",
4
+ "version": "1.0.0-rc.103",
5
5
  "description": "The Plugin for VuePress 2 - markdown power",
6
6
  "author": "pengzhanbo <volodymyr@foxmail.com>",
7
7
  "license": "MIT",
@@ -34,15 +34,22 @@
34
34
  "vuepress": "2.0.0-rc.15"
35
35
  },
36
36
  "dependencies": {
37
- "@vuepress/helper": "2.0.0-rc.46",
37
+ "@mdit/plugin-attrs": "^0.13.1",
38
+ "@mdit/plugin-footnote": "^0.13.1",
39
+ "@mdit/plugin-mark": "^0.13.1",
40
+ "@mdit/plugin-sub": "^0.13.1",
41
+ "@mdit/plugin-sup": "^0.13.1",
42
+ "@mdit/plugin-tab": "^0.13.2",
43
+ "@mdit/plugin-tasklist": "^0.13.1",
44
+ "@vuepress/helper": "2.0.0-rc.47",
38
45
  "@vueuse/core": "^11.1.0",
39
46
  "image-size": "^1.1.1",
40
47
  "markdown-it-container": "^4.0.0",
41
48
  "nanoid": "^5.0.7",
42
49
  "shiki": "^1.18.0",
43
- "tm-grammars": "^1.17.24",
44
- "tm-themes": "^1.8.3",
45
- "vue": "^3.5.7"
50
+ "tm-grammars": "^1.17.25",
51
+ "tm-themes": "^1.8.4",
52
+ "vue": "^3.5.8"
46
53
  },
47
54
  "devDependencies": {
48
55
  "@types/markdown-it": "^14.1.2"