markdown-codec 6.3.0 → 6.3.1
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/codec.d.cts +2 -2
- package/dist/codec.d.ts +2 -2
- package/dist/lower/lower.cjs +1 -0
- package/dist/lower/lower.js +1 -0
- package/package.json +1 -1
package/dist/codec.d.cts
CHANGED
|
@@ -1425,10 +1425,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1425
1425
|
endColumn: z.ZodNumber;
|
|
1426
1426
|
}, z.core.$strip>>;
|
|
1427
1427
|
type: z.ZodEnum<{
|
|
1428
|
-
decimal: "decimal";
|
|
1429
|
-
list: "list";
|
|
1430
1428
|
date: "date";
|
|
1431
1429
|
custom: "custom";
|
|
1430
|
+
decimal: "decimal";
|
|
1431
|
+
list: "list";
|
|
1432
1432
|
time: "time";
|
|
1433
1433
|
whole: "whole";
|
|
1434
1434
|
textLength: "textLength";
|
package/dist/codec.d.ts
CHANGED
|
@@ -1425,10 +1425,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1425
1425
|
endColumn: z.ZodNumber;
|
|
1426
1426
|
}, z.core.$strip>>;
|
|
1427
1427
|
type: z.ZodEnum<{
|
|
1428
|
-
decimal: "decimal";
|
|
1429
|
-
list: "list";
|
|
1430
1428
|
date: "date";
|
|
1431
1429
|
custom: "custom";
|
|
1430
|
+
decimal: "decimal";
|
|
1431
|
+
list: "list";
|
|
1432
1432
|
time: "time";
|
|
1433
1433
|
whole: "whole";
|
|
1434
1434
|
textLength: "textLength";
|
package/dist/lower/lower.cjs
CHANGED
|
@@ -137,6 +137,7 @@ function lowerCodeBlock(node, context) {
|
|
|
137
137
|
kind: "paragraph",
|
|
138
138
|
runs: [require_lower_inline.lowerCodeBlockRun(node.literal.replace(/\n$/, ""))],
|
|
139
139
|
styleId: require_shared_style_constants.CODE_BLOCK_STYLE_ID,
|
|
140
|
+
preformatted: true,
|
|
140
141
|
...info.language !== void 0 ? { codeLanguage: info.language } : {},
|
|
141
142
|
...info.remainder !== void 0 ? { source: {
|
|
142
143
|
format: "markdown",
|
package/dist/lower/lower.js
CHANGED
|
@@ -136,6 +136,7 @@ function lowerCodeBlock(node, context) {
|
|
|
136
136
|
kind: "paragraph",
|
|
137
137
|
runs: [lowerCodeBlockRun(node.literal.replace(/\n$/, ""))],
|
|
138
138
|
styleId: CODE_BLOCK_STYLE_ID,
|
|
139
|
+
preformatted: true,
|
|
139
140
|
...info.language !== void 0 ? { codeLanguage: info.language } : {},
|
|
140
141
|
...info.remainder !== void 0 ? { source: {
|
|
141
142
|
format: "markdown",
|