@clevertask/scribe 0.1.25 → 0.1.27

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.
Files changed (52) hide show
  1. package/README.md +7 -1
  2. package/dist/{BarMenu-CP5BJhc-.js → BarMenu-BGWT4Oyk.js} +1 -1
  3. package/dist/assets/index.css +1 -1
  4. package/dist/components/Menu/BarMenu.js +1 -1
  5. package/dist/components/Menu/BubbleMenu.js +2 -2
  6. package/dist/components/Menu/CalloutBubbleMenu.js +2 -2
  7. package/dist/components/Menu/LinkBubbleMenu.js +2 -2
  8. package/dist/components/Menu/Mobile/ListOptionBar.js +1 -1
  9. package/dist/components/Menu/TableBubbleMenu.d.ts.map +1 -1
  10. package/dist/components/Menu/TableBubbleMenu.js +161 -134
  11. package/dist/components/Menu/TableLayoutOptions.d.ts +19 -0
  12. package/dist/components/Menu/TableLayoutOptions.d.ts.map +1 -0
  13. package/dist/components/Menu/TableLayoutOptions.js +109 -0
  14. package/dist/components/Scribe/extension/emoji/suggest.js +2 -2
  15. package/dist/components/Scribe/extension/extension-markdown-paste.js +1 -1
  16. package/dist/components/Scribe/extension/external-link-preview/index.js +1 -1
  17. package/dist/components/Scribe/extension/external-link-preview/node-view.js +1 -1
  18. package/dist/components/Scribe/extension/index.js +1 -1
  19. package/dist/components/Scribe/extension/resizable-table.d.ts +12 -1
  20. package/dist/components/Scribe/extension/resizable-table.d.ts.map +1 -1
  21. package/dist/components/Scribe/extension/resizable-table.js +144 -2
  22. package/dist/components/Scribe/extension/slashCommand/items.js +1 -1
  23. package/dist/components/Scribe/extension/slashCommand/renderItems.js +2 -2
  24. package/dist/components/Scribe/extension/table-layout.d.ts +26 -0
  25. package/dist/components/Scribe/extension/table-layout.d.ts.map +1 -0
  26. package/dist/components/Scribe/extension/table-layout.js +2 -0
  27. package/dist/components/Scribe/extension/table-sticky-header.d.ts +7 -0
  28. package/dist/components/Scribe/extension/table-sticky-header.d.ts.map +1 -0
  29. package/dist/components/Scribe/extension/table-sticky-header.js +106 -0
  30. package/dist/components/Scribe/index.js +4 -4
  31. package/dist/{dist-Cwbl2Okw.js → dist-BiognBi4.js} +2 -1
  32. package/dist/document-node-capabilities.d.ts.map +1 -1
  33. package/dist/document-node-capabilities.js +76 -68
  34. package/dist/{extension-9Oc-QD39.js → extension-CBOxOV0e.js} +1 -1
  35. package/dist/{html-to-markdown-CKpceHDk.js → html-to-markdown-DZ83bZ9I.js} +2 -2
  36. package/dist/main.css +46 -0
  37. package/dist/main.d.ts +1 -0
  38. package/dist/main.d.ts.map +1 -1
  39. package/dist/main.js +2 -2
  40. package/dist/{markdown-to-html-zj2j0HLf.js → markdown-to-html-BoK5O_j-.js} +183 -143
  41. package/dist/{menus-B0uyLVhs.js → menus-BDXjZsFU.js} +1 -1
  42. package/dist/{purify.es-CpMrJENN.js → purify.es-q6CUdJQi.js} +251 -190
  43. package/dist/{schema-extensions-LzyMpyWW.js → schema-extensions-BXyGPwMf.js} +12 -11
  44. package/dist/schema-extensions.js +1 -1
  45. package/dist/schema.js +1 -1
  46. package/dist/{resizable-table-JZOaj_L3.js → table-layout-B3sPDpEF.js} +132 -110
  47. package/dist/{tippy.esm-8vSV0zL7.js → tippy.esm-MjWnmeEn.js} +0 -3
  48. package/dist/utils/html-to-markdown.d.ts.map +1 -1
  49. package/dist/utils/html-to-markdown.js +1 -1
  50. package/dist/utils/index.js +3 -3
  51. package/dist/utils/markdown-to-html.js +1 -1
  52. package/package.json +11 -11
@@ -1,7 +1,8 @@
1
- import { CALLOUT_VARIANTS as e } from "./components/Scribe/extension/callout.js";
2
- import { EXTERNAL_LINK_PREVIEW_DISPLAYS as t } from "./components/Scribe/extension/external-link-preview/types.js";
1
+ import { t as e } from "./table-layout-B3sPDpEF.js";
2
+ import { CALLOUT_VARIANTS as t } from "./components/Scribe/extension/callout.js";
3
+ import { EXTERNAL_LINK_PREVIEW_DISPLAYS as n } from "./components/Scribe/extension/external-link-preview/types.js";
3
4
  //#region lib/document-node-capabilities.ts
4
- var n = [
5
+ var r = [
5
6
  "document",
6
7
  "text",
7
8
  "text_block",
@@ -15,36 +16,36 @@ var n = [
15
16
  "inline_atom",
16
17
  "block_atom",
17
18
  "separator"
18
- ], r = [
19
+ ], i = [
19
20
  "none",
20
21
  "inline",
21
22
  "block",
22
23
  "structured"
23
- ], i = (e) => e, a = {}, o = [], s = [
24
- i({
25
- attributes: a,
24
+ ], a = (e) => e, o = {}, s = [], c = [
25
+ a({
26
+ attributes: o,
26
27
  content: {
27
28
  expression: "block+",
28
29
  kind: "block"
29
30
  },
30
31
  label: "Document",
31
32
  nodeType: "doc",
32
- potentialOperations: o,
33
+ potentialOperations: s,
33
34
  role: "document"
34
35
  }),
35
- i({
36
- attributes: a,
36
+ a({
37
+ attributes: o,
37
38
  content: {
38
39
  expression: null,
39
40
  kind: "none"
40
41
  },
41
42
  label: "Text",
42
43
  nodeType: "text",
43
- potentialOperations: o,
44
+ potentialOperations: s,
44
45
  role: "text"
45
46
  }),
46
- i({
47
- attributes: a,
47
+ a({
48
+ attributes: o,
48
49
  content: {
49
50
  expression: "inline*",
50
51
  kind: "inline"
@@ -54,7 +55,7 @@ var n = [
54
55
  potentialOperations: [{ type: "replace_content" }],
55
56
  role: "text_block"
56
57
  }),
57
- i({
58
+ a({
58
59
  attributes: { level: {
59
60
  kind: "enum",
60
61
  values: [
@@ -72,21 +73,21 @@ var n = [
72
73
  },
73
74
  label: "Heading",
74
75
  nodeType: "heading",
75
- potentialOperations: o,
76
+ potentialOperations: s,
76
77
  role: "heading"
77
78
  }),
78
- i({
79
- attributes: a,
79
+ a({
80
+ attributes: o,
80
81
  content: {
81
82
  expression: "block+",
82
83
  kind: "block"
83
84
  },
84
85
  label: "Block quote",
85
86
  nodeType: "blockquote",
86
- potentialOperations: o,
87
+ potentialOperations: s,
87
88
  role: "container"
88
89
  }),
89
- i({
90
+ a({
90
91
  attributes: { language: {
91
92
  kind: "string",
92
93
  nullable: !0
@@ -97,43 +98,43 @@ var n = [
97
98
  },
98
99
  label: "Code block",
99
100
  nodeType: "codeBlock",
100
- potentialOperations: o,
101
+ potentialOperations: s,
101
102
  role: "text_block"
102
103
  }),
103
- i({
104
- attributes: a,
104
+ a({
105
+ attributes: o,
105
106
  content: {
106
107
  expression: null,
107
108
  kind: "none"
108
109
  },
109
110
  label: "Hard break",
110
111
  nodeType: "hardBreak",
111
- potentialOperations: o,
112
+ potentialOperations: s,
112
113
  role: "inline_atom"
113
114
  }),
114
- i({
115
- attributes: a,
115
+ a({
116
+ attributes: o,
116
117
  content: {
117
118
  expression: null,
118
119
  kind: "none"
119
120
  },
120
121
  label: "Horizontal rule",
121
122
  nodeType: "horizontalRule",
122
- potentialOperations: o,
123
+ potentialOperations: s,
123
124
  role: "separator"
124
125
  }),
125
- i({
126
- attributes: a,
126
+ a({
127
+ attributes: o,
127
128
  content: {
128
129
  expression: "listItem+",
129
130
  kind: "structured"
130
131
  },
131
132
  label: "Bullet list",
132
133
  nodeType: "bulletList",
133
- potentialOperations: o,
134
+ potentialOperations: s,
134
135
  role: "list"
135
136
  }),
136
- i({
137
+ a({
137
138
  attributes: {
138
139
  start: { kind: "number" },
139
140
  type: {
@@ -147,32 +148,32 @@ var n = [
147
148
  },
148
149
  label: "Ordered list",
149
150
  nodeType: "orderedList",
150
- potentialOperations: o,
151
+ potentialOperations: s,
151
152
  role: "list"
152
153
  }),
153
- i({
154
- attributes: a,
154
+ a({
155
+ attributes: o,
155
156
  content: {
156
157
  expression: "paragraph block*",
157
158
  kind: "structured"
158
159
  },
159
160
  label: "List item",
160
161
  nodeType: "listItem",
161
- potentialOperations: o,
162
+ potentialOperations: s,
162
163
  role: "list_item"
163
164
  }),
164
- i({
165
- attributes: a,
165
+ a({
166
+ attributes: o,
166
167
  content: {
167
168
  expression: "taskItem+",
168
169
  kind: "structured"
169
170
  },
170
171
  label: "Task list",
171
172
  nodeType: "taskList",
172
- potentialOperations: o,
173
+ potentialOperations: s,
173
174
  role: "list"
174
175
  }),
175
- i({
176
+ a({
176
177
  attributes: { checked: { kind: "boolean" } },
177
178
  content: {
178
179
  expression: "paragraph block*",
@@ -186,10 +187,10 @@ var n = [
186
187
  }],
187
188
  role: "list_item"
188
189
  }),
189
- i({
190
+ a({
190
191
  attributes: { variant: {
191
192
  kind: "enum",
192
- values: e
193
+ values: t
193
194
  } },
194
195
  content: {
195
196
  expression: "block+",
@@ -203,29 +204,36 @@ var n = [
203
204
  }],
204
205
  role: "container"
205
206
  }),
206
- i({
207
- attributes: a,
207
+ a({
208
+ attributes: {
209
+ tableLayout: {
210
+ kind: "enum",
211
+ values: e
212
+ },
213
+ limitHeight: { kind: "boolean" },
214
+ stickyHeaderRow: { kind: "boolean" }
215
+ },
208
216
  content: {
209
217
  expression: "tableRow+",
210
218
  kind: "structured"
211
219
  },
212
220
  label: "Table",
213
221
  nodeType: "table",
214
- potentialOperations: o,
222
+ potentialOperations: s,
215
223
  role: "table"
216
224
  }),
217
- i({
218
- attributes: a,
225
+ a({
226
+ attributes: o,
219
227
  content: {
220
228
  expression: "(tableCell | tableHeader)*",
221
229
  kind: "structured"
222
230
  },
223
231
  label: "Table row",
224
232
  nodeType: "tableRow",
225
- potentialOperations: o,
233
+ potentialOperations: s,
226
234
  role: "table_row"
227
235
  }),
228
- ...["tableCell", "tableHeader"].map((e) => i({
236
+ ...["tableCell", "tableHeader"].map((e) => a({
229
237
  attributes: {
230
238
  align: {
231
239
  kind: "enum",
@@ -249,10 +257,10 @@ var n = [
249
257
  },
250
258
  label: e === "tableCell" ? "Table cell" : "Table header",
251
259
  nodeType: e,
252
- potentialOperations: o,
260
+ potentialOperations: s,
253
261
  role: "table_cell"
254
262
  })),
255
- i({
263
+ a({
256
264
  attributes: {
257
265
  alt: {
258
266
  kind: "string",
@@ -281,10 +289,10 @@ var n = [
281
289
  },
282
290
  label: "Image",
283
291
  nodeType: "image",
284
- potentialOperations: o,
292
+ potentialOperations: s,
285
293
  role: "inline_atom"
286
294
  }),
287
- i({
295
+ a({
288
296
  attributes: { name: {
289
297
  kind: "string",
290
298
  nullable: !0
@@ -295,10 +303,10 @@ var n = [
295
303
  },
296
304
  label: "Emoji",
297
305
  nodeType: "emoji",
298
- potentialOperations: o,
306
+ potentialOperations: s,
299
307
  role: "inline_atom"
300
308
  }),
301
- ...["inlineMath", "blockMath"].map((e) => i({
309
+ ...["inlineMath", "blockMath"].map((e) => a({
302
310
  attributes: { latex: { kind: "string" } },
303
311
  content: {
304
312
  expression: null,
@@ -306,10 +314,10 @@ var n = [
306
314
  },
307
315
  label: e === "inlineMath" ? "Inline math" : "Block math",
308
316
  nodeType: e,
309
- potentialOperations: o,
317
+ potentialOperations: s,
310
318
  role: e === "inlineMath" ? "inline_atom" : "block_atom"
311
319
  })),
312
- i({
320
+ a({
313
321
  attributes: {
314
322
  description: {
315
323
  kind: "string",
@@ -317,7 +325,7 @@ var n = [
317
325
  },
318
326
  display: {
319
327
  kind: "enum",
320
- values: t
328
+ values: n
321
329
  },
322
330
  faviconUrl: {
323
331
  kind: "string",
@@ -348,23 +356,23 @@ var n = [
348
356
  },
349
357
  label: "External link preview",
350
358
  nodeType: "externalLinkPreview",
351
- potentialOperations: o,
359
+ potentialOperations: s,
352
360
  role: "inline_atom"
353
361
  })
354
- ], c = (e, t, n, r) => {
362
+ ], l = (e, t, n, r) => {
355
363
  let i = [...t].sort(), a = [...n].sort();
356
364
  if (i.length !== a.length || i.some((e, t) => e !== a[t])) throw Error(`Document node capability ${r} ${e} drifted from the Scribe schema: expected [${a.join(", ")}], received [${i.join(", ")}].`);
357
- }, l = (e, t, n) => {
365
+ }, u = (e, t, n) => {
358
366
  if (n.kind === "enum" && (n.values.length === 0 || new Set(n.values).size !== n.values.length)) throw Error(`Document node capability ${e}.${t} requires unique enum values.`);
359
- }, u = (e) => e.isLeaf ? "none" : e.inlineContent ? "inline" : e.spec.content === "block+" || e.spec.content === "block*" ? "block" : "structured", d = (e, t) => {
367
+ }, d = (e) => e.isLeaf ? "none" : e.inlineContent ? "inline" : e.spec.content === "block+" || e.spec.content === "block*" ? "block" : "structured", f = (e, t) => {
360
368
  let n = e.nodes[t.nodeType];
361
369
  if (!n) throw Error(`Document node capability ${t.nodeType} does not exist in the Scribe schema.`);
362
370
  let r = n.spec.content ?? null;
363
371
  if (r !== t.content.expression) throw Error(`Document node capability ${t.nodeType} content drifted from the Scribe schema: expected ${String(r)}, received ${String(t.content.expression)}.`);
364
- let i = u(n);
372
+ let i = d(n);
365
373
  if (i !== t.content.kind) throw Error(`Document node capability ${t.nodeType} content kind drifted from the Scribe schema: expected ${i}, received ${t.content.kind}.`);
366
374
  let a = Object.keys(t.attributes);
367
- c("attributes", a, Object.keys(n.spec.attrs ?? {}), t.nodeType), a.forEach((e) => l(t.nodeType, e, t.attributes[e]));
375
+ l("attributes", a, Object.keys(n.spec.attrs ?? {}), t.nodeType), a.forEach((e) => u(t.nodeType, e, t.attributes[e]));
368
376
  let o = t.potentialOperations.map((e) => e.type);
369
377
  if (new Set(o).size !== o.length) throw Error(`Document node capability ${t.nodeType} repeats a potential operation.`);
370
378
  t.potentialOperations.forEach((e) => {
@@ -377,7 +385,7 @@ var n = [
377
385
  });
378
386
  }
379
387
  });
380
- }, f = (e) => {
388
+ }, p = (e) => {
381
389
  let t = Object.freeze(Object.fromEntries(Object.entries(e.attributes).map(([e, t]) => [e, Object.freeze(t.kind === "enum" ? {
382
390
  ...t,
383
391
  values: Object.freeze([...t.values])
@@ -393,17 +401,17 @@ var n = [
393
401
  potentialOperations: n,
394
402
  role: e.role
395
403
  });
396
- }, p = (e, t = []) => {
404
+ }, m = (e, t = []) => {
397
405
  let n = /* @__PURE__ */ new Map(), r = t.map((e) => e.nodeType).filter((t) => !e.nodes[t]);
398
406
  if (r.length > 0) throw Error(`Document node capabilities do not exist in the Scribe schema: ${r.join(", ")}.`);
399
- for (let e of [...s, ...t]) {
407
+ for (let e of [...c, ...t]) {
400
408
  if (n.has(e.nodeType)) throw Error(`Document node capability ${e.nodeType} is declared more than once.`);
401
409
  n.set(e.nodeType, e);
402
410
  }
403
411
  let i = Object.keys(e.nodes), a = i.map((e) => n.get(e)), o = i.filter((e, t) => !a[t]);
404
412
  if (o.length > 0) throw Error(`Document node capabilities are missing for schema nodes: ${o.join(", ")}.`);
405
- let c = a.map((t) => (d(e, t), [t.nodeType, f(t)]));
406
- return Object.freeze(Object.fromEntries(c));
413
+ let s = a.map((t) => (f(e, t), [t.nodeType, p(t)]));
414
+ return Object.freeze(Object.fromEntries(s));
407
415
  };
408
416
  //#endregion
409
- export { n as SCRIBE_DOCUMENT_NODE_CAPABILITY_ROLES, r as SCRIBE_DOCUMENT_NODE_CONTENT_KINDS, p as createScribeDocumentNodeCapabilityManifest, i as defineScribeDocumentNodeCapability };
417
+ export { r as SCRIBE_DOCUMENT_NODE_CAPABILITY_ROLES, i as SCRIBE_DOCUMENT_NODE_CONTENT_KINDS, m as createScribeDocumentNodeCapabilityManifest, a as defineScribeDocumentNodeCapability };
@@ -1,4 +1,4 @@
1
- import { n as e, r as t, t as n } from "./schema-extensions-LzyMpyWW.js";
1
+ import { n as e, r as t, t as n } from "./schema-extensions-BXyGPwMf.js";
2
2
  import r from "./components/Scribe/extension/extension-markdown-paste.js";
3
3
  import { SlashCommand as i } from "./components/Scribe/extension/slashCommand/index.js";
4
4
  import a from "./components/Scribe/extension/extension-selectedText.js";
@@ -1,5 +1,5 @@
1
1
  import { normalizeExternalLinkPreviewElement as e, normalizeExternalLinkPreviewsInTree as t } from "./components/Scribe/extension/external-link-preview/serialization.js";
2
- import { t as n } from "./purify.es-CpMrJENN.js";
2
+ import { t as n } from "./purify.es-q6CUdJQi.js";
3
3
  //#region node_modules/.pnpm/turndown@7.2.4/node_modules/turndown/lib/turndown.browser.es.js
4
4
  function r(e) {
5
5
  for (var t = 1; t < arguments.length; t++) {
@@ -504,7 +504,7 @@ var G = "scribe-table-break", K = /* @__PURE__ */ new Set([
504
504
  if (!r) return null;
505
505
  if (r === "left" || r === "center" || r === "right") return r;
506
506
  }, ue = (e) => {
507
- if (e.caption || e.tFoot || ce(e)) return null;
507
+ if (e.caption || e.tFoot || ce(e) || ["fit", "scroll"].includes(e.getAttribute("data-table-layout") ?? "") || e.getAttribute("data-table-limit-height") === "true" || e.getAttribute("data-table-sticky-header-row") === "true") return null;
508
508
  let t = Array.from(e.rows), n = t[0]?.cells.length ?? 0;
509
509
  if (t.length === 0 || n === 0) return null;
510
510
  let r = t.map((e) => Array.from(e.cells));
package/dist/main.css CHANGED
@@ -405,6 +405,52 @@
405
405
  min-width: 100%;
406
406
  }
407
407
 
408
+ .scribe-content .tiptap .tableWrapper[data-table-layout="scroll"] > table {
409
+ min-width: 0;
410
+ width: auto;
411
+ }
412
+
413
+ .scribe-content .tiptap .tableWrapper[data-table-layout="fit"] > table {
414
+ max-width: 100%;
415
+ min-width: 0 !important;
416
+ width: 100% !important;
417
+ }
418
+
419
+ .scribe-content .tiptap .tableWrapper[data-table-layout="fit"] > table > colgroup > col {
420
+ min-width: 0 !important;
421
+ width: auto !important;
422
+ }
423
+
424
+ .scribe-content .tiptap .tableWrapper[data-table-layout="fit"] > table > tbody > tr > th,
425
+ .scribe-content .tiptap .tableWrapper[data-table-layout="fit"] > table > tbody > tr > td {
426
+ min-width: 0;
427
+ overflow-wrap: anywhere;
428
+ }
429
+
430
+ .scribe-content .tiptap .tableWrapper[data-table-limit-height="true"] {
431
+ max-height: var(--scribe-table-max-height, 360px);
432
+ overflow-y: auto;
433
+ }
434
+
435
+ .scribe-content .tiptap .tableWrapper[data-table-sticky-header-active="true"] {
436
+ isolation: isolate;
437
+ scroll-margin-top: var(--scribe-table-sticky-header-offset, 0px);
438
+ }
439
+
440
+ .scribe-content
441
+ .tiptap
442
+ .tableWrapper[data-table-sticky-header-active="true"]
443
+ > table
444
+ > tbody
445
+ > tr:first-child
446
+ > th {
447
+ background: var(--gray-3);
448
+ box-shadow: inset 0 -1px var(--gray-6);
449
+ position: sticky;
450
+ top: var(--scribe-table-sticky-header-top, 0px);
451
+ z-index: 4;
452
+ }
453
+
408
454
  .scribe-content .tiptap th,
409
455
  .scribe-content .tiptap td {
410
456
  border: 1px solid var(--gray-6);
package/dist/main.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./components/Scribe";
2
2
  export * from "./components/Scribe/extension/callout";
3
3
  export * from "./components/Scribe/extension/external-link-preview";
4
+ export type { ScribeTableLayout } from "./components/Scribe/extension/resizable-table";
4
5
  export * from "./utils";
5
6
  export type { Content } from "@tiptap/react";
6
7
  //# sourceMappingURL=main.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../lib/main.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,uCAAuC,CAAC;AACtD,cAAc,qDAAqD,CAAC;AACpE,cAAc,SAAS,CAAC;AACxB,YAAY,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../lib/main.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,uCAAuC,CAAC;AACtD,cAAc,qDAAqD,CAAC;AACpE,YAAY,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AACvF,cAAc,SAAS,CAAC;AACxB,YAAY,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
package/dist/main.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { CALLOUT_VARIANTS as e, CALLOUT_VARIANT_LABELS as t, Callout as n, DEFAULT_CALLOUT_VARIANT as r, isCalloutVariant as i } from "./components/Scribe/extension/callout.js";
2
2
  import { EXTERNAL_LINK_PREVIEW_DISPLAYS as a } from "./components/Scribe/extension/external-link-preview/types.js";
3
3
  import { EXTERNAL_LINK_PREVIEW_NODE_NAME as o } from "./components/Scribe/extension/external-link-preview/attributes.js";
4
- import { t as s } from "./html-to-markdown-CKpceHDk.js";
5
- import { t as c } from "./markdown-to-html-zj2j0HLf.js";
4
+ import { t as s } from "./html-to-markdown-DZ83bZ9I.js";
5
+ import { t as c } from "./markdown-to-html-BoK5O_j-.js";
6
6
  import { isInViewport as l } from "./utils/is-in-viewport.js";
7
7
  import { convertLegacyMathDelimiters as u } from "./utils/convert-legacy-math-delimiters.js";
8
8
  import { SuggestionItemType as d } from "./components/Scribe/extension/slashCommand/items.js";