Skip to content
Merged
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
33 changes: 28 additions & 5 deletions src/resources/editor/tools/vs-code.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17346,6 +17346,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 @@ -22630,6 +22648,7 @@ var require_yaml_intelligence_resources = __commonJS({
"Define a profile group for which at least one profile is always\nactive.",
"Control when tests should run",
"Run tests on CI (true = run, false = skip)",
"Skip test unconditionally (true = skip with default message, string =\nskip with custom message)",
"Run tests ONLY on these platforms (whitelist)",
"Don\u2019t run tests on these platforms (blacklist)",
"The path to the locally referenced notebook.",
Expand Down Expand Up @@ -23548,6 +23567,10 @@ var require_yaml_intelligence_resources = __commonJS({
long: 'Identifies the main language of the document using IETF language tags\n(following the <a href="https://www.rfc-editor.org/info/bcp47">BCP\n47</a> standard), such as <code>en</code> or <code>en-GB</code>. The <a href="https://r12a.github.io/app-subtags/">Language subtag lookup</a>\ntool can look up or verify these tags.\nThis affects most formats, and controls hyphenation in PDF output\nwhen using LaTeX (through <a href="https://ctan.org/pkg/babel"><code>babel</code></a> and <a href="https://ctan.org/pkg/polyglossia"><code>polyglossia</code></a>) or\nConTeXt.'
},
"YAML file containing custom language translations",
{
short: "Enable babel language-specific shorthands in LaTeX output.",
long: 'Enable babel language-specific shorthands in LaTeX output. When\n<code>true</code>, babel\u2019s language shortcuts are enabled (e.g., French\n<code>&lt;&lt;</code>/<code>&gt;&gt;</code> for guillemets, German\n<code>"</code> shortcuts, proper spacing around French punctuation).\nDefault is <code>false</code> because language shorthands can\ninterfere with code blocks and other content. Only enable if you need\nspecific typographic features for your language.'
},
{
short: "The base script direction for the document (<code>rtl</code> or\n<code>ltr</code>).",
long: "The base script direction for the document (<code>rtl</code> or\n<code>ltr</code>).\nFor bidirectional documents, native pandoc <code>span</code>s and\n<code>div</code>s with the <code>dir</code> attribute can be used to\noverride the base direction in some output formats. This may not always\nbe necessary if the final renderer (e.g.&nbsp;the browser, when generating\nHTML) supports the [Unicode Bidirectional Algorithm].\nWhen using LaTeX for bidirectional documents, only the\n<code>xelatex</code> engine is fully supported (use\n<code>--pdf-engine=xelatex</code>)."
Expand Down Expand Up @@ -24882,8 +24905,8 @@ var require_yaml_intelligence_resources = __commonJS({
"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.",
{
short: "Enable babel language-specific shorthands in LaTeX output.",
long: 'Enable babel language-specific shorthands in LaTeX output. When\n<code>true</code>, babel\u2019s language shortcuts are enabled (e.g., French\n<code>&lt;&lt;</code>/<code>&gt;&gt;</code> for guillemets, German\n<code>"</code> shortcuts, proper spacing around French punctuation).\nDefault is <code>false</code> because language shorthands can\ninterfere with code blocks and other content. Only enable if you need\nspecific typographic features for your language.'
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 @@ -25113,12 +25136,12 @@ var require_yaml_intelligence_resources = __commonJS({
mermaid: "%%"
},
"handlers/mermaid/schema.yml": {
_internalId: 197592,
_internalId: 218561,
type: "object",
description: "be an object",
properties: {
"mermaid-format": {
_internalId: 197584,
_internalId: 218553,
type: "enum",
enum: [
"png",
Expand All @@ -25134,7 +25157,7 @@ var require_yaml_intelligence_resources = __commonJS({
exhaustiveCompletions: true
},
theme: {
_internalId: 197591,
_internalId: 218560,
type: "anyOf",
anyOf: [
{
Expand Down

Large diffs are not rendered by default.

33 changes: 28 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.

33 changes: 28 additions & 5 deletions src/resources/editor/tools/yaml/yaml-intelligence-resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -10318,6 +10318,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 @@ -15602,6 +15620,7 @@
"Define a profile group for which at least one profile is always\nactive.",
"Control when tests should run",
"Run tests on CI (true = run, false = skip)",
"Skip test unconditionally (true = skip with default message, string =\nskip with custom message)",
"Run tests ONLY on these platforms (whitelist)",
"Don’t run tests on these platforms (blacklist)",
"The path to the locally referenced notebook.",
Expand Down Expand Up @@ -16520,6 +16539,10 @@
"long": "Identifies the main language of the document using IETF language tags\n(following the <a href=\"https://www.rfc-editor.org/info/bcp47\">BCP\n47</a> standard), such as <code>en</code> or <code>en-GB</code>. The <a href=\"https://r12a.github.io/app-subtags/\">Language subtag lookup</a>\ntool can look up or verify these tags.\nThis affects most formats, and controls hyphenation in PDF output\nwhen using LaTeX (through <a href=\"https://ctan.org/pkg/babel\"><code>babel</code></a> and <a href=\"https://ctan.org/pkg/polyglossia\"><code>polyglossia</code></a>) or\nConTeXt."
},
"YAML file containing custom language translations",
{
"short": "Enable babel language-specific shorthands in LaTeX output.",
"long": "Enable babel language-specific shorthands in LaTeX output. When\n<code>true</code>, babel’s language shortcuts are enabled (e.g., French\n<code>&lt;&lt;</code>/<code>&gt;&gt;</code> for guillemets, German\n<code>\"</code> shortcuts, proper spacing around French punctuation).\nDefault is <code>false</code> because language shorthands can\ninterfere with code blocks and other content. Only enable if you need\nspecific typographic features for your language."
},
{
"short": "The base script direction for the document (<code>rtl</code> or\n<code>ltr</code>).",
"long": "The base script direction for the document (<code>rtl</code> or\n<code>ltr</code>).\nFor bidirectional documents, native pandoc <code>span</code>s and\n<code>div</code>s with the <code>dir</code> attribute can be used to\noverride the base direction in some output formats. This may not always\nbe necessary if the final renderer (e.g.&nbsp;the browser, when generating\nHTML) supports the [Unicode Bidirectional Algorithm].\nWhen using LaTeX for bidirectional documents, only the\n<code>xelatex</code> engine is fully supported (use\n<code>--pdf-engine=xelatex</code>)."
Expand Down Expand Up @@ -17854,8 +17877,8 @@
"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’.",
{
"short": "Enable babel language-specific shorthands in LaTeX output.",
"long": "Enable babel language-specific shorthands in LaTeX output. When\n<code>true</code>, babel’s language shortcuts are enabled (e.g., French\n<code>&lt;&lt;</code>/<code>&gt;&gt;</code> for guillemets, German\n<code>\"</code> shortcuts, proper spacing around French punctuation).\nDefault is <code>false</code> because language shorthands can\ninterfere with code blocks and other content. Only enable if you need\nspecific typographic features for your language."
"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 @@ -18085,12 +18108,12 @@
"mermaid": "%%"
},
"handlers/mermaid/schema.yml": {
"_internalId": 197592,
"_internalId": 218561,
"type": "object",
"description": "be an object",
"properties": {
"mermaid-format": {
"_internalId": 197584,
"_internalId": 218553,
"type": "enum",
"enum": [
"png",
Expand All @@ -18106,7 +18129,7 @@
"exhaustiveCompletions": true
},
"theme": {
"_internalId": 197591,
"_internalId": 218560,
"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