Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 27 additions & 5 deletions src/resources/editor/tools/vs-code.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17215,6 +17215,24 @@ var require_yaml_intelligence_resources = __commonJS({
long: "Shift heading levels by a positive or negative integer.\nFor example, with `shift-heading-level-by: -1`, level 2\nheadings become level 1 headings, and level 3 headings\nbecome level 2 headings. Headings cannot have a level\nless than 1, so a heading that would be shifted below level 1\nbecomes a regular paragraph. Exception: with a shift of -N,\na level-N heading at the beginning of the document\nreplaces the metadata title.\n"
}
},
{
name: "page-numbering",
schema: {
anyOf: [
"boolean",
"string"
]
},
tags: {
formats: [
"typst"
]
},
description: {
short: "Schema to use for numbering pages, e.g. `1` or `i`, or `false` to omit page numbering.\n",
long: "Schema to use for numbering pages, e.g. `1` or `i`, or `false` to omit page numbering.\n\nSee [Typst Numbering](https://typst.app/docs/reference/model/numbering/) \nfor additional information.\n"
}
},
{
name: "pagenumbering",
schema: {
Expand Down Expand Up @@ -21908,7 +21926,7 @@ var require_yaml_intelligence_resources = __commonJS({
"The path to an XML stylesheet (XSL file) used to style the RSS\nfeed.",
{
short: "The date format to use when displaying dates (e.g. d-M-yyy).",
long: 'The date format to use when displaying dates (e.g.&nbsp;d-M-yyy). Learn\nmore about supported date formatting values <a href="https://quarto.org/docs/reference/dates.html">here</a>.'
long: 'The date format to use when displaying dates (e.g.&nbsp;d-M-yyy). Learn\nmore about supported date formatting values <a href="https://deno.land/[email protected]/datetime">here</a>.'
Comment on lines -21911 to +21929
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was wrongly modified in another backport
https://github.com/quarto-dev/quarto-cli/pull/13544/files

So rebuilding fixed it.

For 1.9 it has been modified in #13492

},
{
short: "The maximum length (in characters) of the description displayed in\nthe listing.",
Expand Down Expand Up @@ -24698,7 +24716,11 @@ var require_yaml_intelligence_resources = __commonJS({
"Disambiguating year suffix in author-date styles (e.g.&nbsp;\u201Ca\u201D in \u201CDoe,\n1999a\u201D).",
"Manuscript configuration",
"internal-schema-hack",
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto\u2019s default order\nis \u2018knitr\u2019, \u2018jupyter\u2019, \u2018markdown\u2019, \u2018julia\u2019."
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto\u2019s default order\nis \u2018knitr\u2019, \u2018jupyter\u2019, \u2018markdown\u2019, \u2018julia\u2019.",
{
short: "Schema to use for numbering pages, e.g.&nbsp;<code>1</code> or\n<code>i</code>, or <code>false</code> to omit page numbering.",
long: 'Schema to use for numbering pages, e.g.&nbsp;<code>1</code> or\n<code>i</code>, or <code>false</code> to omit page numbering.\nSee <a href="https://typst.app/docs/reference/model/numbering/">Typst\nNumbering</a> for additional information.'
}
],
"schema/external-schemas.yml": [
{
Expand Down Expand Up @@ -24927,12 +24949,12 @@ var require_yaml_intelligence_resources = __commonJS({
mermaid: "%%"
},
"handlers/mermaid/schema.yml": {
_internalId: 197474,
_internalId: 197484,
type: "object",
description: "be an object",
properties: {
"mermaid-format": {
_internalId: 197466,
_internalId: 197476,
type: "enum",
enum: [
"png",
Expand All @@ -24948,7 +24970,7 @@ var require_yaml_intelligence_resources = __commonJS({
exhaustiveCompletions: true
},
theme: {
_internalId: 197473,
_internalId: 197483,
type: "anyOf",
anyOf: [
{
Expand Down

Large diffs are not rendered by default.

32 changes: 27 additions & 5 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.

32 changes: 27 additions & 5 deletions src/resources/editor/tools/yaml/yaml-intelligence-resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -10187,6 +10187,24 @@
"long": "Shift heading levels by a positive or negative integer.\nFor example, with `shift-heading-level-by: -1`, level 2\nheadings become level 1 headings, and level 3 headings\nbecome level 2 headings. Headings cannot have a level\nless than 1, so a heading that would be shifted below level 1\nbecomes a regular paragraph. Exception: with a shift of -N,\na level-N heading at the beginning of the document\nreplaces the metadata title.\n"
}
},
{
"name": "page-numbering",
"schema": {
"anyOf": [
"boolean",
"string"
]
},
"tags": {
"formats": [
"typst"
]
},
"description": {
"short": "Schema to use for numbering pages, e.g. `1` or `i`, or `false` to omit page numbering.\n",
"long": "Schema to use for numbering pages, e.g. `1` or `i`, or `false` to omit page numbering.\n\nSee [Typst Numbering](https://typst.app/docs/reference/model/numbering/) \nfor additional information.\n"
}
},
{
"name": "pagenumbering",
"schema": {
Expand Down Expand Up @@ -14880,7 +14898,7 @@
"The path to an XML stylesheet (XSL file) used to style the RSS\nfeed.",
{
"short": "The date format to use when displaying dates (e.g.&nbsp;d-M-yyy).",
"long": "The date format to use when displaying dates (e.g.&nbsp;d-M-yyy). Learn\nmore about supported date formatting values <a href=\"https://quarto.org/docs/reference/dates.html\">here</a>."
"long": "The date format to use when displaying dates (e.g.&nbsp;d-M-yyy). Learn\nmore about supported date formatting values <a href=\"https://deno.land/[email protected]/datetime\">here</a>."
},
{
"short": "The maximum length (in characters) of the description displayed in\nthe listing.",
Expand Down Expand Up @@ -17670,7 +17688,11 @@
"Disambiguating year suffix in author-date styles (e.g.&nbsp;“a” in “Doe,\n1999a”).",
"Manuscript configuration",
"internal-schema-hack",
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto’s default order\nis ‘knitr’, ‘jupyter’, ‘markdown’, ‘julia’."
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto’s default order\nis ‘knitr’, ‘jupyter’, ‘markdown’, ‘julia’.",
{
"short": "Schema to use for numbering pages, e.g.&nbsp;<code>1</code> or\n<code>i</code>, or <code>false</code> to omit page numbering.",
"long": "Schema to use for numbering pages, e.g.&nbsp;<code>1</code> or\n<code>i</code>, or <code>false</code> to omit page numbering.\nSee <a href=\"https://typst.app/docs/reference/model/numbering/\">Typst\nNumbering</a> for additional information."
}
],
"schema/external-schemas.yml": [
{
Expand Down Expand Up @@ -17899,12 +17921,12 @@
"mermaid": "%%"
},
"handlers/mermaid/schema.yml": {
"_internalId": 197474,
"_internalId": 197484,
"type": "object",
"description": "be an object",
"properties": {
"mermaid-format": {
"_internalId": 197466,
"_internalId": 197476,
"type": "enum",
"enum": [
"png",
Expand All @@ -17920,7 +17942,7 @@
"exhaustiveCompletions": true
},
"theme": {
"_internalId": 197473,
"_internalId": 197483,
"type": "anyOf",
"anyOf": [
{
Expand Down
16 changes: 16 additions & 0 deletions src/resources/schema/document-numbering.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,22 @@
a level-N heading at the beginning of the document
replaces the metadata title.

- name: page-numbering
schema:
anyOf:
- boolean
- string
tags:
formats: [typst]
description:
short: |
Schema to use for numbering pages, e.g. `1` or `i`, or `false` to omit page numbering.
long: |
Schema to use for numbering pages, e.g. `1` or `i`, or `false` to omit page numbering.

See [Typst Numbering](https://typst.app/docs/reference/model/numbering/)
for additional information.

- name: pagenumbering
schema:
maybeArrayOf: string
Expand Down
Loading