@slidev/types 0.50.0-beta.8 → 0.50.0
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/dist/index.d.mts +10 -0
- package/package.json +9 -9
package/dist/index.d.mts
CHANGED
|
@@ -335,6 +335,10 @@ interface HeadmatterConfig extends TransitionOptions {
|
|
|
335
335
|
* @default true
|
|
336
336
|
*/
|
|
337
337
|
codeCopy?: boolean;
|
|
338
|
+
/**
|
|
339
|
+
* The author of the slides
|
|
340
|
+
*/
|
|
341
|
+
author?: string;
|
|
338
342
|
/**
|
|
339
343
|
* Information shows on the built SPA
|
|
340
344
|
* Can be a markdown string
|
|
@@ -455,6 +459,12 @@ interface HeadmatterConfig extends TransitionOptions {
|
|
|
455
459
|
* @default true
|
|
456
460
|
*/
|
|
457
461
|
presenter?: boolean | 'dev' | 'build';
|
|
462
|
+
/**
|
|
463
|
+
* Enable browser exporter
|
|
464
|
+
*
|
|
465
|
+
* @default 'dev'
|
|
466
|
+
*/
|
|
467
|
+
browserExporter?: boolean | 'dev' | 'build';
|
|
458
468
|
/**
|
|
459
469
|
* Attributes to apply to the HTML element
|
|
460
470
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/types",
|
|
3
|
-
"version": "0.50.0
|
|
3
|
+
"version": "0.50.0",
|
|
4
4
|
"description": "Shared types declarations for Slidev",
|
|
5
5
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,18 +24,18 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@antfu/utils": "^0.7.10",
|
|
27
|
-
"@shikijs/markdown-it": "^1.24.
|
|
27
|
+
"@shikijs/markdown-it": "^1.24.2",
|
|
28
28
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
29
29
|
"@vitejs/plugin-vue-jsx": "^4.1.1",
|
|
30
|
-
"katex": "^0.16.
|
|
30
|
+
"katex": "^0.16.17",
|
|
31
31
|
"mermaid": "^11.4.1",
|
|
32
32
|
"monaco-editor": "0.51.0",
|
|
33
|
-
"shiki": "^1.24.
|
|
34
|
-
"unocss": "^0.65.
|
|
35
|
-
"unplugin-icons": "^0.
|
|
36
|
-
"unplugin-vue-markdown": "^0.
|
|
37
|
-
"vite-plugin-inspect": "^0.10.
|
|
38
|
-
"vite-plugin-remote-assets": "^0.
|
|
33
|
+
"shiki": "^1.24.2",
|
|
34
|
+
"unocss": "^0.65.1",
|
|
35
|
+
"unplugin-icons": "^0.22.0",
|
|
36
|
+
"unplugin-vue-markdown": "^0.28.0",
|
|
37
|
+
"vite-plugin-inspect": "^0.10.3",
|
|
38
|
+
"vite-plugin-remote-assets": "^0.6.0",
|
|
39
39
|
"vite-plugin-static-copy": "^2.2.0",
|
|
40
40
|
"vite-plugin-vue-server-ref": "^0.4.2",
|
|
41
41
|
"vue": "^3.5.13",
|