@nuxtjs/mdc 0.17.4 → 0.18.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/module.d.mts +4 -0
- package/dist/module.json +1 -1
- package/dist/runtime/components/MDC.vue.d.ts +3 -2
- package/dist/runtime/components/MDCCached.vue.d.ts +3 -2
- package/dist/runtime/components/MDCRenderer.vue.d.ts +2 -1
- package/dist/runtime/components/MDCSlot.vue.d.ts +5 -4
- package/dist/runtime/components/prose/ProseA.vue.d.ts +3 -2
- package/dist/runtime/components/prose/ProseBlockquote.vue.d.ts +3 -2
- package/dist/runtime/components/prose/ProseCode.vue.d.ts +3 -2
- package/dist/runtime/components/prose/ProseEm.vue.d.ts +3 -2
- package/dist/runtime/components/prose/ProseH1.vue.d.ts +3 -2
- package/dist/runtime/components/prose/ProseH2.vue.d.ts +3 -2
- package/dist/runtime/components/prose/ProseH3.vue.d.ts +3 -2
- package/dist/runtime/components/prose/ProseH4.vue.d.ts +3 -2
- package/dist/runtime/components/prose/ProseH5.vue.d.ts +3 -2
- package/dist/runtime/components/prose/ProseH6.vue.d.ts +3 -2
- package/dist/runtime/components/prose/ProseHr.vue.d.ts +2 -1
- package/dist/runtime/components/prose/ProseImg.vue.d.ts +2 -1
- package/dist/runtime/components/prose/ProseLi.vue.d.ts +3 -2
- package/dist/runtime/components/prose/ProseOl.vue.d.ts +3 -2
- package/dist/runtime/components/prose/ProseP.vue.d.ts +3 -2
- package/dist/runtime/components/prose/ProsePre.vue.d.ts +3 -2
- package/dist/runtime/components/prose/ProseScript.vue.d.ts +2 -1
- package/dist/runtime/components/prose/ProseStrong.vue.d.ts +3 -2
- package/dist/runtime/components/prose/ProseTable.vue.d.ts +3 -2
- package/dist/runtime/components/prose/ProseTbody.vue.d.ts +3 -2
- package/dist/runtime/components/prose/ProseTd.vue.d.ts +3 -2
- package/dist/runtime/components/prose/ProseTh.vue.d.ts +3 -2
- package/dist/runtime/components/prose/ProseThead.vue.d.ts +3 -2
- package/dist/runtime/components/prose/ProseTr.vue.d.ts +3 -2
- package/dist/runtime/components/prose/ProseUl.vue.d.ts +3 -2
- package/dist/runtime/stringify/index.js +1 -1
- package/package.json +20 -20
package/dist/module.d.mts
CHANGED
|
@@ -4,6 +4,7 @@ import { Options } from 'remark-rehype';
|
|
|
4
4
|
import { R as RehypeHighlightOption, M as MdcConfig, a as MdcThemeOptions } from './shared/mdc.BkZUOs7X.mjs';
|
|
5
5
|
export { A as Awaitable, b as HighlightResult, c as Highlighter, H as HighlighterOptions, d as defineConfig } from './shared/mdc.BkZUOs7X.mjs';
|
|
6
6
|
import { Options as Options$1 } from 'remark-stringify';
|
|
7
|
+
import { RemarkMDCOptions } from 'remark-mdc';
|
|
7
8
|
import 'unified';
|
|
8
9
|
import 'hast';
|
|
9
10
|
|
|
@@ -103,6 +104,9 @@ interface MDCStringifyOptions {
|
|
|
103
104
|
remarkStringify?: {
|
|
104
105
|
options?: Options$1;
|
|
105
106
|
};
|
|
107
|
+
remarkMDC?: {
|
|
108
|
+
options?: RemarkMDCOptions;
|
|
109
|
+
};
|
|
106
110
|
};
|
|
107
111
|
}
|
|
108
112
|
|
package/dist/module.json
CHANGED
|
@@ -10,7 +10,7 @@ declare var __VLS_1: {
|
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
default?: (props: typeof __VLS_1) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const
|
|
13
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
14
14
|
tag: {
|
|
15
15
|
type: (StringConstructor | BooleanConstructor)[];
|
|
16
16
|
default: string;
|
|
@@ -131,7 +131,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
131
131
|
cacheKey: string;
|
|
132
132
|
partial: boolean;
|
|
133
133
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
134
|
-
declare const
|
|
134
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
135
|
+
declare const _default: typeof __VLS_export;
|
|
135
136
|
export default _default;
|
|
136
137
|
type __VLS_WithSlots<T, S> = T & {
|
|
137
138
|
new (): {
|
|
@@ -10,7 +10,7 @@ declare var __VLS_1: {
|
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
default?: (props: typeof __VLS_1) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const
|
|
13
|
+
declare const __VLS_base: DefineComponent<import("vue").ExtractPropTypes<{
|
|
14
14
|
tag: {
|
|
15
15
|
type: (StringConstructor | BooleanConstructor)[];
|
|
16
16
|
default: string;
|
|
@@ -146,7 +146,8 @@ declare const __VLS_component: DefineComponent<import("vue").ExtractPropTypes<{
|
|
|
146
146
|
partial: boolean;
|
|
147
147
|
components: Record<string, string | DefineComponent<any, any, any>>;
|
|
148
148
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
149
|
-
declare const
|
|
149
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
150
|
+
declare const _default: typeof __VLS_export;
|
|
150
151
|
export default _default;
|
|
151
152
|
type __VLS_WithSlots<T, S> = T & {
|
|
152
153
|
new (): {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PropType, DefineComponent } from 'vue';
|
|
2
2
|
import type { MDCRoot } from '@nuxtjs/mdc';
|
|
3
|
-
declare const
|
|
3
|
+
declare const __VLS_export: DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
/**
|
|
5
5
|
* Content to render
|
|
6
6
|
*/
|
|
@@ -120,4 +120,5 @@ declare const _default: DefineComponent<import("vue").ExtractPropTypes<{
|
|
|
120
120
|
components: Record<string, string | DefineComponent<any, any, any>>;
|
|
121
121
|
prose: boolean;
|
|
122
122
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
123
|
+
declare const _default: typeof __VLS_export;
|
|
123
124
|
export default _default;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import type { Slot } from 'vue';
|
|
2
|
-
|
|
3
|
-
* MDCSlot component
|
|
4
|
-
*/
|
|
5
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
3
|
name: {
|
|
7
4
|
type: StringConstructor;
|
|
8
5
|
default: string;
|
|
@@ -53,4 +50,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
53
50
|
name: string;
|
|
54
51
|
use: Function;
|
|
55
52
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
/**
|
|
54
|
+
* MDCSlot component
|
|
55
|
+
*/
|
|
56
|
+
declare const _default: typeof __VLS_export;
|
|
56
57
|
export default _default;
|
|
@@ -3,7 +3,7 @@ declare var __VLS_7: {};
|
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
default?: (props: typeof __VLS_7) => any;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
7
|
href: {
|
|
8
8
|
type: StringConstructor;
|
|
9
9
|
default: string;
|
|
@@ -27,7 +27,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
27
27
|
href: string;
|
|
28
28
|
target: "_blank" | "_parent" | "_self" | "_top" | null | undefined;
|
|
29
29
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
30
|
-
declare const
|
|
30
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
31
32
|
export default _default;
|
|
32
33
|
type __VLS_WithSlots<T, S> = T & {
|
|
33
34
|
new (): {
|
|
@@ -2,8 +2,9 @@ declare var __VLS_1: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
@@ -2,8 +2,9 @@ declare var __VLS_1: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
@@ -2,8 +2,9 @@ declare var __VLS_1: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
@@ -7,8 +7,9 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
} & {
|
|
8
8
|
default?: (props: typeof __VLS_3) => any;
|
|
9
9
|
};
|
|
10
|
-
declare const
|
|
11
|
-
declare const
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
12
13
|
export default _default;
|
|
13
14
|
type __VLS_WithSlots<T, S> = T & {
|
|
14
15
|
new (): {
|
|
@@ -7,8 +7,9 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
} & {
|
|
8
8
|
default?: (props: typeof __VLS_3) => any;
|
|
9
9
|
};
|
|
10
|
-
declare const
|
|
11
|
-
declare const
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
12
13
|
export default _default;
|
|
13
14
|
type __VLS_WithSlots<T, S> = T & {
|
|
14
15
|
new (): {
|
|
@@ -7,8 +7,9 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
} & {
|
|
8
8
|
default?: (props: typeof __VLS_3) => any;
|
|
9
9
|
};
|
|
10
|
-
declare const
|
|
11
|
-
declare const
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
12
13
|
export default _default;
|
|
13
14
|
type __VLS_WithSlots<T, S> = T & {
|
|
14
15
|
new (): {
|
|
@@ -7,8 +7,9 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
} & {
|
|
8
8
|
default?: (props: typeof __VLS_3) => any;
|
|
9
9
|
};
|
|
10
|
-
declare const
|
|
11
|
-
declare const
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
12
13
|
export default _default;
|
|
13
14
|
type __VLS_WithSlots<T, S> = T & {
|
|
14
15
|
new (): {
|
|
@@ -7,8 +7,9 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
} & {
|
|
8
8
|
default?: (props: typeof __VLS_3) => any;
|
|
9
9
|
};
|
|
10
|
-
declare const
|
|
11
|
-
declare const
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
12
13
|
export default _default;
|
|
13
14
|
type __VLS_WithSlots<T, S> = T & {
|
|
14
15
|
new (): {
|
|
@@ -7,8 +7,9 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
} & {
|
|
8
8
|
default?: (props: typeof __VLS_3) => any;
|
|
9
9
|
};
|
|
10
|
-
declare const
|
|
11
|
-
declare const
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
12
13
|
export default _default;
|
|
13
14
|
type __VLS_WithSlots<T, S> = T & {
|
|
14
15
|
new (): {
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
src: {
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
default: string;
|
|
@@ -38,4 +38,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
38
38
|
width: string | number;
|
|
39
39
|
height: string | number;
|
|
40
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
41
|
+
declare const _default: typeof __VLS_export;
|
|
41
42
|
export default _default;
|
|
@@ -2,8 +2,9 @@ declare var __VLS_1: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
@@ -2,8 +2,9 @@ declare var __VLS_1: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
@@ -2,8 +2,9 @@ declare var __VLS_1: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
@@ -2,7 +2,7 @@ declare var __VLS_1: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
6
|
code: {
|
|
7
7
|
type: StringConstructor;
|
|
8
8
|
default: string;
|
|
@@ -60,7 +60,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
60
60
|
highlights: number[];
|
|
61
61
|
filename: string;
|
|
62
62
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
63
|
-
declare const
|
|
63
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
64
|
+
declare const _default: typeof __VLS_export;
|
|
64
65
|
export default _default;
|
|
65
66
|
type __VLS_WithSlots<T, S> = T & {
|
|
66
67
|
new (): {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
src: {
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
default: string;
|
|
@@ -11,4 +11,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
11
11
|
}>> & Readonly<{}>, {
|
|
12
12
|
src: string;
|
|
13
13
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
14
15
|
export default _default;
|
|
@@ -2,8 +2,9 @@ declare var __VLS_1: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
@@ -2,8 +2,9 @@ declare var __VLS_1: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
@@ -2,8 +2,9 @@ declare var __VLS_1: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
@@ -2,8 +2,9 @@ declare var __VLS_1: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
@@ -2,8 +2,9 @@ declare var __VLS_1: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
@@ -2,8 +2,9 @@ declare var __VLS_1: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
@@ -2,8 +2,9 @@ declare var __VLS_1: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
@@ -2,8 +2,9 @@ declare var __VLS_1: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
@@ -8,7 +8,7 @@ export function createStringifyProcessor(options = {}) {
|
|
|
8
8
|
this.parser = function(root) {
|
|
9
9
|
return JSON.parse(root);
|
|
10
10
|
};
|
|
11
|
-
}).use(mdcRemark).use(gfm).use(mdc).use(stringify, {
|
|
11
|
+
}).use(mdcRemark).use(gfm).use(mdc, options?.plugins?.remarkMDC?.options || {}).use(stringify, {
|
|
12
12
|
bullet: "-",
|
|
13
13
|
emphasis: "*",
|
|
14
14
|
rule: "-",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxtjs/mdc",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "Nuxt MDC module",
|
|
5
5
|
"repository": "nuxt-content/mdc",
|
|
6
6
|
"license": "MIT",
|
|
@@ -68,16 +68,16 @@
|
|
|
68
68
|
"verify": "npm run dev:prepare && npm run lint && npm run test && npm run typecheck"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@nuxt/kit": "^4.1.
|
|
72
|
-
"@shikijs/core": "^3.
|
|
73
|
-
"@shikijs/langs": "^3.
|
|
74
|
-
"@shikijs/themes": "^3.
|
|
75
|
-
"@shikijs/transformers": "^3.
|
|
71
|
+
"@nuxt/kit": "^4.1.3",
|
|
72
|
+
"@shikijs/core": "^3.13.0",
|
|
73
|
+
"@shikijs/langs": "^3.13.0",
|
|
74
|
+
"@shikijs/themes": "^3.13.0",
|
|
75
|
+
"@shikijs/transformers": "^3.13.0",
|
|
76
76
|
"@types/hast": "^3.0.4",
|
|
77
77
|
"@types/mdast": "^4.0.4",
|
|
78
|
-
"@vue/compiler-core": "^3.5.
|
|
78
|
+
"@vue/compiler-core": "^3.5.22",
|
|
79
79
|
"consola": "^3.4.2",
|
|
80
|
-
"debug": "^4.4.
|
|
80
|
+
"debug": "^4.4.3",
|
|
81
81
|
"defu": "^6.1.4",
|
|
82
82
|
"destr": "^2.0.5",
|
|
83
83
|
"detab": "^3.0.2",
|
|
@@ -99,12 +99,12 @@
|
|
|
99
99
|
"rehype-sort-attributes": "^5.0.1",
|
|
100
100
|
"remark-emoji": "^5.0.2",
|
|
101
101
|
"remark-gfm": "^4.0.1",
|
|
102
|
-
"remark-mdc": "
|
|
102
|
+
"remark-mdc": "npm:remark-mdc-edge@3.6.0-29333381.8558577",
|
|
103
103
|
"remark-parse": "^11.0.0",
|
|
104
104
|
"remark-rehype": "^11.1.2",
|
|
105
105
|
"remark-stringify": "^11.0.0",
|
|
106
106
|
"scule": "^1.3.0",
|
|
107
|
-
"shiki": "^3.
|
|
107
|
+
"shiki": "^3.13.0",
|
|
108
108
|
"ufo": "^1.6.1",
|
|
109
109
|
"unified": "^11.0.5",
|
|
110
110
|
"unist-builder": "^4.0.0",
|
|
@@ -113,26 +113,26 @@
|
|
|
113
113
|
"vfile": "^6.0.3"
|
|
114
114
|
},
|
|
115
115
|
"devDependencies": {
|
|
116
|
-
"@nuxt/devtools": "^2.6.
|
|
116
|
+
"@nuxt/devtools": "^2.6.5",
|
|
117
117
|
"@nuxt/eslint-config": "^1.9.0",
|
|
118
118
|
"@nuxt/module-builder": "^1.0.2",
|
|
119
|
-
"@nuxt/schema": "^4.1.
|
|
119
|
+
"@nuxt/schema": "^4.1.3",
|
|
120
120
|
"@nuxt/test-utils": "^3.19.2",
|
|
121
|
-
"@nuxt/ui": "^
|
|
121
|
+
"@nuxt/ui": "^4.0.1",
|
|
122
122
|
"@nuxtjs/mdc": "link:.",
|
|
123
|
-
"@types/node": "^24.
|
|
124
|
-
"eslint": "^9.
|
|
125
|
-
"nuxt": "^4.1.
|
|
123
|
+
"@types/node": "^24.7.0",
|
|
124
|
+
"eslint": "^9.37.0",
|
|
125
|
+
"nuxt": "^4.1.3",
|
|
126
126
|
"rehype": "^13.0.2",
|
|
127
|
-
"release-it": "^19.0.
|
|
128
|
-
"typescript": "5.9.
|
|
127
|
+
"release-it": "^19.0.5",
|
|
128
|
+
"typescript": "5.9.3",
|
|
129
129
|
"vitest": "^3.2.4",
|
|
130
|
-
"vue-tsc": "^3.
|
|
130
|
+
"vue-tsc": "^3.1.1"
|
|
131
131
|
},
|
|
132
132
|
"resolutions": {
|
|
133
133
|
"@nuxtjs/mdc": "workspace:*"
|
|
134
134
|
},
|
|
135
|
-
"packageManager": "pnpm@10.
|
|
135
|
+
"packageManager": "pnpm@10.18.1",
|
|
136
136
|
"release-it": {
|
|
137
137
|
"git": {
|
|
138
138
|
"commitMessage": "chore(release): release v${version}"
|