markstream-vue 0.0.2-beta.6 → 0.0.2-beta.7
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/{exports-NngZ6WMS.cjs → exports-C7d2XCaM.cjs} +3 -3
- package/dist/{exports-QodAGrc3.js → exports-CPUhsjyb.js} +37 -37
- package/dist/exports.js +1 -1
- package/dist/{index-D-a7IYrt.js → index-BLMNAobs.js} +1 -1
- package/dist/{index-ClTYBe2w.js → index-BWCpJDUq.js} +1 -1
- package/dist/{index-BPiQ08MX.cjs → index-BZTwjxhO.cjs} +1 -1
- package/dist/{index-COmPE5Cm.js → index-CaLfBjAM.js} +1 -1
- package/dist/{index-BRnwZs4_.cjs → index-DqNfDUws.cjs} +1 -1
- package/dist/{index-JoDqKzfX.cjs → index-IDe4W9b6.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +15 -15
- package/dist/index.js +1 -1
- package/dist/index.tailwind.css +1 -1
- package/dist/tailwind.ts +0 -0
- package/package.json +3 -3
|
@@ -154,8 +154,8 @@ const nr = ["id"], or = ["title"], rr = /* @__PURE__ */ V({
|
|
|
154
154
|
r ? r.scrollIntoView({ behavior: "smooth" }) : console.warn(`Element with href: ${t} not found`);
|
|
155
155
|
}
|
|
156
156
|
return (r, a) => (d(), g("sup", {
|
|
157
|
-
class: "footnote-reference",
|
|
158
157
|
id: `fnref-${e.node.id}`,
|
|
158
|
+
class: "footnote-reference",
|
|
159
159
|
onClick: l
|
|
160
160
|
}, [
|
|
161
161
|
m("span", {
|
|
@@ -165,7 +165,7 @@ const nr = ["id"], or = ["title"], rr = /* @__PURE__ */ V({
|
|
|
165
165
|
}, "[" + ee(e.node.id) + "]", 9, or)
|
|
166
166
|
], 8, nr));
|
|
167
167
|
}
|
|
168
|
-
}), Ie = /* @__PURE__ */ X(rr, [["__scopeId", "data-v-
|
|
168
|
+
}), Ie = /* @__PURE__ */ X(rr, [["__scopeId", "data-v-01af0fee"]]);
|
|
169
169
|
Ie.install = (e) => {
|
|
170
170
|
e.component(Ie.__name, Ie);
|
|
171
171
|
};
|
|
@@ -669,7 +669,7 @@ const nt = Dt(() => j(null, null, function* () {
|
|
|
669
669
|
};
|
|
670
670
|
try {
|
|
671
671
|
if (yield Fn())
|
|
672
|
-
return (yield import("./index-
|
|
672
|
+
return (yield import("./index-BLMNAobs.js")).default;
|
|
673
673
|
} catch (l) {
|
|
674
674
|
console.warn(
|
|
675
675
|
'[markstream-vue] Optional peer dependencies for MathInlineNode are missing. Falling back to text rendering. To enable full math rendering features, please install "katex".',
|
|
@@ -687,7 +687,7 @@ const nt = Dt(() => j(null, null, function* () {
|
|
|
687
687
|
})), xr = Dt(() => j(null, null, function* () {
|
|
688
688
|
try {
|
|
689
689
|
if (yield Fn())
|
|
690
|
-
return (yield import("./index-
|
|
690
|
+
return (yield import("./index-BWCpJDUq.js")).default;
|
|
691
691
|
} catch (e) {
|
|
692
692
|
console.warn(
|
|
693
693
|
'[markstream-vue] Optional peer dependencies for MathBlockNode are missing. Falling back to text rendering. To enable full math rendering features, please install "katex".',
|
|
@@ -1073,7 +1073,32 @@ const Wr = { class: "emphasis-node" }, Kr = /* @__PURE__ */ V({
|
|
|
1073
1073
|
We.install = (e) => {
|
|
1074
1074
|
e.component(We.__name, We);
|
|
1075
1075
|
};
|
|
1076
|
-
const Or = ["
|
|
1076
|
+
const Or = ["href", "title"], Fr = /* @__PURE__ */ V({
|
|
1077
|
+
__name: "FootnoteAnchorNode",
|
|
1078
|
+
props: {
|
|
1079
|
+
node: {}
|
|
1080
|
+
},
|
|
1081
|
+
setup(e) {
|
|
1082
|
+
const n = e;
|
|
1083
|
+
function t(l) {
|
|
1084
|
+
var i;
|
|
1085
|
+
if (l.preventDefault(), typeof document == "undefined")
|
|
1086
|
+
return;
|
|
1087
|
+
const r = `fnref-${String((i = n.node.id) != null ? i : "")}`, a = document.getElementById(r);
|
|
1088
|
+
a && a.scrollIntoView({ behavior: "smooth" });
|
|
1089
|
+
}
|
|
1090
|
+
return (l, r) => (d(), g("a", {
|
|
1091
|
+
class: "footnote-anchor text-sm text-[#0366d6] hover:underline cursor-pointer",
|
|
1092
|
+
href: `#fnref-${e.node.id}`,
|
|
1093
|
+
title: `返回引用 ${e.node.id}`,
|
|
1094
|
+
onClick: t
|
|
1095
|
+
}, " ↩︎ ", 8, Or));
|
|
1096
|
+
}
|
|
1097
|
+
}), Nt = /* @__PURE__ */ X(Fr, [["__scopeId", "data-v-4756ce0d"]]);
|
|
1098
|
+
Nt.install = (e) => {
|
|
1099
|
+
e.component(Nt.__name, Nt);
|
|
1100
|
+
};
|
|
1101
|
+
const Xr = ["id"], Yr = { class: "flex-1" }, Jt = /* @__PURE__ */ V({
|
|
1077
1102
|
__name: "FootnoteNode",
|
|
1078
1103
|
props: {
|
|
1079
1104
|
node: {},
|
|
@@ -1086,7 +1111,7 @@ const Or = ["id"], Fr = { class: "flex-1" }, Jt = /* @__PURE__ */ V({
|
|
|
1086
1111
|
id: `fnref--${e.node.id}`,
|
|
1087
1112
|
class: "flex mt-2 mb-2 text-sm leading-relaxed border-t border-[#eaecef] pt-2"
|
|
1088
1113
|
}, [
|
|
1089
|
-
m("div",
|
|
1114
|
+
m("div", Yr, [
|
|
1090
1115
|
zt([e.node.children], () => Ue($(qe), {
|
|
1091
1116
|
"index-key": `footnote-${e.indexKey}`,
|
|
1092
1117
|
nodes: e.node.children,
|
|
@@ -1094,37 +1119,12 @@ const Or = ["id"], Fr = { class: "flex-1" }, Jt = /* @__PURE__ */ V({
|
|
|
1094
1119
|
onCopy: t[0] || (t[0] = (l) => n.$emit("copy", l))
|
|
1095
1120
|
}, null, 8, ["index-key", "nodes", "typewriter"]), t, 1)
|
|
1096
1121
|
])
|
|
1097
|
-
], 8,
|
|
1122
|
+
], 8, Xr));
|
|
1098
1123
|
}
|
|
1099
1124
|
});
|
|
1100
1125
|
Jt.install = (e) => {
|
|
1101
1126
|
e.component(Jt.__name, Jt);
|
|
1102
1127
|
};
|
|
1103
|
-
const Xr = ["href", "title"], Yr = /* @__PURE__ */ V({
|
|
1104
|
-
__name: "FootnoteAnchorNode",
|
|
1105
|
-
props: {
|
|
1106
|
-
node: {}
|
|
1107
|
-
},
|
|
1108
|
-
setup(e) {
|
|
1109
|
-
const n = e;
|
|
1110
|
-
function t(l) {
|
|
1111
|
-
var i;
|
|
1112
|
-
if (l.preventDefault(), typeof document == "undefined")
|
|
1113
|
-
return;
|
|
1114
|
-
const r = `fnref-${String((i = n.node.id) != null ? i : "")}`, a = document.getElementById(r);
|
|
1115
|
-
a && a.scrollIntoView({ behavior: "smooth" });
|
|
1116
|
-
}
|
|
1117
|
-
return (l, r) => (d(), g("a", {
|
|
1118
|
-
class: "footnote-anchor text-sm text-[#0366d6] hover:underline cursor-pointer",
|
|
1119
|
-
onClick: t,
|
|
1120
|
-
href: `#fnref-${e.node.id}`,
|
|
1121
|
-
title: `返回引用 ${e.node.id}`
|
|
1122
|
-
}, " ↩︎ ", 8, Xr));
|
|
1123
|
-
}
|
|
1124
|
-
}), Nt = /* @__PURE__ */ X(Yr, [["__scopeId", "data-v-14465a9a"]]);
|
|
1125
|
-
Nt.install = (e) => {
|
|
1126
|
-
e.component(Nt.__name, Nt);
|
|
1127
|
-
};
|
|
1128
1128
|
const qr = { class: "hard-break" }, Ur = /* @__PURE__ */ V({
|
|
1129
1129
|
__name: "HardBreakNode",
|
|
1130
1130
|
props: {
|
|
@@ -3219,7 +3219,7 @@ const Wa = {
|
|
|
3219
3219
|
});
|
|
3220
3220
|
const vn = Dt(() => j(null, null, function* () {
|
|
3221
3221
|
try {
|
|
3222
|
-
return (yield import("./index-
|
|
3222
|
+
return (yield import("./index-CaLfBjAM.js")).default;
|
|
3223
3223
|
} catch (f) {
|
|
3224
3224
|
return console.warn(
|
|
3225
3225
|
'[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".',
|
|
@@ -3378,7 +3378,7 @@ const Wa = {
|
|
|
3378
3378
|
}, null, 4)) : se("", !0)
|
|
3379
3379
|
], 544));
|
|
3380
3380
|
}
|
|
3381
|
-
}), qe = /* @__PURE__ */ X(Ya, [["__scopeId", "data-v-
|
|
3381
|
+
}), qe = /* @__PURE__ */ X(Ya, [["__scopeId", "data-v-67bd5de6"]]);
|
|
3382
3382
|
qe.install = (e) => {
|
|
3383
3383
|
var t, l;
|
|
3384
3384
|
const n = (l = (t = qe.__name) != null ? t : qe.name) != null ? l : "NodeRenderer";
|
|
@@ -4603,7 +4603,7 @@ function rl(l) {
|
|
|
4603
4603
|
}
|
|
4604
4604
|
});
|
|
4605
4605
|
}
|
|
4606
|
-
const Es = Dt(() => import("./index-
|
|
4606
|
+
const Es = Dt(() => import("./index-CaLfBjAM.js")), Ls = Dt(() => import("./index-BWCpJDUq.js")), Ns = Dt(() => import("./index-BLMNAobs.js")), Hs = {
|
|
4607
4607
|
AdmonitionNode: rn,
|
|
4608
4608
|
BlockquoteNode: Ut,
|
|
4609
4609
|
CheckboxNode: tt,
|
|
@@ -4650,7 +4650,7 @@ export {
|
|
|
4650
4650
|
tt as C,
|
|
4651
4651
|
Zt as D,
|
|
4652
4652
|
Te as E,
|
|
4653
|
-
|
|
4653
|
+
Nt as F,
|
|
4654
4654
|
Se as G,
|
|
4655
4655
|
Bt as H,
|
|
4656
4656
|
mt as I,
|
|
@@ -4702,7 +4702,7 @@ export {
|
|
|
4702
4702
|
Es as j,
|
|
4703
4703
|
Jt as k,
|
|
4704
4704
|
ls as l,
|
|
4705
|
-
|
|
4705
|
+
Ie as m,
|
|
4706
4706
|
Ze as n,
|
|
4707
4707
|
Xn as o,
|
|
4708
4708
|
Ve as p,
|