markdown-codec 6.5.1 → 6.6.0
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/block/block.d.cts +1 -1
- package/dist/block/block.d.ts +1 -1
- package/dist/block/definitions.d.cts +1 -1
- package/dist/block/definitions.d.ts +1 -1
- package/dist/codec.d.cts +36 -0
- package/dist/codec.d.ts +36 -0
- package/dist/diagnostics/diagnostics.cjs +0 -2
- package/dist/diagnostics/diagnostics.d.cts +1 -1
- package/dist/diagnostics/diagnostics.d.ts +1 -1
- package/dist/diagnostics/diagnostics.js +0 -2
- package/dist/{diagnostics-DLum7kY6.d.cts → diagnostics-CjfBoW4K.d.cts} +0 -2
- package/dist/{diagnostics-DLum7kY6.d.ts → diagnostics-CjfBoW4K.d.ts} +0 -2
- package/dist/emit/inline.d.cts +1 -1
- package/dist/emit/inline.d.ts +1 -1
- package/dist/emit/table.d.cts +2 -2
- package/dist/emit/table.d.ts +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/{inline-514HW3Pi.d.cts → inline-DCIKQ83j.d.cts} +1 -1
- package/dist/{inline-2-lUb0vo.d.ts → inline-INoDAG37.d.ts} +1 -1
- package/dist/lower/front-matter.d.cts +1 -1
- package/dist/lower/front-matter.d.ts +1 -1
- package/dist/lower/inline.d.cts +1 -1
- package/dist/lower/inline.d.ts +1 -1
- package/dist/lower/lower.cjs +5 -59
- package/dist/lower/lower.js +5 -59
- package/dist/options/options.d.cts +1 -1
- package/dist/options/options.d.ts +1 -1
- package/dist/read.d.cts +1 -1
- package/dist/read.d.ts +1 -1
- package/package.json +2 -2
package/dist/block/block.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as MarkdownDocumentNode } from "../ast-CNfTgS0N.cjs";
|
|
2
2
|
import { r as FootnoteLabelSet } from "../footnote-CKk4JbLk.cjs";
|
|
3
|
-
import { i as MarkdownDiagnosticSink } from "../diagnostics-
|
|
3
|
+
import { i as MarkdownDiagnosticSink } from "../diagnostics-CjfBoW4K.cjs";
|
|
4
4
|
import { LinkReferenceMap } from "../inline/link.cjs";
|
|
5
5
|
import { t as InlineParseOptions } from "../inline-CnO86zMw.cjs";
|
|
6
6
|
//#region src/block/block.d.ts
|
package/dist/block/block.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as MarkdownDocumentNode } from "../ast-CNfTgS0N.js";
|
|
2
2
|
import { r as FootnoteLabelSet } from "../footnote-CKk4JbLk.js";
|
|
3
|
-
import { i as MarkdownDiagnosticSink } from "../diagnostics-
|
|
3
|
+
import { i as MarkdownDiagnosticSink } from "../diagnostics-CjfBoW4K.js";
|
|
4
4
|
import { LinkReferenceMap } from "../inline/link.js";
|
|
5
5
|
import { t as InlineParseOptions } from "../inline-DItZ-VVw.js";
|
|
6
6
|
//#region src/block/block.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as MarkdownDiagnosticSink } from "../diagnostics-
|
|
1
|
+
import { i as MarkdownDiagnosticSink } from "../diagnostics-CjfBoW4K.cjs";
|
|
2
2
|
import { LinkReferenceDefinition } from "../inline/link.cjs";
|
|
3
3
|
//#region src/block/definitions.d.ts
|
|
4
4
|
declare function extractDefinitions(content: string, references: Map<string, LinkReferenceDefinition>, sink?: MarkdownDiagnosticSink, startLine?: number): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as MarkdownDiagnosticSink } from "../diagnostics-
|
|
1
|
+
import { i as MarkdownDiagnosticSink } from "../diagnostics-CjfBoW4K.js";
|
|
2
2
|
import { LinkReferenceDefinition } from "../inline/link.js";
|
|
3
3
|
//#region src/block/definitions.d.ts
|
|
4
4
|
declare function extractDefinitions(content: string, references: Map<string, LinkReferenceDefinition>, sink?: MarkdownDiagnosticSink, startLine?: number): string;
|
package/dist/codec.d.cts
CHANGED
|
@@ -79,6 +79,7 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
79
79
|
pdf: "pdf";
|
|
80
80
|
epub: "epub";
|
|
81
81
|
rtf: "rtf";
|
|
82
|
+
wpd: "wpd";
|
|
82
83
|
}>;
|
|
83
84
|
xml: z.ZodString;
|
|
84
85
|
}, z.core.$strict>>>;
|
|
@@ -227,6 +228,7 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
227
228
|
pdf: "pdf";
|
|
228
229
|
epub: "epub";
|
|
229
230
|
rtf: "rtf";
|
|
231
|
+
wpd: "wpd";
|
|
230
232
|
}>;
|
|
231
233
|
xml: z.ZodString;
|
|
232
234
|
}, z.core.$strict>>>;
|
|
@@ -375,6 +377,7 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
375
377
|
pdf: "pdf";
|
|
376
378
|
epub: "epub";
|
|
377
379
|
rtf: "rtf";
|
|
380
|
+
wpd: "wpd";
|
|
378
381
|
}>;
|
|
379
382
|
xml: z.ZodString;
|
|
380
383
|
}, z.core.$strict>>>;
|
|
@@ -523,6 +526,7 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
523
526
|
pdf: "pdf";
|
|
524
527
|
epub: "epub";
|
|
525
528
|
rtf: "rtf";
|
|
529
|
+
wpd: "wpd";
|
|
526
530
|
}>;
|
|
527
531
|
xml: z.ZodString;
|
|
528
532
|
}, z.core.$strict>>>;
|
|
@@ -622,6 +626,7 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
622
626
|
pdf: "pdf";
|
|
623
627
|
epub: "epub";
|
|
624
628
|
rtf: "rtf";
|
|
629
|
+
wpd: "wpd";
|
|
625
630
|
}>;
|
|
626
631
|
xml: z.ZodString;
|
|
627
632
|
}, z.core.$strict>>;
|
|
@@ -702,6 +707,7 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
702
707
|
pdf: "pdf";
|
|
703
708
|
epub: "epub";
|
|
704
709
|
rtf: "rtf";
|
|
710
|
+
wpd: "wpd";
|
|
705
711
|
}>;
|
|
706
712
|
xml: z.ZodString;
|
|
707
713
|
}, z.core.$strict>>>;
|
|
@@ -808,6 +814,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
808
814
|
pdf: "pdf";
|
|
809
815
|
epub: "epub";
|
|
810
816
|
rtf: "rtf";
|
|
817
|
+
wpd: "wpd";
|
|
811
818
|
}>;
|
|
812
819
|
xml: z.ZodString;
|
|
813
820
|
}, z.core.$strict>>;
|
|
@@ -918,6 +925,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
918
925
|
pdf: "pdf";
|
|
919
926
|
epub: "epub";
|
|
920
927
|
rtf: "rtf";
|
|
928
|
+
wpd: "wpd";
|
|
921
929
|
}>;
|
|
922
930
|
xml: z.ZodString;
|
|
923
931
|
}, z.core.$strict>>;
|
|
@@ -947,6 +955,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
947
955
|
pdf: "pdf";
|
|
948
956
|
epub: "epub";
|
|
949
957
|
rtf: "rtf";
|
|
958
|
+
wpd: "wpd";
|
|
950
959
|
}>;
|
|
951
960
|
xml: z.ZodString;
|
|
952
961
|
}, z.core.$strict>>;
|
|
@@ -1100,6 +1109,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1100
1109
|
pdf: "pdf";
|
|
1101
1110
|
epub: "epub";
|
|
1102
1111
|
rtf: "rtf";
|
|
1112
|
+
wpd: "wpd";
|
|
1103
1113
|
}>;
|
|
1104
1114
|
xml: z.ZodString;
|
|
1105
1115
|
}, z.core.$strict>>;
|
|
@@ -1310,6 +1320,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1310
1320
|
pdf: "pdf";
|
|
1311
1321
|
epub: "epub";
|
|
1312
1322
|
rtf: "rtf";
|
|
1323
|
+
wpd: "wpd";
|
|
1313
1324
|
}>;
|
|
1314
1325
|
xml: z.ZodString;
|
|
1315
1326
|
}, z.core.$strict>>;
|
|
@@ -1448,6 +1459,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1448
1459
|
pdf: "pdf";
|
|
1449
1460
|
epub: "epub";
|
|
1450
1461
|
rtf: "rtf";
|
|
1462
|
+
wpd: "wpd";
|
|
1451
1463
|
}>;
|
|
1452
1464
|
xml: z.ZodString;
|
|
1453
1465
|
}, z.core.$strict>>;
|
|
@@ -1561,6 +1573,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1561
1573
|
pdf: "pdf";
|
|
1562
1574
|
epub: "epub";
|
|
1563
1575
|
rtf: "rtf";
|
|
1576
|
+
wpd: "wpd";
|
|
1564
1577
|
}>;
|
|
1565
1578
|
xml: z.ZodString;
|
|
1566
1579
|
}, z.core.$strict>>;
|
|
@@ -1605,6 +1618,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1605
1618
|
pdf: "pdf";
|
|
1606
1619
|
epub: "epub";
|
|
1607
1620
|
rtf: "rtf";
|
|
1621
|
+
wpd: "wpd";
|
|
1608
1622
|
}>;
|
|
1609
1623
|
xml: z.ZodString;
|
|
1610
1624
|
}, z.core.$strict>>;
|
|
@@ -1633,6 +1647,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1633
1647
|
pdf: "pdf";
|
|
1634
1648
|
epub: "epub";
|
|
1635
1649
|
rtf: "rtf";
|
|
1650
|
+
wpd: "wpd";
|
|
1636
1651
|
}>;
|
|
1637
1652
|
xml: z.ZodString;
|
|
1638
1653
|
}, z.core.$strict>>;
|
|
@@ -1666,6 +1681,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1666
1681
|
pdf: "pdf";
|
|
1667
1682
|
epub: "epub";
|
|
1668
1683
|
rtf: "rtf";
|
|
1684
|
+
wpd: "wpd";
|
|
1669
1685
|
}>;
|
|
1670
1686
|
xml: z.ZodString;
|
|
1671
1687
|
}, z.core.$strict>>;
|
|
@@ -1694,6 +1710,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1694
1710
|
pdf: "pdf";
|
|
1695
1711
|
epub: "epub";
|
|
1696
1712
|
rtf: "rtf";
|
|
1713
|
+
wpd: "wpd";
|
|
1697
1714
|
}>;
|
|
1698
1715
|
xml: z.ZodString;
|
|
1699
1716
|
}, z.core.$strict>>;
|
|
@@ -1731,6 +1748,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1731
1748
|
pdf: "pdf";
|
|
1732
1749
|
epub: "epub";
|
|
1733
1750
|
rtf: "rtf";
|
|
1751
|
+
wpd: "wpd";
|
|
1734
1752
|
}>;
|
|
1735
1753
|
xml: z.ZodString;
|
|
1736
1754
|
}, z.core.$strict>>;
|
|
@@ -1759,6 +1777,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1759
1777
|
pdf: "pdf";
|
|
1760
1778
|
epub: "epub";
|
|
1761
1779
|
rtf: "rtf";
|
|
1780
|
+
wpd: "wpd";
|
|
1762
1781
|
}>;
|
|
1763
1782
|
xml: z.ZodString;
|
|
1764
1783
|
}, z.core.$strict>>;
|
|
@@ -1801,6 +1820,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1801
1820
|
pdf: "pdf";
|
|
1802
1821
|
epub: "epub";
|
|
1803
1822
|
rtf: "rtf";
|
|
1823
|
+
wpd: "wpd";
|
|
1804
1824
|
}>;
|
|
1805
1825
|
xml: z.ZodString;
|
|
1806
1826
|
}, z.core.$strict>>;
|
|
@@ -1829,6 +1849,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1829
1849
|
pdf: "pdf";
|
|
1830
1850
|
epub: "epub";
|
|
1831
1851
|
rtf: "rtf";
|
|
1852
|
+
wpd: "wpd";
|
|
1832
1853
|
}>;
|
|
1833
1854
|
xml: z.ZodString;
|
|
1834
1855
|
}, z.core.$strict>>;
|
|
@@ -1864,6 +1885,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1864
1885
|
pdf: "pdf";
|
|
1865
1886
|
epub: "epub";
|
|
1866
1887
|
rtf: "rtf";
|
|
1888
|
+
wpd: "wpd";
|
|
1867
1889
|
}>;
|
|
1868
1890
|
xml: z.ZodString;
|
|
1869
1891
|
}, z.core.$strict>>;
|
|
@@ -1892,6 +1914,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1892
1914
|
pdf: "pdf";
|
|
1893
1915
|
epub: "epub";
|
|
1894
1916
|
rtf: "rtf";
|
|
1917
|
+
wpd: "wpd";
|
|
1895
1918
|
}>;
|
|
1896
1919
|
xml: z.ZodString;
|
|
1897
1920
|
}, z.core.$strict>>;
|
|
@@ -1939,6 +1962,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1939
1962
|
pdf: "pdf";
|
|
1940
1963
|
epub: "epub";
|
|
1941
1964
|
rtf: "rtf";
|
|
1965
|
+
wpd: "wpd";
|
|
1942
1966
|
}>;
|
|
1943
1967
|
xml: z.ZodString;
|
|
1944
1968
|
}, z.core.$strict>>;
|
|
@@ -1967,6 +1991,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1967
1991
|
pdf: "pdf";
|
|
1968
1992
|
epub: "epub";
|
|
1969
1993
|
rtf: "rtf";
|
|
1994
|
+
wpd: "wpd";
|
|
1970
1995
|
}>;
|
|
1971
1996
|
xml: z.ZodString;
|
|
1972
1997
|
}, z.core.$strict>>;
|
|
@@ -2014,6 +2039,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2014
2039
|
pdf: "pdf";
|
|
2015
2040
|
epub: "epub";
|
|
2016
2041
|
rtf: "rtf";
|
|
2042
|
+
wpd: "wpd";
|
|
2017
2043
|
}>;
|
|
2018
2044
|
xml: z.ZodString;
|
|
2019
2045
|
}, z.core.$strict>>;
|
|
@@ -2071,6 +2097,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2071
2097
|
pdf: "pdf";
|
|
2072
2098
|
epub: "epub";
|
|
2073
2099
|
rtf: "rtf";
|
|
2100
|
+
wpd: "wpd";
|
|
2074
2101
|
}>;
|
|
2075
2102
|
xml: z.ZodString;
|
|
2076
2103
|
}, z.core.$strict>>;
|
|
@@ -2114,6 +2141,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2114
2141
|
pdf: "pdf";
|
|
2115
2142
|
epub: "epub";
|
|
2116
2143
|
rtf: "rtf";
|
|
2144
|
+
wpd: "wpd";
|
|
2117
2145
|
}>;
|
|
2118
2146
|
xml: z.ZodString;
|
|
2119
2147
|
}, z.core.$strict>>;
|
|
@@ -2135,6 +2163,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2135
2163
|
pdf: "pdf";
|
|
2136
2164
|
epub: "epub";
|
|
2137
2165
|
rtf: "rtf";
|
|
2166
|
+
wpd: "wpd";
|
|
2138
2167
|
}>;
|
|
2139
2168
|
xml: z.ZodString;
|
|
2140
2169
|
}, z.core.$strict>>;
|
|
@@ -2245,6 +2274,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2245
2274
|
pdf: "pdf";
|
|
2246
2275
|
epub: "epub";
|
|
2247
2276
|
rtf: "rtf";
|
|
2277
|
+
wpd: "wpd";
|
|
2248
2278
|
}>;
|
|
2249
2279
|
xml: z.ZodString;
|
|
2250
2280
|
}, z.core.$strict>>;
|
|
@@ -2357,6 +2387,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2357
2387
|
pdf: "pdf";
|
|
2358
2388
|
epub: "epub";
|
|
2359
2389
|
rtf: "rtf";
|
|
2390
|
+
wpd: "wpd";
|
|
2360
2391
|
}>;
|
|
2361
2392
|
xml: z.ZodString;
|
|
2362
2393
|
}, z.core.$strict>>;
|
|
@@ -2467,6 +2498,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2467
2498
|
pdf: "pdf";
|
|
2468
2499
|
epub: "epub";
|
|
2469
2500
|
rtf: "rtf";
|
|
2501
|
+
wpd: "wpd";
|
|
2470
2502
|
}>;
|
|
2471
2503
|
xml: z.ZodString;
|
|
2472
2504
|
}, z.core.$strict>>;
|
|
@@ -2527,6 +2559,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2527
2559
|
pdf: "pdf";
|
|
2528
2560
|
epub: "epub";
|
|
2529
2561
|
rtf: "rtf";
|
|
2562
|
+
wpd: "wpd";
|
|
2530
2563
|
}>;
|
|
2531
2564
|
xml: z.ZodString;
|
|
2532
2565
|
}, z.core.$strict>>;
|
|
@@ -2669,6 +2702,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2669
2702
|
pdf: "pdf";
|
|
2670
2703
|
epub: "epub";
|
|
2671
2704
|
rtf: "rtf";
|
|
2705
|
+
wpd: "wpd";
|
|
2672
2706
|
}>;
|
|
2673
2707
|
xml: z.ZodString;
|
|
2674
2708
|
}, z.core.$strict>>;
|
|
@@ -2696,6 +2730,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2696
2730
|
pdf: "pdf";
|
|
2697
2731
|
epub: "epub";
|
|
2698
2732
|
rtf: "rtf";
|
|
2733
|
+
wpd: "wpd";
|
|
2699
2734
|
}>;
|
|
2700
2735
|
xml: z.ZodString;
|
|
2701
2736
|
}, z.core.$strict>>;
|
|
@@ -2796,6 +2831,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2796
2831
|
pdf: "pdf";
|
|
2797
2832
|
epub: "epub";
|
|
2798
2833
|
rtf: "rtf";
|
|
2834
|
+
wpd: "wpd";
|
|
2799
2835
|
}>;
|
|
2800
2836
|
xml: z.ZodString;
|
|
2801
2837
|
}, z.core.$strict>>;
|
package/dist/codec.d.ts
CHANGED
|
@@ -79,6 +79,7 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
79
79
|
pdf: "pdf";
|
|
80
80
|
epub: "epub";
|
|
81
81
|
rtf: "rtf";
|
|
82
|
+
wpd: "wpd";
|
|
82
83
|
}>;
|
|
83
84
|
xml: z.ZodString;
|
|
84
85
|
}, z.core.$strict>>>;
|
|
@@ -227,6 +228,7 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
227
228
|
pdf: "pdf";
|
|
228
229
|
epub: "epub";
|
|
229
230
|
rtf: "rtf";
|
|
231
|
+
wpd: "wpd";
|
|
230
232
|
}>;
|
|
231
233
|
xml: z.ZodString;
|
|
232
234
|
}, z.core.$strict>>>;
|
|
@@ -375,6 +377,7 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
375
377
|
pdf: "pdf";
|
|
376
378
|
epub: "epub";
|
|
377
379
|
rtf: "rtf";
|
|
380
|
+
wpd: "wpd";
|
|
378
381
|
}>;
|
|
379
382
|
xml: z.ZodString;
|
|
380
383
|
}, z.core.$strict>>>;
|
|
@@ -523,6 +526,7 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
523
526
|
pdf: "pdf";
|
|
524
527
|
epub: "epub";
|
|
525
528
|
rtf: "rtf";
|
|
529
|
+
wpd: "wpd";
|
|
526
530
|
}>;
|
|
527
531
|
xml: z.ZodString;
|
|
528
532
|
}, z.core.$strict>>>;
|
|
@@ -622,6 +626,7 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
622
626
|
pdf: "pdf";
|
|
623
627
|
epub: "epub";
|
|
624
628
|
rtf: "rtf";
|
|
629
|
+
wpd: "wpd";
|
|
625
630
|
}>;
|
|
626
631
|
xml: z.ZodString;
|
|
627
632
|
}, z.core.$strict>>;
|
|
@@ -702,6 +707,7 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
702
707
|
pdf: "pdf";
|
|
703
708
|
epub: "epub";
|
|
704
709
|
rtf: "rtf";
|
|
710
|
+
wpd: "wpd";
|
|
705
711
|
}>;
|
|
706
712
|
xml: z.ZodString;
|
|
707
713
|
}, z.core.$strict>>>;
|
|
@@ -808,6 +814,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
808
814
|
pdf: "pdf";
|
|
809
815
|
epub: "epub";
|
|
810
816
|
rtf: "rtf";
|
|
817
|
+
wpd: "wpd";
|
|
811
818
|
}>;
|
|
812
819
|
xml: z.ZodString;
|
|
813
820
|
}, z.core.$strict>>;
|
|
@@ -918,6 +925,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
918
925
|
pdf: "pdf";
|
|
919
926
|
epub: "epub";
|
|
920
927
|
rtf: "rtf";
|
|
928
|
+
wpd: "wpd";
|
|
921
929
|
}>;
|
|
922
930
|
xml: z.ZodString;
|
|
923
931
|
}, z.core.$strict>>;
|
|
@@ -947,6 +955,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
947
955
|
pdf: "pdf";
|
|
948
956
|
epub: "epub";
|
|
949
957
|
rtf: "rtf";
|
|
958
|
+
wpd: "wpd";
|
|
950
959
|
}>;
|
|
951
960
|
xml: z.ZodString;
|
|
952
961
|
}, z.core.$strict>>;
|
|
@@ -1100,6 +1109,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1100
1109
|
pdf: "pdf";
|
|
1101
1110
|
epub: "epub";
|
|
1102
1111
|
rtf: "rtf";
|
|
1112
|
+
wpd: "wpd";
|
|
1103
1113
|
}>;
|
|
1104
1114
|
xml: z.ZodString;
|
|
1105
1115
|
}, z.core.$strict>>;
|
|
@@ -1310,6 +1320,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1310
1320
|
pdf: "pdf";
|
|
1311
1321
|
epub: "epub";
|
|
1312
1322
|
rtf: "rtf";
|
|
1323
|
+
wpd: "wpd";
|
|
1313
1324
|
}>;
|
|
1314
1325
|
xml: z.ZodString;
|
|
1315
1326
|
}, z.core.$strict>>;
|
|
@@ -1448,6 +1459,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1448
1459
|
pdf: "pdf";
|
|
1449
1460
|
epub: "epub";
|
|
1450
1461
|
rtf: "rtf";
|
|
1462
|
+
wpd: "wpd";
|
|
1451
1463
|
}>;
|
|
1452
1464
|
xml: z.ZodString;
|
|
1453
1465
|
}, z.core.$strict>>;
|
|
@@ -1561,6 +1573,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1561
1573
|
pdf: "pdf";
|
|
1562
1574
|
epub: "epub";
|
|
1563
1575
|
rtf: "rtf";
|
|
1576
|
+
wpd: "wpd";
|
|
1564
1577
|
}>;
|
|
1565
1578
|
xml: z.ZodString;
|
|
1566
1579
|
}, z.core.$strict>>;
|
|
@@ -1605,6 +1618,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1605
1618
|
pdf: "pdf";
|
|
1606
1619
|
epub: "epub";
|
|
1607
1620
|
rtf: "rtf";
|
|
1621
|
+
wpd: "wpd";
|
|
1608
1622
|
}>;
|
|
1609
1623
|
xml: z.ZodString;
|
|
1610
1624
|
}, z.core.$strict>>;
|
|
@@ -1633,6 +1647,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1633
1647
|
pdf: "pdf";
|
|
1634
1648
|
epub: "epub";
|
|
1635
1649
|
rtf: "rtf";
|
|
1650
|
+
wpd: "wpd";
|
|
1636
1651
|
}>;
|
|
1637
1652
|
xml: z.ZodString;
|
|
1638
1653
|
}, z.core.$strict>>;
|
|
@@ -1666,6 +1681,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1666
1681
|
pdf: "pdf";
|
|
1667
1682
|
epub: "epub";
|
|
1668
1683
|
rtf: "rtf";
|
|
1684
|
+
wpd: "wpd";
|
|
1669
1685
|
}>;
|
|
1670
1686
|
xml: z.ZodString;
|
|
1671
1687
|
}, z.core.$strict>>;
|
|
@@ -1694,6 +1710,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1694
1710
|
pdf: "pdf";
|
|
1695
1711
|
epub: "epub";
|
|
1696
1712
|
rtf: "rtf";
|
|
1713
|
+
wpd: "wpd";
|
|
1697
1714
|
}>;
|
|
1698
1715
|
xml: z.ZodString;
|
|
1699
1716
|
}, z.core.$strict>>;
|
|
@@ -1731,6 +1748,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1731
1748
|
pdf: "pdf";
|
|
1732
1749
|
epub: "epub";
|
|
1733
1750
|
rtf: "rtf";
|
|
1751
|
+
wpd: "wpd";
|
|
1734
1752
|
}>;
|
|
1735
1753
|
xml: z.ZodString;
|
|
1736
1754
|
}, z.core.$strict>>;
|
|
@@ -1759,6 +1777,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1759
1777
|
pdf: "pdf";
|
|
1760
1778
|
epub: "epub";
|
|
1761
1779
|
rtf: "rtf";
|
|
1780
|
+
wpd: "wpd";
|
|
1762
1781
|
}>;
|
|
1763
1782
|
xml: z.ZodString;
|
|
1764
1783
|
}, z.core.$strict>>;
|
|
@@ -1801,6 +1820,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1801
1820
|
pdf: "pdf";
|
|
1802
1821
|
epub: "epub";
|
|
1803
1822
|
rtf: "rtf";
|
|
1823
|
+
wpd: "wpd";
|
|
1804
1824
|
}>;
|
|
1805
1825
|
xml: z.ZodString;
|
|
1806
1826
|
}, z.core.$strict>>;
|
|
@@ -1829,6 +1849,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1829
1849
|
pdf: "pdf";
|
|
1830
1850
|
epub: "epub";
|
|
1831
1851
|
rtf: "rtf";
|
|
1852
|
+
wpd: "wpd";
|
|
1832
1853
|
}>;
|
|
1833
1854
|
xml: z.ZodString;
|
|
1834
1855
|
}, z.core.$strict>>;
|
|
@@ -1864,6 +1885,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1864
1885
|
pdf: "pdf";
|
|
1865
1886
|
epub: "epub";
|
|
1866
1887
|
rtf: "rtf";
|
|
1888
|
+
wpd: "wpd";
|
|
1867
1889
|
}>;
|
|
1868
1890
|
xml: z.ZodString;
|
|
1869
1891
|
}, z.core.$strict>>;
|
|
@@ -1892,6 +1914,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1892
1914
|
pdf: "pdf";
|
|
1893
1915
|
epub: "epub";
|
|
1894
1916
|
rtf: "rtf";
|
|
1917
|
+
wpd: "wpd";
|
|
1895
1918
|
}>;
|
|
1896
1919
|
xml: z.ZodString;
|
|
1897
1920
|
}, z.core.$strict>>;
|
|
@@ -1939,6 +1962,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1939
1962
|
pdf: "pdf";
|
|
1940
1963
|
epub: "epub";
|
|
1941
1964
|
rtf: "rtf";
|
|
1965
|
+
wpd: "wpd";
|
|
1942
1966
|
}>;
|
|
1943
1967
|
xml: z.ZodString;
|
|
1944
1968
|
}, z.core.$strict>>;
|
|
@@ -1967,6 +1991,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1967
1991
|
pdf: "pdf";
|
|
1968
1992
|
epub: "epub";
|
|
1969
1993
|
rtf: "rtf";
|
|
1994
|
+
wpd: "wpd";
|
|
1970
1995
|
}>;
|
|
1971
1996
|
xml: z.ZodString;
|
|
1972
1997
|
}, z.core.$strict>>;
|
|
@@ -2014,6 +2039,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2014
2039
|
pdf: "pdf";
|
|
2015
2040
|
epub: "epub";
|
|
2016
2041
|
rtf: "rtf";
|
|
2042
|
+
wpd: "wpd";
|
|
2017
2043
|
}>;
|
|
2018
2044
|
xml: z.ZodString;
|
|
2019
2045
|
}, z.core.$strict>>;
|
|
@@ -2071,6 +2097,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2071
2097
|
pdf: "pdf";
|
|
2072
2098
|
epub: "epub";
|
|
2073
2099
|
rtf: "rtf";
|
|
2100
|
+
wpd: "wpd";
|
|
2074
2101
|
}>;
|
|
2075
2102
|
xml: z.ZodString;
|
|
2076
2103
|
}, z.core.$strict>>;
|
|
@@ -2114,6 +2141,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2114
2141
|
pdf: "pdf";
|
|
2115
2142
|
epub: "epub";
|
|
2116
2143
|
rtf: "rtf";
|
|
2144
|
+
wpd: "wpd";
|
|
2117
2145
|
}>;
|
|
2118
2146
|
xml: z.ZodString;
|
|
2119
2147
|
}, z.core.$strict>>;
|
|
@@ -2135,6 +2163,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2135
2163
|
pdf: "pdf";
|
|
2136
2164
|
epub: "epub";
|
|
2137
2165
|
rtf: "rtf";
|
|
2166
|
+
wpd: "wpd";
|
|
2138
2167
|
}>;
|
|
2139
2168
|
xml: z.ZodString;
|
|
2140
2169
|
}, z.core.$strict>>;
|
|
@@ -2245,6 +2274,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2245
2274
|
pdf: "pdf";
|
|
2246
2275
|
epub: "epub";
|
|
2247
2276
|
rtf: "rtf";
|
|
2277
|
+
wpd: "wpd";
|
|
2248
2278
|
}>;
|
|
2249
2279
|
xml: z.ZodString;
|
|
2250
2280
|
}, z.core.$strict>>;
|
|
@@ -2357,6 +2387,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2357
2387
|
pdf: "pdf";
|
|
2358
2388
|
epub: "epub";
|
|
2359
2389
|
rtf: "rtf";
|
|
2390
|
+
wpd: "wpd";
|
|
2360
2391
|
}>;
|
|
2361
2392
|
xml: z.ZodString;
|
|
2362
2393
|
}, z.core.$strict>>;
|
|
@@ -2467,6 +2498,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2467
2498
|
pdf: "pdf";
|
|
2468
2499
|
epub: "epub";
|
|
2469
2500
|
rtf: "rtf";
|
|
2501
|
+
wpd: "wpd";
|
|
2470
2502
|
}>;
|
|
2471
2503
|
xml: z.ZodString;
|
|
2472
2504
|
}, z.core.$strict>>;
|
|
@@ -2527,6 +2559,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2527
2559
|
pdf: "pdf";
|
|
2528
2560
|
epub: "epub";
|
|
2529
2561
|
rtf: "rtf";
|
|
2562
|
+
wpd: "wpd";
|
|
2530
2563
|
}>;
|
|
2531
2564
|
xml: z.ZodString;
|
|
2532
2565
|
}, z.core.$strict>>;
|
|
@@ -2669,6 +2702,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2669
2702
|
pdf: "pdf";
|
|
2670
2703
|
epub: "epub";
|
|
2671
2704
|
rtf: "rtf";
|
|
2705
|
+
wpd: "wpd";
|
|
2672
2706
|
}>;
|
|
2673
2707
|
xml: z.ZodString;
|
|
2674
2708
|
}, z.core.$strict>>;
|
|
@@ -2696,6 +2730,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2696
2730
|
pdf: "pdf";
|
|
2697
2731
|
epub: "epub";
|
|
2698
2732
|
rtf: "rtf";
|
|
2733
|
+
wpd: "wpd";
|
|
2699
2734
|
}>;
|
|
2700
2735
|
xml: z.ZodString;
|
|
2701
2736
|
}, z.core.$strict>>;
|
|
@@ -2796,6 +2831,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2796
2831
|
pdf: "pdf";
|
|
2797
2832
|
epub: "epub";
|
|
2798
2833
|
rtf: "rtf";
|
|
2834
|
+
wpd: "wpd";
|
|
2799
2835
|
}>;
|
|
2800
2836
|
xml: z.ZodString;
|
|
2801
2837
|
}, z.core.$strict>>;
|
|
@@ -12,14 +12,12 @@ const MarkdownDiagnosticCodes = {
|
|
|
12
12
|
INVENTED_PAGE_GEOMETRY: "md/invented-page-geometry",
|
|
13
13
|
NESTED_EMPHASIS_FLATTENED: "md/nested-emphasis-flattened",
|
|
14
14
|
LINK_TITLE_DROPPED: "md/link-title-dropped",
|
|
15
|
-
BLOCKQUOTE_CONTAINER_SKIPPED: "md/blockquote-container-skipped",
|
|
16
15
|
LIST_ITEM_BLOCK_UNLISTED: "md/list-item-block-unlisted",
|
|
17
16
|
IMAGE_UNRESOLVED: "md/image-unresolved",
|
|
18
17
|
RAW_HTML_PRESERVED_AS_TEXT: "md/raw-html-preserved-as-text",
|
|
19
18
|
RAW_HTML_DROPPED: "md/raw-html-dropped",
|
|
20
19
|
MATH_INLINE_PRESERVED_AS_TEXT: "md/math-inline-preserved-as-text",
|
|
21
20
|
FRONT_MATTER_KEY_UNMAPPED: "md/front-matter-key-unmapped",
|
|
22
|
-
FOOTNOTE_BODY_HEADING_FLATTENED: "md/footnote-body-heading-flattened",
|
|
23
21
|
CONSTRUCT_UNREPRESENTED: "md/construct-unrepresented",
|
|
24
22
|
PACKAGE_TABLE_DROPPED: "md/package-table-dropped",
|
|
25
23
|
HEADING_LEVEL_CLAMPED: "md/heading-level-clamped",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MarkdownInputTooLargeError, c as MarkdownNestingLimitExceededError, d as MarkdownUnbalancedConstructMarkersError, f as MarkdownUnsupportedDocumentKindError, i as MarkdownDiagnosticSink, l as MarkdownPackageFlattenError, m as NOOP_MARKDOWN_DIAGNOSTIC_SINK, n as MarkdownDiagnosticCodes, o as MarkdownInvalidRunConstructExtentError, p as MarkdownWriteError, r as MarkdownDiagnosticSeverity, s as MarkdownInvalidUtf8Error, t as MarkdownDiagnostic, u as MarkdownParseError } from "../diagnostics-
|
|
1
|
+
import { a as MarkdownInputTooLargeError, c as MarkdownNestingLimitExceededError, d as MarkdownUnbalancedConstructMarkersError, f as MarkdownUnsupportedDocumentKindError, i as MarkdownDiagnosticSink, l as MarkdownPackageFlattenError, m as NOOP_MARKDOWN_DIAGNOSTIC_SINK, n as MarkdownDiagnosticCodes, o as MarkdownInvalidRunConstructExtentError, p as MarkdownWriteError, r as MarkdownDiagnosticSeverity, s as MarkdownInvalidUtf8Error, t as MarkdownDiagnostic, u as MarkdownParseError } from "../diagnostics-CjfBoW4K.cjs";
|
|
2
2
|
export { MarkdownDiagnostic, MarkdownDiagnosticCodes, MarkdownDiagnosticSeverity, MarkdownDiagnosticSink, MarkdownInputTooLargeError, MarkdownInvalidRunConstructExtentError, MarkdownInvalidUtf8Error, MarkdownNestingLimitExceededError, MarkdownPackageFlattenError, MarkdownParseError, MarkdownUnbalancedConstructMarkersError, MarkdownUnsupportedDocumentKindError, MarkdownWriteError, NOOP_MARKDOWN_DIAGNOSTIC_SINK };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MarkdownInputTooLargeError, c as MarkdownNestingLimitExceededError, d as MarkdownUnbalancedConstructMarkersError, f as MarkdownUnsupportedDocumentKindError, i as MarkdownDiagnosticSink, l as MarkdownPackageFlattenError, m as NOOP_MARKDOWN_DIAGNOSTIC_SINK, n as MarkdownDiagnosticCodes, o as MarkdownInvalidRunConstructExtentError, p as MarkdownWriteError, r as MarkdownDiagnosticSeverity, s as MarkdownInvalidUtf8Error, t as MarkdownDiagnostic, u as MarkdownParseError } from "../diagnostics-
|
|
1
|
+
import { a as MarkdownInputTooLargeError, c as MarkdownNestingLimitExceededError, d as MarkdownUnbalancedConstructMarkersError, f as MarkdownUnsupportedDocumentKindError, i as MarkdownDiagnosticSink, l as MarkdownPackageFlattenError, m as NOOP_MARKDOWN_DIAGNOSTIC_SINK, n as MarkdownDiagnosticCodes, o as MarkdownInvalidRunConstructExtentError, p as MarkdownWriteError, r as MarkdownDiagnosticSeverity, s as MarkdownInvalidUtf8Error, t as MarkdownDiagnostic, u as MarkdownParseError } from "../diagnostics-CjfBoW4K.js";
|
|
2
2
|
export { MarkdownDiagnostic, MarkdownDiagnosticCodes, MarkdownDiagnosticSeverity, MarkdownDiagnosticSink, MarkdownInputTooLargeError, MarkdownInvalidRunConstructExtentError, MarkdownInvalidUtf8Error, MarkdownNestingLimitExceededError, MarkdownPackageFlattenError, MarkdownParseError, MarkdownUnbalancedConstructMarkersError, MarkdownUnsupportedDocumentKindError, MarkdownWriteError, NOOP_MARKDOWN_DIAGNOSTIC_SINK };
|
|
@@ -11,14 +11,12 @@ const MarkdownDiagnosticCodes = {
|
|
|
11
11
|
INVENTED_PAGE_GEOMETRY: "md/invented-page-geometry",
|
|
12
12
|
NESTED_EMPHASIS_FLATTENED: "md/nested-emphasis-flattened",
|
|
13
13
|
LINK_TITLE_DROPPED: "md/link-title-dropped",
|
|
14
|
-
BLOCKQUOTE_CONTAINER_SKIPPED: "md/blockquote-container-skipped",
|
|
15
14
|
LIST_ITEM_BLOCK_UNLISTED: "md/list-item-block-unlisted",
|
|
16
15
|
IMAGE_UNRESOLVED: "md/image-unresolved",
|
|
17
16
|
RAW_HTML_PRESERVED_AS_TEXT: "md/raw-html-preserved-as-text",
|
|
18
17
|
RAW_HTML_DROPPED: "md/raw-html-dropped",
|
|
19
18
|
MATH_INLINE_PRESERVED_AS_TEXT: "md/math-inline-preserved-as-text",
|
|
20
19
|
FRONT_MATTER_KEY_UNMAPPED: "md/front-matter-key-unmapped",
|
|
21
|
-
FOOTNOTE_BODY_HEADING_FLATTENED: "md/footnote-body-heading-flattened",
|
|
22
20
|
CONSTRUCT_UNREPRESENTED: "md/construct-unrepresented",
|
|
23
21
|
PACKAGE_TABLE_DROPPED: "md/package-table-dropped",
|
|
24
22
|
HEADING_LEVEL_CLAMPED: "md/heading-level-clamped",
|
|
@@ -19,14 +19,12 @@ declare const MarkdownDiagnosticCodes: {
|
|
|
19
19
|
readonly INVENTED_PAGE_GEOMETRY: "md/invented-page-geometry";
|
|
20
20
|
readonly NESTED_EMPHASIS_FLATTENED: "md/nested-emphasis-flattened";
|
|
21
21
|
readonly LINK_TITLE_DROPPED: "md/link-title-dropped";
|
|
22
|
-
readonly BLOCKQUOTE_CONTAINER_SKIPPED: "md/blockquote-container-skipped";
|
|
23
22
|
readonly LIST_ITEM_BLOCK_UNLISTED: "md/list-item-block-unlisted";
|
|
24
23
|
readonly IMAGE_UNRESOLVED: "md/image-unresolved";
|
|
25
24
|
readonly RAW_HTML_PRESERVED_AS_TEXT: "md/raw-html-preserved-as-text";
|
|
26
25
|
readonly RAW_HTML_DROPPED: "md/raw-html-dropped";
|
|
27
26
|
readonly MATH_INLINE_PRESERVED_AS_TEXT: "md/math-inline-preserved-as-text";
|
|
28
27
|
readonly FRONT_MATTER_KEY_UNMAPPED: "md/front-matter-key-unmapped";
|
|
29
|
-
readonly FOOTNOTE_BODY_HEADING_FLATTENED: "md/footnote-body-heading-flattened";
|
|
30
28
|
readonly CONSTRUCT_UNREPRESENTED: "md/construct-unrepresented";
|
|
31
29
|
readonly PACKAGE_TABLE_DROPPED: "md/package-table-dropped";
|
|
32
30
|
readonly HEADING_LEVEL_CLAMPED: "md/heading-level-clamped";
|
|
@@ -19,14 +19,12 @@ declare const MarkdownDiagnosticCodes: {
|
|
|
19
19
|
readonly INVENTED_PAGE_GEOMETRY: "md/invented-page-geometry";
|
|
20
20
|
readonly NESTED_EMPHASIS_FLATTENED: "md/nested-emphasis-flattened";
|
|
21
21
|
readonly LINK_TITLE_DROPPED: "md/link-title-dropped";
|
|
22
|
-
readonly BLOCKQUOTE_CONTAINER_SKIPPED: "md/blockquote-container-skipped";
|
|
23
22
|
readonly LIST_ITEM_BLOCK_UNLISTED: "md/list-item-block-unlisted";
|
|
24
23
|
readonly IMAGE_UNRESOLVED: "md/image-unresolved";
|
|
25
24
|
readonly RAW_HTML_PRESERVED_AS_TEXT: "md/raw-html-preserved-as-text";
|
|
26
25
|
readonly RAW_HTML_DROPPED: "md/raw-html-dropped";
|
|
27
26
|
readonly MATH_INLINE_PRESERVED_AS_TEXT: "md/math-inline-preserved-as-text";
|
|
28
27
|
readonly FRONT_MATTER_KEY_UNMAPPED: "md/front-matter-key-unmapped";
|
|
29
|
-
readonly FOOTNOTE_BODY_HEADING_FLATTENED: "md/footnote-body-heading-flattened";
|
|
30
28
|
readonly CONSTRUCT_UNREPRESENTED: "md/construct-unrepresented";
|
|
31
29
|
readonly PACKAGE_TABLE_DROPPED: "md/package-table-dropped";
|
|
32
30
|
readonly HEADING_LEVEL_CLAMPED: "md/heading-level-clamped";
|
package/dist/emit/inline.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as escapeMarkdownText, i as escapeLinkDestination, n as emitRuns, o as renderLinkTitle, r as emitRunsSingleLine, t as InlineEmitContext } from "../inline-
|
|
1
|
+
import { a as escapeMarkdownText, i as escapeLinkDestination, n as emitRuns, o as renderLinkTitle, r as emitRunsSingleLine, t as InlineEmitContext } from "../inline-DCIKQ83j.cjs";
|
|
2
2
|
export { InlineEmitContext, emitRuns, emitRunsSingleLine, escapeLinkDestination, escapeMarkdownText, renderLinkTitle };
|
package/dist/emit/inline.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as escapeMarkdownText, i as escapeLinkDestination, n as emitRuns, o as renderLinkTitle, r as emitRunsSingleLine, t as InlineEmitContext } from "../inline-
|
|
1
|
+
import { a as escapeMarkdownText, i as escapeLinkDestination, n as emitRuns, o as renderLinkTitle, r as emitRunsSingleLine, t as InlineEmitContext } from "../inline-INoDAG37.js";
|
|
2
2
|
export { InlineEmitContext, emitRuns, emitRunsSingleLine, escapeLinkDestination, escapeMarkdownText, renderLinkTitle };
|
package/dist/emit/table.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as MarkdownDiagnosticSink } from "../diagnostics-
|
|
2
|
-
import { t as InlineEmitContext } from "../inline-
|
|
1
|
+
import { i as MarkdownDiagnosticSink } from "../diagnostics-CjfBoW4K.cjs";
|
|
2
|
+
import { t as InlineEmitContext } from "../inline-DCIKQ83j.cjs";
|
|
3
3
|
import { ContentTable } from "document-schema.js";
|
|
4
4
|
//#region src/emit/table.d.ts
|
|
5
5
|
interface TableEmitContext extends InlineEmitContext {
|
package/dist/emit/table.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as MarkdownDiagnosticSink } from "../diagnostics-
|
|
2
|
-
import { t as InlineEmitContext } from "../inline-
|
|
1
|
+
import { i as MarkdownDiagnosticSink } from "../diagnostics-CjfBoW4K.js";
|
|
2
|
+
import { t as InlineEmitContext } from "../inline-INoDAG37.js";
|
|
3
3
|
import { ContentTable } from "document-schema.js";
|
|
4
4
|
//#region src/emit/table.d.ts
|
|
5
5
|
interface TableEmitContext extends InlineEmitContext {
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as MarkdownInputTooLargeError, c as MarkdownNestingLimitExceededError, d as MarkdownUnbalancedConstructMarkersError, f as MarkdownUnsupportedDocumentKindError, i as MarkdownDiagnosticSink, m as NOOP_MARKDOWN_DIAGNOSTIC_SINK, n as MarkdownDiagnosticCodes, o as MarkdownInvalidRunConstructExtentError, p as MarkdownWriteError, r as MarkdownDiagnosticSeverity, s as MarkdownInvalidUtf8Error, t as MarkdownDiagnostic, u as MarkdownParseError } from "./diagnostics-
|
|
1
|
+
import { a as MarkdownInputTooLargeError, c as MarkdownNestingLimitExceededError, d as MarkdownUnbalancedConstructMarkersError, f as MarkdownUnsupportedDocumentKindError, i as MarkdownDiagnosticSink, m as NOOP_MARKDOWN_DIAGNOSTIC_SINK, n as MarkdownDiagnosticCodes, o as MarkdownInvalidRunConstructExtentError, p as MarkdownWriteError, r as MarkdownDiagnosticSeverity, s as MarkdownInvalidUtf8Error, t as MarkdownDiagnostic, u as MarkdownParseError } from "./diagnostics-CjfBoW4K.cjs";
|
|
2
2
|
import { MarkdownBytesSchema, markdownCodec, markdownContentCodec } from "./codec.cjs";
|
|
3
3
|
import { n as MarkdownImageResolver, r as MarkdownResolvedImageBytes, t as MarkdownImageResolveContext } from "./image-B5L0HpAJ.cjs";
|
|
4
4
|
import { MarkdownBulletListMarker, MarkdownCodeFenceChar, MarkdownEmphasisMarker, MarkdownHeadingStyle, MarkdownLineEnding, MarkdownOrderedListDelimiter, MarkdownThematicBreakChar, ReadMarkdownOptions, WriteMarkdownOptions, WriteMarkdownStyleOptions } from "./options/options.cjs";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as MarkdownInputTooLargeError, c as MarkdownNestingLimitExceededError, d as MarkdownUnbalancedConstructMarkersError, f as MarkdownUnsupportedDocumentKindError, i as MarkdownDiagnosticSink, m as NOOP_MARKDOWN_DIAGNOSTIC_SINK, n as MarkdownDiagnosticCodes, o as MarkdownInvalidRunConstructExtentError, p as MarkdownWriteError, r as MarkdownDiagnosticSeverity, s as MarkdownInvalidUtf8Error, t as MarkdownDiagnostic, u as MarkdownParseError } from "./diagnostics-
|
|
1
|
+
import { a as MarkdownInputTooLargeError, c as MarkdownNestingLimitExceededError, d as MarkdownUnbalancedConstructMarkersError, f as MarkdownUnsupportedDocumentKindError, i as MarkdownDiagnosticSink, m as NOOP_MARKDOWN_DIAGNOSTIC_SINK, n as MarkdownDiagnosticCodes, o as MarkdownInvalidRunConstructExtentError, p as MarkdownWriteError, r as MarkdownDiagnosticSeverity, s as MarkdownInvalidUtf8Error, t as MarkdownDiagnostic, u as MarkdownParseError } from "./diagnostics-CjfBoW4K.js";
|
|
2
2
|
import { MarkdownBytesSchema, markdownCodec, markdownContentCodec } from "./codec.js";
|
|
3
3
|
import { n as MarkdownImageResolver, r as MarkdownResolvedImageBytes, t as MarkdownImageResolveContext } from "./image-C390OIB3.js";
|
|
4
4
|
import { MarkdownBulletListMarker, MarkdownCodeFenceChar, MarkdownEmphasisMarker, MarkdownHeadingStyle, MarkdownLineEnding, MarkdownOrderedListDelimiter, MarkdownThematicBreakChar, ReadMarkdownOptions, WriteMarkdownOptions, WriteMarkdownStyleOptions } from "./options/options.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as MarkdownDiagnosticSink } from "./diagnostics-
|
|
1
|
+
import { i as MarkdownDiagnosticSink } from "./diagnostics-CjfBoW4K.cjs";
|
|
2
2
|
import { ContentRun, RunConstructExtent } from "document-schema.js";
|
|
3
3
|
//#region src/emit/inline.d.ts
|
|
4
4
|
interface InlineEmitContext {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as MarkdownDiagnosticSink } from "./diagnostics-
|
|
1
|
+
import { i as MarkdownDiagnosticSink } from "./diagnostics-CjfBoW4K.js";
|
|
2
2
|
import { ContentRun, RunConstructExtent } from "document-schema.js";
|
|
3
3
|
//#region src/emit/inline.d.ts
|
|
4
4
|
interface InlineEmitContext {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as MarkdownDiagnosticSink } from "../diagnostics-
|
|
1
|
+
import { i as MarkdownDiagnosticSink } from "../diagnostics-CjfBoW4K.cjs";
|
|
2
2
|
import { LayoutMetadata } from "document-schema.js";
|
|
3
3
|
//#region src/lower/front-matter.d.ts
|
|
4
4
|
interface FrontMatterResult {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as MarkdownDiagnosticSink } from "../diagnostics-
|
|
1
|
+
import { i as MarkdownDiagnosticSink } from "../diagnostics-CjfBoW4K.js";
|
|
2
2
|
import { LayoutMetadata } from "document-schema.js";
|
|
3
3
|
//#region src/lower/front-matter.d.ts
|
|
4
4
|
interface FrontMatterResult {
|
package/dist/lower/inline.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { v as MarkdownInlineNode } from "../ast-CNfTgS0N.cjs";
|
|
2
|
-
import { i as MarkdownDiagnosticSink } from "../diagnostics-
|
|
2
|
+
import { i as MarkdownDiagnosticSink } from "../diagnostics-CjfBoW4K.cjs";
|
|
3
3
|
import { ContentRun, RunConstructExtent } from "document-schema.js";
|
|
4
4
|
//#region src/lower/inline.d.ts
|
|
5
5
|
interface InlineLowerContext {
|
package/dist/lower/inline.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { v as MarkdownInlineNode } from "../ast-CNfTgS0N.js";
|
|
2
|
-
import { i as MarkdownDiagnosticSink } from "../diagnostics-
|
|
2
|
+
import { i as MarkdownDiagnosticSink } from "../diagnostics-CjfBoW4K.js";
|
|
3
3
|
import { ContentRun, RunConstructExtent } from "document-schema.js";
|
|
4
4
|
//#region src/lower/inline.d.ts
|
|
5
5
|
interface InlineLowerContext {
|
package/dist/lower/lower.cjs
CHANGED
|
@@ -212,42 +212,21 @@ function lowerMathBlock(node, context) {
|
|
|
212
212
|
}
|
|
213
213
|
}];
|
|
214
214
|
}
|
|
215
|
-
function blockquoteSubtreeContainsHeading(node) {
|
|
216
|
-
const walk = (block) => {
|
|
217
|
-
switch (block.type) {
|
|
218
|
-
case "heading": return true;
|
|
219
|
-
case "blockquote":
|
|
220
|
-
case "list":
|
|
221
|
-
case "listItem": return block.children.some(walk);
|
|
222
|
-
default: return false;
|
|
223
|
-
}
|
|
224
|
-
};
|
|
225
|
-
return node.children.some(walk);
|
|
226
|
-
}
|
|
227
215
|
function lowerBlockquote(node, context, contentWidthPt) {
|
|
228
216
|
const nested = {
|
|
229
217
|
...context,
|
|
230
218
|
quoteDepth: context.quoteDepth + 1
|
|
231
219
|
};
|
|
232
220
|
const blocks = node.children.flatMap((child) => lowerBlock(child, nested, contentWidthPt));
|
|
233
|
-
const inner = blocks.length === 0 ? [decorateParagraph({
|
|
234
|
-
kind: "paragraph",
|
|
235
|
-
runs: []
|
|
236
|
-
}, nested)] : blocks;
|
|
237
|
-
if (blockquoteSubtreeContainsHeading(node)) {
|
|
238
|
-
context.sink({
|
|
239
|
-
code: require_diagnostics_diagnostics.MarkdownDiagnosticCodes.BLOCKQUOTE_CONTAINER_SKIPPED,
|
|
240
|
-
severity: "info",
|
|
241
|
-
message: "a blockquote containing a heading cannot carry its division construct -- a marker extent may not open a heading scope, and the last heading inside an extent always leaves one standing -- so this quote degrades to indent-only structure while the heading keeps its heading fidelity"
|
|
242
|
-
});
|
|
243
|
-
return inner;
|
|
244
|
-
}
|
|
245
221
|
return [
|
|
246
222
|
{
|
|
247
223
|
kind: "constructStart",
|
|
248
224
|
descriptor: { kind: "division" }
|
|
249
225
|
},
|
|
250
|
-
...
|
|
226
|
+
...blocks.length === 0 ? [decorateParagraph({
|
|
227
|
+
kind: "paragraph",
|
|
228
|
+
runs: []
|
|
229
|
+
}, nested)] : blocks,
|
|
251
230
|
{ kind: "constructEnd" }
|
|
252
231
|
];
|
|
253
232
|
}
|
|
@@ -303,46 +282,13 @@ function lowerList(node, ancestorNumId, level, context, contentWidthPt) {
|
|
|
303
282
|
}
|
|
304
283
|
return node.children.flatMap((item) => lowerListItem(item, numId, level, context, contentWidthPt));
|
|
305
284
|
}
|
|
306
|
-
function flattenFootnoteBodyHeadings(node, context) {
|
|
307
|
-
switch (node.type) {
|
|
308
|
-
case "heading":
|
|
309
|
-
context.sink({
|
|
310
|
-
code: require_diagnostics_diagnostics.MarkdownDiagnosticCodes.FOOTNOTE_BODY_HEADING_FLATTENED,
|
|
311
|
-
severity: "info",
|
|
312
|
-
message: `a level-${String(node.level)} heading inside a footnote definition's body is carried as literal ATX text: a construct boundary marker's extent may not contain a block that opens or closes a heading scope, so the heading cannot stay a heading inside the anchor construct the definition lowers to`
|
|
313
|
-
});
|
|
314
|
-
return {
|
|
315
|
-
type: "paragraph",
|
|
316
|
-
children: [{
|
|
317
|
-
type: "text",
|
|
318
|
-
value: `${"#".repeat(node.level)} `
|
|
319
|
-
}, ...node.children]
|
|
320
|
-
};
|
|
321
|
-
case "blockquote": return {
|
|
322
|
-
type: "blockquote",
|
|
323
|
-
children: node.children.map((child) => flattenFootnoteBodyHeadings(child, context))
|
|
324
|
-
};
|
|
325
|
-
case "list": return {
|
|
326
|
-
...node,
|
|
327
|
-
children: node.children.map((item) => flattenFootnoteBodyHeadingsInItem(item, context))
|
|
328
|
-
};
|
|
329
|
-
case "listItem": return flattenFootnoteBodyHeadingsInItem(node, context);
|
|
330
|
-
default: return node;
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
function flattenFootnoteBodyHeadingsInItem(item, context) {
|
|
334
|
-
return {
|
|
335
|
-
...item,
|
|
336
|
-
children: item.children.map((child) => flattenFootnoteBodyHeadings(child, context))
|
|
337
|
-
};
|
|
338
|
-
}
|
|
339
285
|
function lowerFootnoteDefinition(node, context, contentWidthPt) {
|
|
340
286
|
const descriptor = {
|
|
341
287
|
kind: "anchor",
|
|
342
288
|
anchorType: "footnote",
|
|
343
289
|
name: node.label
|
|
344
290
|
};
|
|
345
|
-
const body = node.children.flatMap((child) => lowerBlock(
|
|
291
|
+
const body = node.children.flatMap((child) => lowerBlock(child, context, contentWidthPt));
|
|
346
292
|
return [
|
|
347
293
|
{
|
|
348
294
|
kind: "constructStart",
|
package/dist/lower/lower.js
CHANGED
|
@@ -211,42 +211,21 @@ function lowerMathBlock(node, context) {
|
|
|
211
211
|
}
|
|
212
212
|
}];
|
|
213
213
|
}
|
|
214
|
-
function blockquoteSubtreeContainsHeading(node) {
|
|
215
|
-
const walk = (block) => {
|
|
216
|
-
switch (block.type) {
|
|
217
|
-
case "heading": return true;
|
|
218
|
-
case "blockquote":
|
|
219
|
-
case "list":
|
|
220
|
-
case "listItem": return block.children.some(walk);
|
|
221
|
-
default: return false;
|
|
222
|
-
}
|
|
223
|
-
};
|
|
224
|
-
return node.children.some(walk);
|
|
225
|
-
}
|
|
226
214
|
function lowerBlockquote(node, context, contentWidthPt) {
|
|
227
215
|
const nested = {
|
|
228
216
|
...context,
|
|
229
217
|
quoteDepth: context.quoteDepth + 1
|
|
230
218
|
};
|
|
231
219
|
const blocks = node.children.flatMap((child) => lowerBlock(child, nested, contentWidthPt));
|
|
232
|
-
const inner = blocks.length === 0 ? [decorateParagraph({
|
|
233
|
-
kind: "paragraph",
|
|
234
|
-
runs: []
|
|
235
|
-
}, nested)] : blocks;
|
|
236
|
-
if (blockquoteSubtreeContainsHeading(node)) {
|
|
237
|
-
context.sink({
|
|
238
|
-
code: MarkdownDiagnosticCodes.BLOCKQUOTE_CONTAINER_SKIPPED,
|
|
239
|
-
severity: "info",
|
|
240
|
-
message: "a blockquote containing a heading cannot carry its division construct -- a marker extent may not open a heading scope, and the last heading inside an extent always leaves one standing -- so this quote degrades to indent-only structure while the heading keeps its heading fidelity"
|
|
241
|
-
});
|
|
242
|
-
return inner;
|
|
243
|
-
}
|
|
244
220
|
return [
|
|
245
221
|
{
|
|
246
222
|
kind: "constructStart",
|
|
247
223
|
descriptor: { kind: "division" }
|
|
248
224
|
},
|
|
249
|
-
...
|
|
225
|
+
...blocks.length === 0 ? [decorateParagraph({
|
|
226
|
+
kind: "paragraph",
|
|
227
|
+
runs: []
|
|
228
|
+
}, nested)] : blocks,
|
|
250
229
|
{ kind: "constructEnd" }
|
|
251
230
|
];
|
|
252
231
|
}
|
|
@@ -302,46 +281,13 @@ function lowerList(node, ancestorNumId, level, context, contentWidthPt) {
|
|
|
302
281
|
}
|
|
303
282
|
return node.children.flatMap((item) => lowerListItem(item, numId, level, context, contentWidthPt));
|
|
304
283
|
}
|
|
305
|
-
function flattenFootnoteBodyHeadings(node, context) {
|
|
306
|
-
switch (node.type) {
|
|
307
|
-
case "heading":
|
|
308
|
-
context.sink({
|
|
309
|
-
code: MarkdownDiagnosticCodes.FOOTNOTE_BODY_HEADING_FLATTENED,
|
|
310
|
-
severity: "info",
|
|
311
|
-
message: `a level-${String(node.level)} heading inside a footnote definition's body is carried as literal ATX text: a construct boundary marker's extent may not contain a block that opens or closes a heading scope, so the heading cannot stay a heading inside the anchor construct the definition lowers to`
|
|
312
|
-
});
|
|
313
|
-
return {
|
|
314
|
-
type: "paragraph",
|
|
315
|
-
children: [{
|
|
316
|
-
type: "text",
|
|
317
|
-
value: `${"#".repeat(node.level)} `
|
|
318
|
-
}, ...node.children]
|
|
319
|
-
};
|
|
320
|
-
case "blockquote": return {
|
|
321
|
-
type: "blockquote",
|
|
322
|
-
children: node.children.map((child) => flattenFootnoteBodyHeadings(child, context))
|
|
323
|
-
};
|
|
324
|
-
case "list": return {
|
|
325
|
-
...node,
|
|
326
|
-
children: node.children.map((item) => flattenFootnoteBodyHeadingsInItem(item, context))
|
|
327
|
-
};
|
|
328
|
-
case "listItem": return flattenFootnoteBodyHeadingsInItem(node, context);
|
|
329
|
-
default: return node;
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
function flattenFootnoteBodyHeadingsInItem(item, context) {
|
|
333
|
-
return {
|
|
334
|
-
...item,
|
|
335
|
-
children: item.children.map((child) => flattenFootnoteBodyHeadings(child, context))
|
|
336
|
-
};
|
|
337
|
-
}
|
|
338
284
|
function lowerFootnoteDefinition(node, context, contentWidthPt) {
|
|
339
285
|
const descriptor = {
|
|
340
286
|
kind: "anchor",
|
|
341
287
|
anchorType: "footnote",
|
|
342
288
|
name: node.label
|
|
343
289
|
};
|
|
344
|
-
const body = node.children.flatMap((child) => lowerBlock(
|
|
290
|
+
const body = node.children.flatMap((child) => lowerBlock(child, context, contentWidthPt));
|
|
345
291
|
return [
|
|
346
292
|
{
|
|
347
293
|
kind: "constructStart",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as MarkdownDiagnosticSink } from "../diagnostics-
|
|
1
|
+
import { i as MarkdownDiagnosticSink } from "../diagnostics-CjfBoW4K.cjs";
|
|
2
2
|
import { n as MarkdownImageResolver } from "../image-B5L0HpAJ.cjs";
|
|
3
3
|
import { Margins, PageSize } from "document-schema.js";
|
|
4
4
|
//#region src/options/options.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as MarkdownDiagnosticSink } from "../diagnostics-
|
|
1
|
+
import { i as MarkdownDiagnosticSink } from "../diagnostics-CjfBoW4K.js";
|
|
2
2
|
import { n as MarkdownImageResolver } from "../image-C390OIB3.js";
|
|
3
3
|
import { Margins, PageSize } from "document-schema.js";
|
|
4
4
|
//#region src/options/options.d.ts
|
package/dist/read.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as MarkdownDiagnostic } from "./diagnostics-
|
|
1
|
+
import { t as MarkdownDiagnostic } from "./diagnostics-CjfBoW4K.cjs";
|
|
2
2
|
import { ReadMarkdownOptions } from "./options/options.cjs";
|
|
3
3
|
import { ContentDocument, DocumentTree } from "document-schema.js";
|
|
4
4
|
//#region src/read.d.ts
|
package/dist/read.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as MarkdownDiagnostic } from "./diagnostics-
|
|
1
|
+
import { t as MarkdownDiagnostic } from "./diagnostics-CjfBoW4K.js";
|
|
2
2
|
import { ReadMarkdownOptions } from "./options/options.js";
|
|
3
3
|
import { ContentDocument, DocumentTree } from "document-schema.js";
|
|
4
4
|
//#region src/read.d.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markdown-codec",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.6.0",
|
|
4
4
|
"description": "Hand-written CommonMark+GFM <-> DocumentTree codec, built on document-schema.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"license": "MIT",
|
|
84
84
|
"packageManager": "pnpm@11.6.0",
|
|
85
85
|
"dependencies": {
|
|
86
|
-
"document-schema.js": "7.
|
|
86
|
+
"document-schema.js": "7.5.1",
|
|
87
87
|
"zod": "4.4.3"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|