markstream-vue 0.0.3-beta.2 → 0.0.3-beta.3
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 +2 -1
- package/README.zh-CN.md +2 -1
- package/dist/{exports-CzGTWeP_.js → exports-DYua_tlG.js} +8 -8
- package/dist/{exports-Dt9os3zH.cjs → exports-h70Zx97z.cjs} +3 -3
- package/dist/exports.js +1 -1
- package/dist/{index-DVzzMFW2.cjs → index-3jXtLsem.cjs} +1 -1
- package/dist/{index-BJRqEAxf.js → index-9wg07cmN.js} +1 -1
- package/dist/{index-DWSDjapj.js → index-CtDwbqLS.js} +1 -1
- package/dist/{index-W52qnVsg.cjs → index-DgwtvqiC.cjs} +1 -1
- package/dist/{index-BOMIs5jY.cjs → index-DpjKVeoo.cjs} +1 -1
- package/dist/{index-DoGGVWiX.js → index-Zn32X7og.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.tailwind.css +1 -1
- package/dist/tailwind.ts +0 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -366,6 +366,7 @@ This project uses and benefits from:
|
|
|
366
366
|
- [stream-monaco](https://github.com/Simon-He95/stream-monaco)
|
|
367
367
|
- [stream-markdown](https://github.com/Simon-He95/stream-markdown)
|
|
368
368
|
- [mermaid](https://mermaid-js.github.io/mermaid)
|
|
369
|
+
- [katex](https://katex.org/)
|
|
369
370
|
- [shiki](https://github.com/shikijs/shiki)
|
|
370
371
|
- [markdown-it-ts](https://github.com/Simon-He95/markdown-it-ts)
|
|
371
372
|
|
|
@@ -377,4 +378,4 @@ Thanks to the authors and contributors of these projects!
|
|
|
377
378
|
|
|
378
379
|
## License
|
|
379
380
|
|
|
380
|
-
[MIT](./
|
|
381
|
+
[MIT](./license) © [Simon He](https://github.com/Simon-He95)
|
package/README.zh-CN.md
CHANGED
|
@@ -366,6 +366,7 @@ https://github.com/Simon-He95/markstream-vue/issues
|
|
|
366
366
|
- [stream-monaco](https://github.com/Simon-He95/stream-monaco)
|
|
367
367
|
- [stream-markdown](https://github.com/Simon-He95/stream-markdown)
|
|
368
368
|
- [mermaid](https://mermaid-js.github.io/mermaid)
|
|
369
|
+
- [katex](https://katex.org/)
|
|
369
370
|
- [shiki](https://github.com/shikijs/shiki)
|
|
370
371
|
- [markdown-it-ts](https://github.com/Simon-He95/markdown-it-ts)
|
|
371
372
|
|
|
@@ -377,4 +378,4 @@ https://github.com/Simon-He95/markstream-vue/issues
|
|
|
377
378
|
|
|
378
379
|
## 许可
|
|
379
380
|
|
|
380
|
-
[MIT](./
|
|
381
|
+
[MIT](./license) © [Simon He](https://github.com/Simon-He95)
|
|
@@ -703,7 +703,7 @@ const _t = vn(() => A(null, null, function* () {
|
|
|
703
703
|
};
|
|
704
704
|
try {
|
|
705
705
|
if (yield vo())
|
|
706
|
-
return (yield import("./index-
|
|
706
|
+
return (yield import("./index-CtDwbqLS.js")).default;
|
|
707
707
|
} catch (i) {
|
|
708
708
|
console.warn(
|
|
709
709
|
'[markstream-vue] Optional peer dependencies for MathInlineNode are missing. Falling back to text rendering. To enable full math rendering features, please install "katex".',
|
|
@@ -721,7 +721,7 @@ const _t = vn(() => A(null, null, function* () {
|
|
|
721
721
|
})), Ur = vn(() => A(null, null, function* () {
|
|
722
722
|
try {
|
|
723
723
|
if (yield vo())
|
|
724
|
-
return (yield import("./index-
|
|
724
|
+
return (yield import("./index-Zn32X7og.js")).default;
|
|
725
725
|
} catch (e) {
|
|
726
726
|
console.warn(
|
|
727
727
|
'[markstream-vue] Optional peer dependencies for MathBlockNode are missing. Falling back to text rendering. To enable full math rendering features, please install "katex".',
|
|
@@ -2875,11 +2875,11 @@ const li = /* @__PURE__ */ W({
|
|
|
2875
2875
|
c.innerHTML = "", c.textContent = n.node.content;
|
|
2876
2876
|
}
|
|
2877
2877
|
return io(() => {
|
|
2878
|
-
n.node.loading ? d() : a();
|
|
2878
|
+
n.node.loading && !n.node.autoClosed ? d() : a();
|
|
2879
2879
|
}), Y(
|
|
2880
|
-
() => [n.node.content, n.node.loading],
|
|
2880
|
+
() => [n.node.content, n.node.loading, n.node.autoClosed],
|
|
2881
2881
|
() => {
|
|
2882
|
-
n.node.loading ? d() : a();
|
|
2882
|
+
n.node.loading && !n.node.autoClosed ? d() : a();
|
|
2883
2883
|
}
|
|
2884
2884
|
), hn(() => {
|
|
2885
2885
|
t.value && (t.value.innerHTML = "");
|
|
@@ -2889,7 +2889,7 @@ const li = /* @__PURE__ */ W({
|
|
|
2889
2889
|
class: K(["html-inline-node", { "html-inline-node--loading": n.node.loading }])
|
|
2890
2890
|
}, null, 2));
|
|
2891
2891
|
}
|
|
2892
|
-
}), dn = /* @__PURE__ */ G(li, [["__scopeId", "data-v-
|
|
2892
|
+
}), dn = /* @__PURE__ */ G(li, [["__scopeId", "data-v-e632756e"]]);
|
|
2893
2893
|
dn.install = (e) => {
|
|
2894
2894
|
e.component(dn.__name, dn);
|
|
2895
2895
|
};
|
|
@@ -3661,7 +3661,7 @@ const bi = {
|
|
|
3661
3661
|
});
|
|
3662
3662
|
const pn = vn(() => A(null, null, function* () {
|
|
3663
3663
|
try {
|
|
3664
|
-
return (yield import("./index-
|
|
3664
|
+
return (yield import("./index-9wg07cmN.js")).default;
|
|
3665
3665
|
} catch (s) {
|
|
3666
3666
|
return console.warn(
|
|
3667
3667
|
'[markstream-vue] Optional peer dependencies for CodeBlockNode are missing. Falling back to inline-code rendering (no Monaco). To enable full code block features, please install "stream-monaco".',
|
|
@@ -5194,7 +5194,7 @@ function Zl(i) {
|
|
|
5194
5194
|
}
|
|
5195
5195
|
});
|
|
5196
5196
|
}
|
|
5197
|
-
const wl = vn(() => import("./index-
|
|
5197
|
+
const wl = vn(() => import("./index-9wg07cmN.js")), yl = vn(() => import("./index-Zn32X7og.js")), kl = vn(() => import("./index-CtDwbqLS.js")), xl = {
|
|
5198
5198
|
AdmonitionNode: Ln,
|
|
5199
5199
|
BlockquoteNode: Mn,
|
|
5200
5200
|
CheckboxNode: Ct,
|