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 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](./LICENSE) © [Simon He](https://github.com/Simon-He95)
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](./LICENSE) © [Simon He](https://github.com/Simon-He95)
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-DWSDjapj.js")).default;
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-DoGGVWiX.js")).default;
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-ce01f326"]]);
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-BJRqEAxf.js")).default;
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-BJRqEAxf.js")), yl = vn(() => import("./index-DoGGVWiX.js")), kl = vn(() => import("./index-DWSDjapj.js")), xl = {
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,