Skip to content

Commit

Permalink
Merge pull request #11312 from quarto-dev/knitr/new-option-support
Browse files Browse the repository at this point in the history
  • Loading branch information
cderv authored Nov 5, 2024
2 parents 8851f59 + a303896 commit eaf85ae
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 20 deletions.
24 changes: 18 additions & 6 deletions src/resources/editor/tools/vs-code.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8220,9 +8220,18 @@ var require_yaml_intelligence_resources = __commonJS({
tags: {
engine: "knitr"
},
schema: "boolean",
schema: {
enum: [
true,
false,
"NA"
]
},
default: true,
description: "Include messages in rendered output."
description: {
short: "Include messages in rendered output.",
long: "Include messages in rendered output. Possible values are `true`, `false`, or `NA`. \nIf `true`, messages are included in the output. If `false`, messages are not included. \nIf `NA`, messages are not included in output but shown in the knitr log to console.\n"
}
},
{
name: "results",
Expand Down Expand Up @@ -22035,7 +22044,10 @@ var require_yaml_intelligence_resources = __commonJS({
short: "Location of output relative to the code that generated it\n(<code>default</code>, <code>fragment</code>, <code>slide</code>,\n<code>column</code>, or <code>column-location</code>)",
long: "Location of output relative to the code that generated it. The\npossible values are as follows:"
},
"Include messages in rendered output.",
{
short: "Include messages in rendered output.",
long: "Include messages in rendered output. Possible values are\n<code>true</code>, <code>false</code>, or <code>NA</code>. If\n<code>true</code>, messages are included in the output. If\n<code>false</code>, messages are not included. If <code>NA</code>,\nmessages are not included in output but shown in the knitr log to\nconsole."
},
{
short: "How to display text results",
long: "How to display text results. Note that this option only applies to\nnormal text output (not warnings, messages, or errors). The possible\nvalues are as follows:"
Expand Down Expand Up @@ -24134,12 +24146,12 @@ var require_yaml_intelligence_resources = __commonJS({
mermaid: "%%"
},
"handlers/mermaid/schema.yml": {
_internalId: 193399,
_internalId: 193475,
type: "object",
description: "be an object",
properties: {
"mermaid-format": {
_internalId: 193391,
_internalId: 193467,
type: "enum",
enum: [
"png",
Expand All @@ -24155,7 +24167,7 @@ var require_yaml_intelligence_resources = __commonJS({
exhaustiveCompletions: true
},
theme: {
_internalId: 193398,
_internalId: 193474,
type: "anyOf",
anyOf: [
{
Expand Down
24 changes: 18 additions & 6 deletions src/resources/editor/tools/yaml/web-worker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 18 additions & 6 deletions src/resources/editor/tools/yaml/yaml-intelligence-resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -1192,9 +1192,18 @@
"tags": {
"engine": "knitr"
},
"schema": "boolean",
"schema": {
"enum": [
true,
false,
"NA"
]
},
"default": true,
"description": "Include messages in rendered output."
"description": {
"short": "Include messages in rendered output.",
"long": "Include messages in rendered output. Possible values are `true`, `false`, or `NA`. \nIf `true`, messages are included in the output. If `false`, messages are not included. \nIf `NA`, messages are not included in output but shown in the knitr log to console.\n"
}
},
{
"name": "results",
Expand Down Expand Up @@ -15007,7 +15016,10 @@
"short": "Location of output relative to the code that generated it\n(<code>default</code>, <code>fragment</code>, <code>slide</code>,\n<code>column</code>, or <code>column-location</code>)",
"long": "Location of output relative to the code that generated it. The\npossible values are as follows:"
},
"Include messages in rendered output.",
{
"short": "Include messages in rendered output.",
"long": "Include messages in rendered output. Possible values are\n<code>true</code>, <code>false</code>, or <code>NA</code>. If\n<code>true</code>, messages are included in the output. If\n<code>false</code>, messages are not included. If <code>NA</code>,\nmessages are not included in output but shown in the knitr log to\nconsole."
},
{
"short": "How to display text results",
"long": "How to display text results. Note that this option only applies to\nnormal text output (not warnings, messages, or errors). The possible\nvalues are as follows:"
Expand Down Expand Up @@ -17106,12 +17118,12 @@
"mermaid": "%%"
},
"handlers/mermaid/schema.yml": {
"_internalId": 193399,
"_internalId": 193475,
"type": "object",
"description": "be an object",
"properties": {
"mermaid-format": {
"_internalId": 193391,
"_internalId": 193467,
"type": "enum",
"enum": [
"png",
Expand All @@ -17127,7 +17139,7 @@
"exhaustiveCompletions": true
},
"theme": {
"_internalId": 193398,
"_internalId": 193474,
"type": "anyOf",
"anyOf": [
{
Expand Down
10 changes: 8 additions & 2 deletions src/resources/schema/cell-textoutput.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,15 @@
- name: message
tags:
engine: knitr
schema: boolean
schema:
enum: [true, false, NA]
default: true
description: Include messages in rendered output.
description:
short: Include messages in rendered output.
long: |
Include messages in rendered output. Possible values are `true`, `false`, or `NA`.
If `true`, messages are included in the output. If `false`, messages are not included.
If `NA`, messages are not included in output but shown in the knitr log to console.
- name: results
tags:
Expand Down

0 comments on commit eaf85ae

Please sign in to comment.