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
28 changes: 25 additions & 3 deletions src/resources/editor/tools/vs-code.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17221,6 +17221,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 @@ -23583,6 +23601,10 @@ var require_yaml_intelligence_resources = __commonJS({
short: "Shift heading levels by a positive or negative integer. For example,\nwith <code>shift-heading-level-by: -1</code>, level 2 headings become\nlevel 1 headings.",
long: "Shift heading levels by a positive or negative integer. For example,\nwith <code>shift-heading-level-by: -1</code>, level 2 headings become\nlevel 1 headings, and level 3 headings become level 2 headings. Headings\ncannot have a level less than 1, so a heading that would be shifted\nbelow level 1 becomes a regular paragraph. Exception: with a shift of\n-N, a level-N heading at the beginning of the document replaces the\nmetadata title."
},
{
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.'
},
{
short: "Sets the page numbering style and location for the document.",
long: 'Sets the page numbering style and location for the document using the\n<code>\\setuppagenumbering</code> command.\nSee <a href="https://wiki.contextgarden.net/Command/setuppagenumbering">ConTeXt\nPage Numbering</a> for additional information.'
Expand Down Expand Up @@ -24933,12 +24955,12 @@ var require_yaml_intelligence_resources = __commonJS({
mermaid: "%%"
},
"handlers/mermaid/schema.yml": {
_internalId: 197474,
_internalId: 197624,
type: "object",
description: "be an object",
properties: {
"mermaid-format": {
_internalId: 197466,
_internalId: 197616,
type: "enum",
enum: [
"png",
Expand All @@ -24954,7 +24976,7 @@ var require_yaml_intelligence_resources = __commonJS({
exhaustiveCompletions: true
},
theme: {
_internalId: 197473,
_internalId: 197623,
type: "anyOf",
anyOf: [
{
Expand Down

Large diffs are not rendered by default.

28 changes: 25 additions & 3 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.

28 changes: 25 additions & 3 deletions src/resources/editor/tools/yaml/yaml-intelligence-resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -10193,6 +10193,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 @@ -16555,6 +16573,10 @@
"short": "Shift heading levels by a positive or negative integer. For example,\nwith <code>shift-heading-level-by: -1</code>, level 2 headings become\nlevel 1 headings.",
"long": "Shift heading levels by a positive or negative integer. For example,\nwith <code>shift-heading-level-by: -1</code>, level 2 headings become\nlevel 1 headings, and level 3 headings become level 2 headings. Headings\ncannot have a level less than 1, so a heading that would be shifted\nbelow level 1 becomes a regular paragraph. Exception: with a shift of\n-N, a level-N heading at the beginning of the document replaces the\nmetadata title."
},
{
"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."
},
{
"short": "Sets the page numbering style and location for the document.",
"long": "Sets the page numbering style and location for the document using the\n<code>\\setuppagenumbering</code> command.\nSee <a href=\"https://wiki.contextgarden.net/Command/setuppagenumbering\">ConTeXt\nPage Numbering</a> for additional information."
Expand Down Expand Up @@ -17905,12 +17927,12 @@
"mermaid": "%%"
},
"handlers/mermaid/schema.yml": {
"_internalId": 197474,
"_internalId": 197624,
"type": "object",
"description": "be an object",
"properties": {
"mermaid-format": {
"_internalId": 197466,
"_internalId": 197616,
"type": "enum",
"enum": [
"png",
Expand All @@ -17926,7 +17948,7 @@
"exhaustiveCompletions": true
},
"theme": {
"_internalId": 197473,
"_internalId": 197623,
"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