Skip to content

Commit f00d8fd

Browse files
committed
update schema for reference links
1 parent ae31198 commit f00d8fd

File tree

4 files changed

+45
-24
lines changed

4 files changed

+45
-24
lines changed

src/resources/editor/tools/vs-code.mjs

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12026,6 +12026,11 @@ var require_yaml_intelligence_resources = __commonJS({
1202612026
description: "Location to write references (`block`, `section`, or `document`)"
1202712027
}
1202812028
},
12029+
links: {
12030+
boolean: {
12031+
description: "Write markdown links as references rather than inline."
12032+
}
12033+
},
1202912034
prefix: {
1203012035
string: {
1203112036
description: "Unique prefix for references (`none` to prevent automatic prefixes)"
@@ -19416,6 +19421,7 @@ var require_yaml_intelligence_resources = __commonJS({
1941619421
"Reference writing options for visual editor",
1941719422
"Location to write references (<code>block</code>,\n<code>section</code>, or <code>document</code>)",
1941819423
"Unique prefix for references (<code>none</code> to prevent automatic\nprefixes)",
19424+
"Write markdown links as references rather than inline.",
1941919425
"The identifier for this publication.",
1942019426
"The identifier value.",
1942119427
"The identifier schema (e.g.&nbsp;<code>DOI</code>, <code>ISBN-A</code>,\netc.)",
@@ -19949,6 +19955,10 @@ var require_yaml_intelligence_resources = __commonJS({
1994919955
short: "semver version range for required quarto version",
1995019956
long: "A semver version range describing the supported quarto versions for\nthis document or project.\nExamples:"
1995119957
},
19958+
{
19959+
short: "The mode to use when previewing this document.",
19960+
long: "The mode to use when previewing this document. To disable any special\npreviewing features, pass <code>raw</code> as the preview-mode."
19961+
},
1995219962
{
1995319963
short: "Adds the necessary setup to the document preamble to generate PDF/A\nof the type specified.",
1995419964
long: 'Adds the necessary setup to the document preamble to generate PDF/A\nof the type specified.\nIf the value is set to <code>true</code>, <code>1b:2005</code> will\nbe used as default.\nTo successfully generate PDF/A the required ICC color profiles have\nto be available and the content and all included files (such as images)\nhave to be standard conforming. The ICC profiles and output intent may\nbe specified using the variables <code>pdfaiccprofile</code> and\n<code>pdfaintent</code>. See also <a href="https://wiki.contextgarden.net/PDF/A">ConTeXt PDFA</a> for more\ndetails.'
@@ -20832,11 +20842,7 @@ var require_yaml_intelligence_resources = __commonJS({
2083220842
long: "Title of the volume of the item or container holding the item.\nAlso use for titles of periodical special issues, special sections,\nand the like."
2083320843
},
2083420844
"Disambiguating year suffix in author-date styles (e.g.&nbsp;\u201Ca\u201D in \u201CDoe,\n1999a\u201D).",
20835-
"internal-schema-hack",
20836-
{
20837-
short: "The mode to use when previewing this document.",
20838-
long: "The mode to use when previewing this document. To disable any special\npreviewing features, pass <code>raw</code> as the preview-mode."
20839-
}
20845+
"internal-schema-hack"
2084020846
],
2084120847
"schema/external-schemas.yml": [
2084220848
{
@@ -21061,12 +21067,12 @@ var require_yaml_intelligence_resources = __commonJS({
2106121067
mermaid: "%%"
2106221068
},
2106321069
"handlers/mermaid/schema.yml": {
21064-
_internalId: 146897,
21070+
_internalId: 147223,
2106521071
type: "object",
2106621072
description: "be an object",
2106721073
properties: {
2106821074
"mermaid-format": {
21069-
_internalId: 146889,
21075+
_internalId: 147215,
2107021076
type: "enum",
2107121077
enum: [
2107221078
"png",
@@ -21082,7 +21088,7 @@ var require_yaml_intelligence_resources = __commonJS({
2108221088
exhaustiveCompletions: true
2108321089
},
2108421090
theme: {
21085-
_internalId: 146896,
21091+
_internalId: 147222,
2108621092
type: "anyOf",
2108721093
anyOf: [
2108821094
{

src/resources/editor/tools/yaml/web-worker.js

Lines changed: 14 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/resources/editor/tools/yaml/yaml-intelligence-resources.json

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5002,6 +5002,11 @@
50025002
"description": "Location to write references (`block`, `section`, or `document`)"
50035003
}
50045004
},
5005+
"links": {
5006+
"boolean": {
5007+
"description": "Write markdown links as references rather than inline."
5008+
}
5009+
},
50055010
"prefix": {
50065011
"string": {
50075012
"description": "Unique prefix for references (`none` to prevent automatic prefixes)"
@@ -12392,6 +12397,7 @@
1239212397
"Reference writing options for visual editor",
1239312398
"Location to write references (<code>block</code>,\n<code>section</code>, or <code>document</code>)",
1239412399
"Unique prefix for references (<code>none</code> to prevent automatic\nprefixes)",
12400+
"Write markdown links as references rather than inline.",
1239512401
"The identifier for this publication.",
1239612402
"The identifier value.",
1239712403
"The identifier schema (e.g.&nbsp;<code>DOI</code>, <code>ISBN-A</code>,\netc.)",
@@ -12925,6 +12931,10 @@
1292512931
"short": "semver version range for required quarto version",
1292612932
"long": "A semver version range describing the supported quarto versions for\nthis document or project.\nExamples:"
1292712933
},
12934+
{
12935+
"short": "The mode to use when previewing this document.",
12936+
"long": "The mode to use when previewing this document. To disable any special\npreviewing features, pass <code>raw</code> as the preview-mode."
12937+
},
1292812938
{
1292912939
"short": "Adds the necessary setup to the document preamble to generate PDF/A\nof the type specified.",
1293012940
"long": "Adds the necessary setup to the document preamble to generate PDF/A\nof the type specified.\nIf the value is set to <code>true</code>, <code>1b:2005</code> will\nbe used as default.\nTo successfully generate PDF/A the required ICC color profiles have\nto be available and the content and all included files (such as images)\nhave to be standard conforming. The ICC profiles and output intent may\nbe specified using the variables <code>pdfaiccprofile</code> and\n<code>pdfaintent</code>. See also <a href=\"https://wiki.contextgarden.net/PDF/A\">ConTeXt PDFA</a> for more\ndetails."
@@ -13808,11 +13818,7 @@
1380813818
"long": "Title of the volume of the item or container holding the item.\nAlso use for titles of periodical special issues, special sections,\nand the like."
1380913819
},
1381013820
"Disambiguating year suffix in author-date styles (e.g.&nbsp;“a” in “Doe,\n1999a”).",
13811-
"internal-schema-hack",
13812-
{
13813-
"short": "The mode to use when previewing this document.",
13814-
"long": "The mode to use when previewing this document. To disable any special\npreviewing features, pass <code>raw</code> as the preview-mode."
13815-
}
13821+
"internal-schema-hack"
1381613822
],
1381713823
"schema/external-schemas.yml": [
1381813824
{
@@ -14037,12 +14043,12 @@
1403714043
"mermaid": "%%"
1403814044
},
1403914045
"handlers/mermaid/schema.yml": {
14040-
"_internalId": 146897,
14046+
"_internalId": 147223,
1404114047
"type": "object",
1404214048
"description": "be an object",
1404314049
"properties": {
1404414050
"mermaid-format": {
14045-
"_internalId": 146889,
14051+
"_internalId": 147215,
1404614052
"type": "enum",
1404714053
"enum": [
1404814054
"png",
@@ -14058,7 +14064,7 @@
1405814064
"exhaustiveCompletions": true
1405914065
},
1406014066
"theme": {
14061-
"_internalId": 146896,
14067+
"_internalId": 147222,
1406214068
"type": "anyOf",
1406314069
"anyOf": [
1406414070
{

src/resources/schema/document-editor.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
schema:
2727
enum: [block, section, document]
2828
description: "Location to write references (`block`, `section`, or `document`)"
29+
links:
30+
boolean:
31+
description: "Write markdown links as references rather than inline."
2932
prefix:
3033
string:
3134
description: "Unique prefix for references (`none` to prevent automatic prefixes)"

0 commit comments

Comments
 (0)