@industry-theme/markdown-panels 0.2.2 → 0.2.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/dist/panels.bundle.js
CHANGED
|
@@ -38129,7 +38129,7 @@ const Uk = (e) => {
|
|
|
38129
38129
|
var R, M, k, E, $;
|
|
38130
38130
|
const { theme: r } = Ap(), [i, a] = Ae("book"), [o, s] = Ae(0), [l, u] = Ae(1);
|
|
38131
38131
|
We(() => n.on("file:opened", (I) => {
|
|
38132
|
-
console.log("Markdown Panel: File opened:", I.payload), a("
|
|
38132
|
+
console.log("Markdown Panel: File opened:", I.payload), a("book"), s(0);
|
|
38133
38133
|
}), [n]);
|
|
38134
38134
|
const d = e.getSlice("active-file"), f = ((R = d == null ? void 0 : d.data) == null ? void 0 : R.type) === "markdown" || ((k = (M = d == null ? void 0 : d.data) == null ? void 0 : M.path) == null ? void 0 : k.match(/\.(md|mdx|markdown)$/i)), p = ((E = d == null ? void 0 : d.data) == null ? void 0 : E.content) || "", m = cn(
|
|
38135
38135
|
() => Bk(p),
|