markdown-codec 6.3.0 → 6.3.2

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.
@@ -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",
@@ -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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "markdown-codec",
3
- "version": "6.3.0",
3
+ "version": "6.3.2",
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": "^6.2.0",
86
+ "document-schema.js": "^6.2.1",
87
87
  "zod": "^4.4.3"
88
88
  },
89
89
  "devDependencies": {