@coderminer/vue-markdown 0.0.0-stage → 1.0.1
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/CHANGELOG.md +226 -0
- package/LICENSE +21 -0
- package/README.md +584 -3
- package/README.zh-CN.md +550 -0
- package/dist/chunks/MarkdownBlockquote-DVXziX2t.js +16 -0
- package/dist/chunks/MarkdownBreak-BwCi2Itt.js +16 -0
- package/dist/chunks/MarkdownCode-B1k9tmW5.js +63 -0
- package/dist/chunks/MarkdownConfigProvider-5N3ylrIu.js +49 -0
- package/dist/chunks/MarkdownContent-BAK6dqo7.js +13 -0
- package/dist/chunks/MarkdownCustomTag-lZJHsD6f.js +46 -0
- package/dist/chunks/MarkdownEmphasis-CppivOEu.js +16 -0
- package/dist/chunks/MarkdownEmpty-Av5k6bqa.js +14 -0
- package/dist/chunks/MarkdownError-C0sPs5W0.js +17 -0
- package/dist/chunks/MarkdownFootnoteReference-Dy3Khwyj.js +22 -0
- package/dist/chunks/MarkdownFootnotes-BRPzkbXv.js +21 -0
- package/dist/chunks/MarkdownHeading-DaNcP0_6.js +29 -0
- package/dist/chunks/MarkdownHorizontalRule-QNe_cuUI.js +16 -0
- package/dist/chunks/MarkdownHtml-66lYkvwM.js +13 -0
- package/dist/chunks/MarkdownImage-BRy76svs.js +51 -0
- package/dist/chunks/MarkdownInlineCode-MXZYFwex.js +16 -0
- package/dist/chunks/MarkdownLink-Dbx3NwgV.js +45 -0
- package/dist/chunks/MarkdownList-BJ-_C71k.js +20 -0
- package/dist/chunks/MarkdownListItem-Z1EHIY26.js +16 -0
- package/dist/chunks/MarkdownLoading-D-RYtXxf.js +15 -0
- package/dist/chunks/MarkdownParagraph-BxLSmSaG.js +16 -0
- package/dist/chunks/MarkdownRenderer-OlkdsvI3.js +482 -0
- package/dist/chunks/MarkdownRoot-DEE6iVfh.js +23 -0
- package/dist/chunks/MarkdownStrikethrough-CblvbqDk.js +16 -0
- package/dist/chunks/MarkdownStrong-uU5MzAoJ.js +16 -0
- package/dist/chunks/MarkdownTable-DmBTg_CR.js +16 -0
- package/dist/chunks/MarkdownTableCell-eiCJe847.js +31 -0
- package/dist/chunks/MarkdownTableRow-DuJaPntg.js +16 -0
- package/dist/chunks/MarkdownTableSection-PFHz-R33.js +24 -0
- package/dist/chunks/MarkdownTaskItem-BcmKo1lk.js +38 -0
- package/dist/chunks/MarkdownToc-DHWWoH6t.js +49 -0
- package/dist/chunks/MarkdownTocItem-DT9mR3vL.js +25 -0
- package/dist/chunks/MermaidLiveEditor-1TKkI5bp.js +414 -0
- package/dist/chunks/VueSyntaxHighlighter-BWpCO-cX.js +260 -0
- package/dist/chunks/adapters-CMwX_NEI.js +26 -0
- package/dist/chunks/asyncToGenerator-ChigusFD.js +26 -0
- package/dist/chunks/blank-line-CKKsFeKR.js +88 -0
- package/dist/chunks/codemirror-DyphMAEg.js +82 -0
- package/dist/chunks/config-aRYo2R8_.js +10 -0
- package/dist/chunks/context-8NfW6fxI.js +30 -0
- package/dist/chunks/convert-hast-C4Rg2ZuF.js +6 -0
- package/dist/chunks/default-ZQ5aHh-N.js +3 -0
- package/dist/chunks/diagnostics-CtHoJyiX.js +23 -0
- package/dist/chunks/export-BrgMLgUp.js +1574 -0
- package/dist/chunks/hast-to-nodes-DuZsi4XT.js +29 -0
- package/dist/chunks/hast-util-from-html-D3e_iQ89.js +5088 -0
- package/dist/chunks/highlightjs-BxJFpKS1.js +196 -0
- package/dist/chunks/identity-Bi27FKyx.js +6243 -0
- package/dist/chunks/labels-BtHiUTQI.js +47 -0
- package/dist/chunks/lib-CCnkLL6S.js +252 -0
- package/dist/chunks/longest-streak-DZE_EqsU.js +8 -0
- package/dist/chunks/micromark-factory-space-CpXAnYUY.js +137 -0
- package/dist/chunks/normalize-VKfQXZiK.js +226 -0
- package/dist/chunks/objectSpread2-CtBNx0TF.js +57 -0
- package/dist/chunks/plugin-YWo5uqTh.js +27 -0
- package/dist/chunks/preset-BjaOuJUL.js +44 -0
- package/dist/chunks/registry-B7BfEkuy.js +6150 -0
- package/dist/chunks/render-DAqK0w5J.js +1754 -0
- package/dist/chunks/rolldown-runtime-QGRDbDUS.js +19 -0
- package/dist/chunks/runtime-D95F41zG.js +574 -0
- package/dist/chunks/security-y4EwUyAs.js +212 -0
- package/dist/chunks/shared-NjFDPmkb.js +67 -0
- package/dist/chunks/space-separated-tokens-1ebNqf35.js +1097 -0
- package/dist/chunks/url-D2BoivaE.js +24 -0
- package/dist/chunks/useActiveHeading-CnyGTG1u.js +359 -0
- package/dist/components/CodeBlock.d.ts +73 -0
- package/dist/components/CodeBlock.js +1 -0
- package/dist/components/Icon.d.ts +6 -0
- package/dist/components/MarkdownBlockquote.d.ts +18 -0
- package/dist/components/MarkdownBlockquote.js +1 -0
- package/dist/components/MarkdownBreak.d.ts +8 -0
- package/dist/components/MarkdownBreak.js +1 -0
- package/dist/components/MarkdownChildren.d.ts +17 -0
- package/dist/components/MarkdownCode.d.ts +29 -0
- package/dist/components/MarkdownCode.js +1 -0
- package/dist/components/MarkdownConfigProvider.d.ts +33 -0
- package/dist/components/MarkdownConfigProvider.js +1 -0
- package/dist/components/MarkdownContent.d.ts +16 -0
- package/dist/components/MarkdownContent.js +1 -0
- package/dist/components/MarkdownCustomTag.d.ts +20 -0
- package/dist/components/MarkdownCustomTag.js +1 -0
- package/dist/components/MarkdownEmphasis.d.ts +18 -0
- package/dist/components/MarkdownEmphasis.js +1 -0
- package/dist/components/MarkdownEmpty.d.ts +8 -0
- package/dist/components/MarkdownEmpty.js +1 -0
- package/dist/components/MarkdownError.d.ts +11 -0
- package/dist/components/MarkdownError.js +1 -0
- package/dist/components/MarkdownFootnoteReference.d.ts +19 -0
- package/dist/components/MarkdownFootnoteReference.js +1 -0
- package/dist/components/MarkdownFootnotes.d.ts +17 -0
- package/dist/components/MarkdownFootnotes.js +1 -0
- package/dist/components/MarkdownHeading.d.ts +18 -0
- package/dist/components/MarkdownHeading.js +1 -0
- package/dist/components/MarkdownHorizontalRule.d.ts +8 -0
- package/dist/components/MarkdownHorizontalRule.js +1 -0
- package/dist/components/MarkdownHtml.d.ts +8 -0
- package/dist/components/MarkdownHtml.js +1 -0
- package/dist/components/MarkdownImage.d.ts +15 -0
- package/dist/components/MarkdownImage.js +1 -0
- package/dist/components/MarkdownInlineCode.d.ts +18 -0
- package/dist/components/MarkdownInlineCode.js +1 -0
- package/dist/components/MarkdownLink.d.ts +22 -0
- package/dist/components/MarkdownLink.js +1 -0
- package/dist/components/MarkdownList.d.ts +18 -0
- package/dist/components/MarkdownList.js +1 -0
- package/dist/components/MarkdownListItem.d.ts +18 -0
- package/dist/components/MarkdownListItem.js +1 -0
- package/dist/components/MarkdownLoading.d.ts +8 -0
- package/dist/components/MarkdownLoading.js +1 -0
- package/dist/components/MarkdownMath.d.ts +12 -0
- package/dist/components/MarkdownMath.js +1 -0
- package/dist/components/MarkdownMermaid.d.ts +78 -0
- package/dist/components/MarkdownMermaid.js +1 -0
- package/dist/components/MarkdownParagraph.d.ts +18 -0
- package/dist/components/MarkdownParagraph.js +1 -0
- package/dist/components/MarkdownRenderer.d.ts +167 -0
- package/dist/components/MarkdownRenderer.js +1 -0
- package/dist/components/MarkdownRoot.d.ts +24 -0
- package/dist/components/MarkdownRoot.js +1 -0
- package/dist/components/MarkdownStrikethrough.d.ts +18 -0
- package/dist/components/MarkdownStrikethrough.js +1 -0
- package/dist/components/MarkdownStrong.d.ts +18 -0
- package/dist/components/MarkdownStrong.js +1 -0
- package/dist/components/MarkdownTable.d.ts +18 -0
- package/dist/components/MarkdownTable.js +1 -0
- package/dist/components/MarkdownTableCell.d.ts +20 -0
- package/dist/components/MarkdownTableCell.js +1 -0
- package/dist/components/MarkdownTableRow.d.ts +18 -0
- package/dist/components/MarkdownTableRow.js +1 -0
- package/dist/components/MarkdownTableSection.d.ts +18 -0
- package/dist/components/MarkdownTableSection.js +1 -0
- package/dist/components/MarkdownTaskItem.d.ts +20 -0
- package/dist/components/MarkdownTaskItem.js +1 -0
- package/dist/components/MarkdownToc.d.ts +36 -0
- package/dist/components/MarkdownToc.js +1 -0
- package/dist/components/MarkdownTocItem.d.ts +14 -0
- package/dist/components/MarkdownTocItem.js +1 -0
- package/dist/components/MermaidBlock.d.ts +50 -0
- package/dist/components/MermaidBlock.js +1 -0
- package/dist/components/MermaidLiveEditor.d.ts +44 -0
- package/dist/components/MermaidLiveEditor.js +1 -0
- package/dist/components/VueSyntaxHighlighter.d.ts +39 -0
- package/dist/components/VueSyntaxHighlighter.js +1 -0
- package/dist/components/codeRegion.d.ts +14 -0
- package/dist/components/config.d.ts +7 -0
- package/dist/components/context.d.ts +45 -0
- package/dist/components/index.d.ts +42 -0
- package/dist/components/index.js +38 -0
- package/dist/components/render.d.ts +9 -0
- package/dist/components/scroll-lock.d.ts +7 -0
- package/dist/components/types.d.ts +61 -0
- package/dist/composables/useActiveHeading.d.ts +12 -0
- package/dist/composables/useCodeHighlighter.d.ts +30 -0
- package/dist/composables/useLineWindow.d.ts +38 -0
- package/dist/composables/useMarkdownDocument.d.ts +25 -0
- package/dist/core/adapters.d.ts +7 -0
- package/dist/core/config.d.ts +5 -0
- package/dist/core/diagnostics.d.ts +9 -0
- package/dist/core/finalize.d.ts +18 -0
- package/dist/core/hast-nodes.d.ts +3 -0
- package/dist/core/hast-to-nodes.d.ts +9 -0
- package/dist/core/highlight-lines.d.ts +8 -0
- package/dist/core/identity.d.ts +4 -0
- package/dist/core/labels.d.ts +4 -0
- package/dist/core/manifest.d.ts +38 -0
- package/dist/core/memo.d.ts +5 -0
- package/dist/core/model-hast.d.ts +8 -0
- package/dist/core/model.d.ts +10 -0
- package/dist/core/normalize.d.ts +37 -0
- package/dist/core/parts.d.ts +136 -0
- package/dist/core/preset.d.ts +10 -0
- package/dist/core/run.d.ts +16 -0
- package/dist/core/search.d.ts +5 -0
- package/dist/core/security.d.ts +21 -0
- package/dist/core/slugger.d.ts +13 -0
- package/dist/core/types.d.ts +392 -0
- package/dist/core/url.d.ts +10 -0
- package/dist/editor/codemirror.d.ts +14 -0
- package/dist/editor/index.d.ts +2 -0
- package/dist/editor/index.js +1 -0
- package/dist/export/index.d.ts +6 -0
- package/dist/headless.d.ts +21 -0
- package/dist/headless.js +12 -0
- package/dist/highlight/convert-hast.d.ts +8 -0
- package/dist/highlight/highlightjs.d.ts +7 -0
- package/dist/highlight/index.d.ts +4 -0
- package/dist/highlight/index.js +4 -0
- package/dist/highlight/shared.d.ts +11 -0
- package/dist/highlight/shiki.d.ts +7 -0
- package/dist/highlight/shiki.js +75 -0
- package/dist/html/index.d.ts +17 -0
- package/dist/html/index.js +11 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.js +53 -0
- package/dist/math/index.d.ts +4 -0
- package/dist/math/index.js +585 -0
- package/dist/math/katex.d.ts +4 -0
- package/dist/math/plugin.d.ts +20 -0
- package/dist/mermaid/index.d.ts +6 -0
- package/dist/mermaid/index.js +8 -0
- package/dist/mermaid/plugin.d.ts +17 -0
- package/dist/mermaid/runtime.d.ts +14 -0
- package/dist/mermaid/sanitize-svg-lazy.d.ts +10 -0
- package/dist/mermaid/sanitize-svg.d.ts +3 -0
- package/dist/mermaid/sanitize.d.ts +16 -0
- package/dist/node-components.d.ts +1 -0
- package/dist/node-components.js +39 -0
- package/dist/pipeline/custom.d.ts +8 -0
- package/dist/pipeline/identity.d.ts +12 -0
- package/dist/pipeline/index.d.ts +5 -0
- package/dist/pipeline/official.d.ts +6 -0
- package/dist/pipeline.d.ts +1 -0
- package/dist/pipeline.js +1 -0
- package/dist/plugins/builtin.d.ts +15 -0
- package/dist/plugins/define.d.ts +7 -0
- package/dist/plugins/registry.d.ts +16 -0
- package/dist/plugins/source.d.ts +7 -0
- package/dist/plugins.d.ts +3 -0
- package/dist/plugins.js +1 -0
- package/dist/presets.d.ts +3 -0
- package/dist/presets.js +1 -0
- package/dist/style.css +2 -0
- package/dist/styles/components.css +737 -0
- package/dist/styles/index.d.ts +1 -0
- package/dist/styles/math-full.css +3 -0
- package/dist/styles/math.css +18 -0
- package/dist/styles/tokens.css +96 -0
- package/package.json +214 -6
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label?: string;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
5
|
+
label: string;
|
|
6
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "../chunks/MarkdownEmpty-Av5k6bqa.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MarkdownDiagnostic } from '../core/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
diagnostics?: MarkdownDiagnostic[];
|
|
4
|
+
label?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
|
+
diagnostics: MarkdownDiagnostic[];
|
|
8
|
+
label: string;
|
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "../chunks/MarkdownError-C0sPs5W0.js";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { MarkdownNode } from '../core/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
node: MarkdownNode;
|
|
4
|
+
children?: MarkdownNode[];
|
|
5
|
+
missing?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_1: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_1) => any;
|
|
10
|
+
};
|
|
11
|
+
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>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "../chunks/MarkdownFootnoteReference-Dy3Khwyj.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
node?: unknown;
|
|
3
|
+
children?: unknown[];
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
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>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "../chunks/MarkdownFootnotes-BRPzkbXv.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MarkdownNode } from '../core/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
node: MarkdownNode;
|
|
4
|
+
children?: MarkdownNode[];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_7: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_7) => any;
|
|
9
|
+
};
|
|
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;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "../chunks/MarkdownHeading-DaNcP0_6.js";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MarkdownNode } from '../core/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
node: MarkdownNode;
|
|
4
|
+
children?: MarkdownNode[];
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: 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>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "../chunks/MarkdownHorizontalRule-QNe_cuUI.js";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value?: string;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
5
|
+
value: string;
|
|
6
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "../chunks/MarkdownHtml-66lYkvwM.js";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MarkdownNode } from '../core/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
node: MarkdownNode;
|
|
4
|
+
children?: MarkdownNode[];
|
|
5
|
+
src?: string;
|
|
6
|
+
alt?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
width?: string | number;
|
|
9
|
+
height?: string | number;
|
|
10
|
+
loading?: 'lazy' | 'eager';
|
|
11
|
+
decoding?: 'async' | 'sync' | 'auto';
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_export: 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>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "../chunks/MarkdownImage-BRy76svs.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MarkdownNode } from '../core/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
node: MarkdownNode;
|
|
4
|
+
children?: MarkdownNode[];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_1: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
|
+
};
|
|
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;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "../chunks/MarkdownInlineCode-MXZYFwex.js";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { MarkdownNode } from '../core/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
node: MarkdownNode;
|
|
4
|
+
children?: MarkdownNode[];
|
|
5
|
+
href?: string;
|
|
6
|
+
target?: string;
|
|
7
|
+
rel?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
};
|
|
10
|
+
declare var __VLS_1: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
default?: (props: typeof __VLS_1) => any;
|
|
13
|
+
};
|
|
14
|
+
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>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "../chunks/MarkdownLink-Dbx3NwgV.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MarkdownNode } from '../core/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
node: MarkdownNode;
|
|
4
|
+
children?: MarkdownNode[];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_7: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_7) => any;
|
|
9
|
+
};
|
|
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;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "../chunks/MarkdownList-BJ-_C71k.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MarkdownNode } from '../core/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
node: MarkdownNode;
|
|
4
|
+
children?: MarkdownNode[];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_1: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
|
+
};
|
|
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;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "../chunks/MarkdownListItem-Z1EHIY26.js";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label?: string;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
5
|
+
label: string;
|
|
6
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "../chunks/MarkdownLoading-D-RYtXxf.js";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MarkdownNode, MathEngine } from '../core/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
node?: MarkdownNode;
|
|
4
|
+
tex?: string;
|
|
5
|
+
displayMode?: boolean;
|
|
6
|
+
rendered?: MarkdownNode[];
|
|
7
|
+
error?: string;
|
|
8
|
+
mathEngine?: MathEngine;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_export: 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 _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { i as default } from "../chunks/render-DAqK0w5J.js";
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { MarkdownNode, MarkdownTheme, MermaidAction, MermaidRenderer } from '../core/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
node?: MarkdownNode;
|
|
4
|
+
code?: string;
|
|
5
|
+
renderer?: MermaidRenderer;
|
|
6
|
+
theme?: MarkdownTheme;
|
|
7
|
+
showErrors?: boolean;
|
|
8
|
+
enableZoom?: boolean;
|
|
9
|
+
allowFullscreen?: boolean;
|
|
10
|
+
compact?: boolean;
|
|
11
|
+
actions?: MermaidAction[];
|
|
12
|
+
};
|
|
13
|
+
declare function render(): Promise<void> | undefined;
|
|
14
|
+
declare function copy(): Promise<void> | undefined;
|
|
15
|
+
declare function exportPng(): Promise<void> | undefined;
|
|
16
|
+
declare function downloadSvg(): void;
|
|
17
|
+
declare function toggleFullscreen(): Promise<void> | undefined;
|
|
18
|
+
declare var __VLS_15: any, __VLS_18: any, __VLS_21: any, __VLS_24: any, __VLS_27: any, __VLS_43: any, __VLS_46: any, __VLS_49: any, __VLS_52: any, __VLS_55: any;
|
|
19
|
+
type __VLS_Slots = {} & {
|
|
20
|
+
header?: (props: typeof __VLS_15) => any;
|
|
21
|
+
} & {
|
|
22
|
+
tabs?: (props: typeof __VLS_18) => any;
|
|
23
|
+
} & {
|
|
24
|
+
actions?: (props: typeof __VLS_21) => any;
|
|
25
|
+
} & {
|
|
26
|
+
mermaid?: (props: typeof __VLS_24) => any;
|
|
27
|
+
} & {
|
|
28
|
+
'mermaid-error'?: (props: typeof __VLS_27) => any;
|
|
29
|
+
} & {
|
|
30
|
+
header?: (props: typeof __VLS_43) => any;
|
|
31
|
+
} & {
|
|
32
|
+
tabs?: (props: typeof __VLS_46) => any;
|
|
33
|
+
} & {
|
|
34
|
+
actions?: (props: typeof __VLS_49) => any;
|
|
35
|
+
} & {
|
|
36
|
+
mermaid?: (props: typeof __VLS_52) => any;
|
|
37
|
+
} & {
|
|
38
|
+
'mermaid-error'?: (props: typeof __VLS_55) => any;
|
|
39
|
+
};
|
|
40
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
41
|
+
render: typeof render;
|
|
42
|
+
copy: typeof copy;
|
|
43
|
+
exportPng: typeof exportPng;
|
|
44
|
+
downloadSvg: typeof downloadSvg;
|
|
45
|
+
toggleFullscreen: typeof toggleFullscreen;
|
|
46
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
47
|
+
error: (message: string) => any;
|
|
48
|
+
action: (key: string) => any;
|
|
49
|
+
rendered: (result: import('..').MermaidRenderResult) => any;
|
|
50
|
+
fullscreen: (active: boolean) => any;
|
|
51
|
+
copy: (source: string) => any;
|
|
52
|
+
export: (format: "svg" | "png") => any;
|
|
53
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
54
|
+
onError?: ((message: string) => any) | undefined;
|
|
55
|
+
onAction?: ((key: string) => any) | undefined;
|
|
56
|
+
onRendered?: ((result: import('..').MermaidRenderResult) => any) | undefined;
|
|
57
|
+
onFullscreen?: ((active: boolean) => any) | undefined;
|
|
58
|
+
onCopy?: ((source: string) => any) | undefined;
|
|
59
|
+
onExport?: ((format: "svg" | "png") => any) | undefined;
|
|
60
|
+
}>, {
|
|
61
|
+
code: string;
|
|
62
|
+
theme: MarkdownTheme;
|
|
63
|
+
actions: MermaidAction[];
|
|
64
|
+
compact: boolean;
|
|
65
|
+
node: MarkdownNode;
|
|
66
|
+
renderer: MermaidRenderer;
|
|
67
|
+
showErrors: boolean;
|
|
68
|
+
enableZoom: boolean;
|
|
69
|
+
allowFullscreen: boolean;
|
|
70
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
71
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
72
|
+
declare const _default: typeof __VLS_export;
|
|
73
|
+
export default _default;
|
|
74
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
75
|
+
new (): {
|
|
76
|
+
$slots: S;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { n as default } from "../chunks/render-DAqK0w5J.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MarkdownNode } from '../core/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
node: MarkdownNode;
|
|
4
|
+
children?: MarkdownNode[];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_1: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
|
+
};
|
|
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;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "../chunks/MarkdownParagraph-BxLSmSaG.js";
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { PluggableList } from 'unified';
|
|
3
|
+
import { AllowElement, DiagnosticFormatter, MarkdownDiagnostic, MarkdownDocument, MarkdownHighlighter, MarkdownLabels, MarkdownPipeline, MarkdownPreset, MarkdownSlugger, MarkdownTheme, MarkdownUrlTransform, MathEngine, MermaidRenderer, PluginInput, SearchChangePayload, TocItem } from '../core/types';
|
|
4
|
+
import { VueMarkdownNodeComponents, VueMarkdownRegionComponents, VueMarkdownTagComponents } from './types';
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
source?: string;
|
|
7
|
+
components?: VueMarkdownTagComponents;
|
|
8
|
+
regions?: VueMarkdownRegionComponents;
|
|
9
|
+
nodeComponents?: VueMarkdownNodeComponents;
|
|
10
|
+
labels?: Partial<MarkdownLabels>;
|
|
11
|
+
preset?: MarkdownPreset | MarkdownPreset[];
|
|
12
|
+
plugins?: PluginInput[];
|
|
13
|
+
disablePlugins?: string[];
|
|
14
|
+
remarkPlugins?: PluggableList;
|
|
15
|
+
rehypePlugins?: PluggableList;
|
|
16
|
+
remarkRehypeOptions?: Record<string, unknown>;
|
|
17
|
+
pipeline?: MarkdownPipeline;
|
|
18
|
+
slugger?: MarkdownSlugger;
|
|
19
|
+
highlighter?: MarkdownHighlighter;
|
|
20
|
+
mathEngine?: MathEngine;
|
|
21
|
+
mermaidRenderer?: MermaidRenderer;
|
|
22
|
+
diagnosticsFormatter?: DiagnosticFormatter;
|
|
23
|
+
allowedElements?: string[];
|
|
24
|
+
disallowedElements?: string[];
|
|
25
|
+
unwrapDisallowed?: boolean;
|
|
26
|
+
allowElement?: AllowElement;
|
|
27
|
+
urlTransform?: MarkdownUrlTransform;
|
|
28
|
+
linkTarget?: string;
|
|
29
|
+
/** Target for links outside the current base URL. Defaults to `_self`. */
|
|
30
|
+
externalLinkTarget?: '_self' | '_blank';
|
|
31
|
+
baseUrl?: string;
|
|
32
|
+
idPrefix?: string;
|
|
33
|
+
syncHash?: boolean;
|
|
34
|
+
toc?: boolean;
|
|
35
|
+
tocDepth?: number;
|
|
36
|
+
tocPlacement?: 'top' | 'left' | 'right' | 'hidden';
|
|
37
|
+
search?: string;
|
|
38
|
+
searchCaseSensitive?: boolean;
|
|
39
|
+
/** Debounce in milliseconds before a new search query is parsed. Default `0`. */
|
|
40
|
+
searchDebounce?: number;
|
|
41
|
+
showError?: boolean;
|
|
42
|
+
tokens?: Record<string, string>;
|
|
43
|
+
theme?: 'light' | 'dark' | 'auto' | 'custom';
|
|
44
|
+
as?: string | Component;
|
|
45
|
+
};
|
|
46
|
+
declare function scrollToHeading(id: string, options?: ScrollIntoViewOptions): void;
|
|
47
|
+
declare var __VLS_1: {
|
|
48
|
+
document: MarkdownDocument | undefined;
|
|
49
|
+
toc: TocItem[];
|
|
50
|
+
status: import('..').MarkdownStatus;
|
|
51
|
+
diagnostics: MarkdownDiagnostic[];
|
|
52
|
+
tokens: {
|
|
53
|
+
[x: string]: string;
|
|
54
|
+
};
|
|
55
|
+
theme: MarkdownTheme;
|
|
56
|
+
actions: {
|
|
57
|
+
scrollToHeading: typeof scrollToHeading;
|
|
58
|
+
getDocument: () => MarkdownDocument | undefined;
|
|
59
|
+
getToc: () => TocItem[];
|
|
60
|
+
refresh: () => Promise<void>;
|
|
61
|
+
};
|
|
62
|
+
}, __VLS_9: {
|
|
63
|
+
items: TocItem[];
|
|
64
|
+
activeId: string | undefined;
|
|
65
|
+
label: string;
|
|
66
|
+
tocDepth: number;
|
|
67
|
+
navigate: typeof scrollToHeading;
|
|
68
|
+
}, __VLS_20: any, __VLS_22: {
|
|
69
|
+
nodes: import('..').MarkdownNode[];
|
|
70
|
+
document: MarkdownDocument | undefined;
|
|
71
|
+
}, __VLS_35: {
|
|
72
|
+
label: string;
|
|
73
|
+
}, __VLS_42: {
|
|
74
|
+
label: string;
|
|
75
|
+
}, __VLS_49: {
|
|
76
|
+
diagnostics: MarkdownDiagnostic[];
|
|
77
|
+
label: string;
|
|
78
|
+
retry: () => Promise<void>;
|
|
79
|
+
};
|
|
80
|
+
type __VLS_Slots = {} & {
|
|
81
|
+
root?: (props: typeof __VLS_1) => any;
|
|
82
|
+
} & {
|
|
83
|
+
toc?: (props: typeof __VLS_9) => any;
|
|
84
|
+
} & {
|
|
85
|
+
'toc-item'?: (props: typeof __VLS_20) => any;
|
|
86
|
+
} & {
|
|
87
|
+
content?: (props: typeof __VLS_22) => any;
|
|
88
|
+
} & {
|
|
89
|
+
loading?: (props: typeof __VLS_35) => any;
|
|
90
|
+
} & {
|
|
91
|
+
empty?: (props: typeof __VLS_42) => any;
|
|
92
|
+
} & {
|
|
93
|
+
error?: (props: typeof __VLS_49) => any;
|
|
94
|
+
};
|
|
95
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
96
|
+
scrollToHeading: typeof scrollToHeading;
|
|
97
|
+
getDocument: () => MarkdownDocument | undefined;
|
|
98
|
+
getToc: () => TocItem[];
|
|
99
|
+
refresh: () => Promise<void>;
|
|
100
|
+
updateSource: (source: string) => void;
|
|
101
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
102
|
+
"math-error": (diagnostic: MarkdownDiagnostic) => any;
|
|
103
|
+
"task-change": (payload: import('./context').TaskChangePayload) => any;
|
|
104
|
+
ready: (document: MarkdownDocument) => any;
|
|
105
|
+
"update:source": (source: string) => any;
|
|
106
|
+
"toc-change": (toc: TocItem[]) => any;
|
|
107
|
+
"link-click": (payload: import('./context').LinkClickPayload) => any;
|
|
108
|
+
"custom-tag-click": (payload: import('./context').CustomTagClickPayload) => any;
|
|
109
|
+
"search-change": (payload: SearchChangePayload) => any;
|
|
110
|
+
"render-error": (diagnostic: MarkdownDiagnostic) => any;
|
|
111
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
112
|
+
"onMath-error"?: ((diagnostic: MarkdownDiagnostic) => any) | undefined;
|
|
113
|
+
"onTask-change"?: ((payload: import('./context').TaskChangePayload) => any) | undefined;
|
|
114
|
+
onReady?: ((document: MarkdownDocument) => any) | undefined;
|
|
115
|
+
"onUpdate:source"?: ((source: string) => any) | undefined;
|
|
116
|
+
"onToc-change"?: ((toc: TocItem[]) => any) | undefined;
|
|
117
|
+
"onLink-click"?: ((payload: import('./context').LinkClickPayload) => any) | undefined;
|
|
118
|
+
"onCustom-tag-click"?: ((payload: import('./context').CustomTagClickPayload) => any) | undefined;
|
|
119
|
+
"onSearch-change"?: ((payload: SearchChangePayload) => any) | undefined;
|
|
120
|
+
"onRender-error"?: ((diagnostic: MarkdownDiagnostic) => any) | undefined;
|
|
121
|
+
}>, {
|
|
122
|
+
source: string;
|
|
123
|
+
search: string;
|
|
124
|
+
pipeline: MarkdownPipeline;
|
|
125
|
+
theme: "custom" | "light" | "dark" | "auto";
|
|
126
|
+
toc: boolean;
|
|
127
|
+
highlighter: MarkdownHighlighter;
|
|
128
|
+
allowedElements: string[];
|
|
129
|
+
disallowedElements: string[];
|
|
130
|
+
unwrapDisallowed: boolean;
|
|
131
|
+
allowElement: AllowElement;
|
|
132
|
+
components: VueMarkdownTagComponents;
|
|
133
|
+
regions: VueMarkdownRegionComponents;
|
|
134
|
+
nodeComponents: VueMarkdownNodeComponents;
|
|
135
|
+
labels: Partial<MarkdownLabels>;
|
|
136
|
+
tokens: Record<string, string>;
|
|
137
|
+
slugger: MarkdownSlugger;
|
|
138
|
+
urlTransform: MarkdownUrlTransform;
|
|
139
|
+
mathEngine: MathEngine;
|
|
140
|
+
mermaidRenderer: MermaidRenderer;
|
|
141
|
+
diagnosticsFormatter: DiagnosticFormatter;
|
|
142
|
+
as: string | Component;
|
|
143
|
+
plugins: PluginInput[];
|
|
144
|
+
idPrefix: string;
|
|
145
|
+
disablePlugins: string[];
|
|
146
|
+
remarkPlugins: PluggableList;
|
|
147
|
+
rehypePlugins: PluggableList;
|
|
148
|
+
remarkRehypeOptions: Record<string, unknown>;
|
|
149
|
+
linkTarget: string;
|
|
150
|
+
externalLinkTarget: "_self" | "_blank";
|
|
151
|
+
baseUrl: string;
|
|
152
|
+
tocDepth: number;
|
|
153
|
+
preset: MarkdownPreset | MarkdownPreset[];
|
|
154
|
+
syncHash: boolean;
|
|
155
|
+
tocPlacement: "hidden" | "left" | "right" | "top";
|
|
156
|
+
searchCaseSensitive: boolean;
|
|
157
|
+
searchDebounce: number;
|
|
158
|
+
showError: boolean;
|
|
159
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
160
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
161
|
+
declare const _default: typeof __VLS_export;
|
|
162
|
+
export default _default;
|
|
163
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
164
|
+
new (): {
|
|
165
|
+
$slots: S;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "../chunks/MarkdownRenderer-OlkdsvI3.js";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { MarkdownTheme } from '../core/types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
as?: string | Component;
|
|
5
|
+
tokens?: Record<string, string>;
|
|
6
|
+
theme?: MarkdownTheme;
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_7: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_7) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
+
theme: MarkdownTheme;
|
|
14
|
+
tokens: Record<string, string>;
|
|
15
|
+
as: string | Component;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "../chunks/MarkdownRoot-DEE6iVfh.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MarkdownNode } from '../core/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
node: MarkdownNode;
|
|
4
|
+
children?: MarkdownNode[];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_1: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
|
+
};
|
|
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;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "../chunks/MarkdownStrikethrough-CblvbqDk.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MarkdownNode } from '../core/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
node: MarkdownNode;
|
|
4
|
+
children?: MarkdownNode[];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_1: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
|
+
};
|
|
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;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "../chunks/MarkdownStrong-uU5MzAoJ.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MarkdownNode } from '../core/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
node: MarkdownNode;
|
|
4
|
+
children?: MarkdownNode[];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_1: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
|
+
};
|
|
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;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "../chunks/MarkdownTable-DmBTg_CR.js";
|