diff --git a/news/changelog-1.7.md b/news/changelog-1.7.md index 2d11fa630cc..dd6f1ccb18a 100644 --- a/news/changelog-1.7.md +++ b/news/changelog-1.7.md @@ -6,6 +6,10 @@ All changes included in 1.7: - ([#11532](https://github.com/quarto-dev/quarto-cli/issues/11532)): Fix regression for [#660](https://github.com/quarto-dev/quarto-cli/issues/660), which causes files to have incorrect permissions when Quarto is installed in a location not writable by the current user. - ([#11580](https://github.com/quarto-dev/quarto-cli/issues/11580)): Fix regression with documents containing `categories` fields that are not strings. +## YAML validation + +- ([#11654](https://github.com/quarto-dev/quarto-cli/issues/11654)): Allow `page-inset` as value in `column` key for code cells. + ## `quarto check` - ([#11608](https://github.com/quarto-dev/quarto-cli/pull/11608)): Do not issue error message when calling `quarto check info`. diff --git a/src/resources/editor/tools/vs-code.mjs b/src/resources/editor/tools/vs-code.mjs index 13a0ef2a229..a58847fceb5 100644 --- a/src/resources/editor/tools/vs-code.mjs +++ b/src/resources/editor/tools/vs-code.mjs @@ -8464,6 +8464,7 @@ var require_yaml_intelligence_resources = __commonJS({ "page", "page-left", "page-right", + "page-inset", "page-inset-left", "page-inset-right", "screen", @@ -24187,12 +24188,12 @@ var require_yaml_intelligence_resources = __commonJS({ mermaid: "%%" }, "handlers/mermaid/schema.yml": { - _internalId: 193524, + _internalId: 193535, type: "object", description: "be an object", properties: { "mermaid-format": { - _internalId: 193516, + _internalId: 193527, type: "enum", enum: [ "png", @@ -24208,7 +24209,7 @@ var require_yaml_intelligence_resources = __commonJS({ exhaustiveCompletions: true }, theme: { - _internalId: 193523, + _internalId: 193534, type: "anyOf", anyOf: [ { diff --git a/src/resources/editor/tools/yaml/web-worker.js b/src/resources/editor/tools/yaml/web-worker.js index b6db79eecdc..b158109a931 100644 --- a/src/resources/editor/tools/yaml/web-worker.js +++ b/src/resources/editor/tools/yaml/web-worker.js @@ -8465,6 +8465,7 @@ try { "page", "page-left", "page-right", + "page-inset", "page-inset-left", "page-inset-right", "screen", @@ -24188,12 +24189,12 @@ try { mermaid: "%%" }, "handlers/mermaid/schema.yml": { - _internalId: 193524, + _internalId: 193535, type: "object", description: "be an object", properties: { "mermaid-format": { - _internalId: 193516, + _internalId: 193527, type: "enum", enum: [ "png", @@ -24209,7 +24210,7 @@ try { exhaustiveCompletions: true }, theme: { - _internalId: 193523, + _internalId: 193534, type: "anyOf", anyOf: [ { diff --git a/src/resources/editor/tools/yaml/yaml-intelligence-resources.json b/src/resources/editor/tools/yaml/yaml-intelligence-resources.json index 27f636d749b..85ba5e4d127 100644 --- a/src/resources/editor/tools/yaml/yaml-intelligence-resources.json +++ b/src/resources/editor/tools/yaml/yaml-intelligence-resources.json @@ -1436,6 +1436,7 @@ "page", "page-left", "page-right", + "page-inset", "page-inset-left", "page-inset-right", "screen", @@ -17159,12 +17160,12 @@ "mermaid": "%%" }, "handlers/mermaid/schema.yml": { - "_internalId": 193524, + "_internalId": 193535, "type": "object", "description": "be an object", "properties": { "mermaid-format": { - "_internalId": 193516, + "_internalId": 193527, "type": "enum", "enum": [ "png", @@ -17180,7 +17181,7 @@ "exhaustiveCompletions": true }, "theme": { - "_internalId": 193523, + "_internalId": 193534, "type": "anyOf", "anyOf": [ { diff --git a/src/resources/schema/definitions.yml b/src/resources/schema/definitions.yml index 30294d22ca0..17c1698629b 100644 --- a/src/resources/schema/definitions.yml +++ b/src/resources/schema/definitions.yml @@ -65,6 +65,7 @@ page, page-left, page-right, + page-inset, page-inset-left, page-inset-right, screen, diff --git a/src/resources/schema/json-schemas.json b/src/resources/schema/json-schemas.json index bcc415e022c..1898e0c768b 100644 --- a/src/resources/schema/json-schemas.json +++ b/src/resources/schema/json-schemas.json @@ -130,6 +130,7 @@ "page", "page-left", "page-right", + "page-inset", "page-inset-left", "page-inset-right", "screen", diff --git a/src/resources/types/schema-types.ts b/src/resources/types/schema-types.ts index 0c89b656890..62ff99d293e 100644 --- a/src/resources/types/schema-types.ts +++ b/src/resources/types/schema-types.ts @@ -45,6 +45,7 @@ export type PageColumn = | "page" | "page-left" | "page-right" + | "page-inset" | "page-inset-left" | "page-inset-right" | "screen" diff --git a/tests/docs/smoke-all/2024/12/10/issue-11654.qmd b/tests/docs/smoke-all/2024/12/10/issue-11654.qmd new file mode 100644 index 00000000000..5be820f78c0 --- /dev/null +++ b/tests/docs/smoke-all/2024/12/10/issue-11654.qmd @@ -0,0 +1,8 @@ +--- +format: html +--- + +```{python} +#| column: page-inset +print("Hello, world") +``` \ No newline at end of file