vue-stream-markdown 0.1.2 → 0.1.4
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/README.md +8 -0
- package/dist/button-D6ccVxGm.js +5 -0
- package/dist/{button-vKhxUL3C.js → button-jFTF378X.js} +1 -1
- package/dist/{code-_dL6Qk0F.js → code-BxWvKFxG.js} +8 -8
- package/dist/code-block-B72JfFy-.js +9 -0
- package/dist/{code-block-wYeMwBck.js → code-block-uZcUI59D.js} +40 -29
- package/dist/{composables-CZ7YmjNl.js → composables-Cx0nvyHl.js} +124 -25
- package/dist/dropdown-oiCw8QVq.js +5 -0
- package/dist/error-component-8y13-fYG.js +4 -0
- package/dist/{error-component-ChEpOmSX.js → error-component-Bhl770lu.js} +4 -3
- package/dist/{image-DB-4Sv8R.js → image-BDtPwitR.js} +6 -5
- package/dist/index.css +58 -73
- package/dist/index.d.ts +112 -53
- package/dist/index.js +76 -19
- package/dist/{inline-math-rChhv_1j.js → inline-math-CAqboT7h.js} +12 -15
- package/dist/{link-CJk67Kbh.js → link-C8BSlPhZ.js} +2 -2
- package/dist/{math-ZLxqHT_f.js → math-CT1TB2pK.js} +12 -15
- package/dist/{mermaid-CNFU7Pg8.js → mermaid-CYrA8rCl.js} +5 -5
- package/dist/{previewers-CMreQ4TA.js → previewers-ByaS2Ksa.js} +1 -1
- package/dist/segmented-B4IEw3wg.js +6 -0
- package/dist/{segmented-RoWxDIP3.js → segmented-DBW9ignu.js} +1 -1
- package/dist/{shiki-4529WbJJ.js → shiki-bQYWLdW3.js} +9 -14
- package/dist/{renderer-CZ41eK_V.js → shiki-token-renderer-D164wC7Y.js} +10 -23
- package/dist/{table-BmGwZIPR.js → table-l_3z210v.js} +6 -5
- package/dist/{tooltip-KcTe6tBF.js → tooltip-3UDC9mw-.js} +1 -1
- package/dist/tooltip-CAoc_U1X.js +4 -0
- package/dist/vanilla-CFWVwBvD.js +39 -0
- package/dist/vanilla-De7W3PpS.js +4 -0
- package/dist/zoom-container-DBgGdbJS.js +6 -0
- package/dist/{zoom-container-D1Mys9gv.js → zoom-container-gjQ0EMyk.js} +18 -5
- package/package.json +1 -1
- package/dist/button-DBgeYAZy.js +0 -5
- package/dist/code-block-DGZ48hb0.js +0 -9
- package/dist/dropdown-DR-uQ215.js +0 -5
- package/dist/error-component-CKCT9gXy.js +0 -4
- package/dist/segmented-63wrfRNo.js +0 -6
- package/dist/tooltip--rusT8LZ.js +0 -4
- package/dist/vanilla-CA9QO96X.js +0 -3
- package/dist/vanilla-DkX6g0dm.js +0 -87
- package/dist/zoom-container-C-CB2LTY.js +0 -6
package/dist/vanilla-DkX6g0dm.js
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { computed, createElementBlock, createElementVNode, defineComponent, openBlock, toDisplayString } from "vue";
|
|
2
|
-
|
|
3
|
-
//#region src/components/renderers/code/vanilla.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
const _hoisted_1 = { "data-stream-markdown": "code" };
|
|
5
|
-
const _hoisted_2 = ["textContent"];
|
|
6
|
-
var vanilla_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "vanilla",
|
|
8
|
-
props: {
|
|
9
|
-
node: {
|
|
10
|
-
type: Object,
|
|
11
|
-
required: true
|
|
12
|
-
},
|
|
13
|
-
markdownParser: {
|
|
14
|
-
type: Object,
|
|
15
|
-
required: true
|
|
16
|
-
},
|
|
17
|
-
nodeRenderers: {
|
|
18
|
-
type: Object,
|
|
19
|
-
required: true
|
|
20
|
-
},
|
|
21
|
-
mediumZoom: {
|
|
22
|
-
type: Object,
|
|
23
|
-
required: true
|
|
24
|
-
},
|
|
25
|
-
indexKey: {
|
|
26
|
-
type: [Number, String],
|
|
27
|
-
required: true
|
|
28
|
-
},
|
|
29
|
-
getContainer: {
|
|
30
|
-
type: Function,
|
|
31
|
-
required: true
|
|
32
|
-
},
|
|
33
|
-
controls: {
|
|
34
|
-
type: [Boolean, Object],
|
|
35
|
-
required: false
|
|
36
|
-
},
|
|
37
|
-
previewers: {
|
|
38
|
-
type: [Boolean, Object],
|
|
39
|
-
required: false
|
|
40
|
-
},
|
|
41
|
-
shikiOptions: {
|
|
42
|
-
type: Object,
|
|
43
|
-
required: false
|
|
44
|
-
},
|
|
45
|
-
mermaidOptions: {
|
|
46
|
-
type: Object,
|
|
47
|
-
required: false
|
|
48
|
-
},
|
|
49
|
-
katexOptions: {
|
|
50
|
-
type: Object,
|
|
51
|
-
required: false
|
|
52
|
-
},
|
|
53
|
-
hardenOptions: {
|
|
54
|
-
type: Object,
|
|
55
|
-
required: false
|
|
56
|
-
},
|
|
57
|
-
codeOptions: {
|
|
58
|
-
type: Object,
|
|
59
|
-
required: false
|
|
60
|
-
},
|
|
61
|
-
imageOptions: {
|
|
62
|
-
type: Object,
|
|
63
|
-
required: false
|
|
64
|
-
},
|
|
65
|
-
isDark: {
|
|
66
|
-
type: Boolean,
|
|
67
|
-
required: false
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
setup(__props) {
|
|
71
|
-
const props = __props;
|
|
72
|
-
const code = computed(() => props.node.value.trim());
|
|
73
|
-
return (_ctx, _cache) => {
|
|
74
|
-
return openBlock(), createElementBlock("pre", _hoisted_1, [createElementVNode("code", {
|
|
75
|
-
translate: "no",
|
|
76
|
-
textContent: toDisplayString(code.value)
|
|
77
|
-
}, null, 8, _hoisted_2)]);
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
|
|
82
|
-
//#endregion
|
|
83
|
-
//#region src/components/renderers/code/vanilla.vue
|
|
84
|
-
var vanilla_default = vanilla_vue_vue_type_script_setup_true_lang_default;
|
|
85
|
-
|
|
86
|
-
//#endregion
|
|
87
|
-
export { vanilla_default as t };
|