From 8986ec47f779efe2de1ec010920be7bbffa7e66c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Canouil?= <8896044+mcanouil@users.noreply.github.com> Date: Sat, 25 Nov 2023 15:30:46 +0100 Subject: [PATCH 1/6] docs: number-offset is HTML only option --- src/resources/editor/tools/vs-code.mjs | 5 +++++ src/resources/editor/tools/yaml/web-worker.js | 5 +++++ .../editor/tools/yaml/yaml-intelligence-resources.json | 5 +++++ src/resources/schema/document-numbering.yml | 2 ++ 4 files changed, 17 insertions(+) diff --git a/src/resources/editor/tools/vs-code.mjs b/src/resources/editor/tools/vs-code.mjs index e854e28e8fc..3433d58433e 100644 --- a/src/resources/editor/tools/vs-code.mjs +++ b/src/resources/editor/tools/vs-code.mjs @@ -15476,6 +15476,11 @@ var require_yaml_intelligence_resources = __commonJS({ }, { name: "number-offset", + ags: { + formats: [ + "$html-all" + ] + }, schema: { maybeArrayOf: "number" }, diff --git a/src/resources/editor/tools/yaml/web-worker.js b/src/resources/editor/tools/yaml/web-worker.js index 0eb24e10f5e..31f159cc702 100644 --- a/src/resources/editor/tools/yaml/web-worker.js +++ b/src/resources/editor/tools/yaml/web-worker.js @@ -15477,6 +15477,11 @@ try { }, { name: "number-offset", + ags: { + formats: [ + "$html-all" + ] + }, schema: { maybeArrayOf: "number" }, diff --git a/src/resources/editor/tools/yaml/yaml-intelligence-resources.json b/src/resources/editor/tools/yaml/yaml-intelligence-resources.json index 5e5511c1b03..2bdf6b52383 100644 --- a/src/resources/editor/tools/yaml/yaml-intelligence-resources.json +++ b/src/resources/editor/tools/yaml/yaml-intelligence-resources.json @@ -8448,6 +8448,11 @@ }, { "name": "number-offset", + "ags": { + "formats": [ + "$html-all" + ] + }, "schema": { "maybeArrayOf": "number" }, diff --git a/src/resources/schema/document-numbering.yml b/src/resources/schema/document-numbering.yml index 6bc28658c4e..d10157536f2 100644 --- a/src/resources/schema/document-numbering.yml +++ b/src/resources/schema/document-numbering.yml @@ -34,6 +34,8 @@ description: The numbering depth for sections. (Use `number-depth` instead). - name: number-offset + ags: + formats: [$html-all] schema: maybeArrayOf: number default: [0, 0, 0, 0, 0, 0] From 3ac337399ec0cc0cf65beab7aed8a288a55c22a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Canouil?= <8896044+mcanouil@users.noreply.github.com> Date: Fri, 14 Mar 2025 15:11:30 +0100 Subject: [PATCH 2/6] fix: typo in schema --- src/resources/editor/tools/vs-code.mjs | 31 +++++++++++++++---- src/resources/editor/tools/yaml/web-worker.js | 31 +++++++++++++++---- .../yaml/yaml-intelligence-resources.json | 18 ++++++++--- src/resources/schema/document-numbering.yml | 2 +- 4 files changed, 64 insertions(+), 18 deletions(-) diff --git a/src/resources/editor/tools/vs-code.mjs b/src/resources/editor/tools/vs-code.mjs index f11a67677f3..7dc6de0eb5b 100644 --- a/src/resources/editor/tools/vs-code.mjs +++ b/src/resources/editor/tools/vs-code.mjs @@ -16582,7 +16582,7 @@ var require_yaml_intelligence_resources = __commonJS({ }, { name: "number-offset", - ags: { + tags: { formats: [ "$html-all" ] @@ -19892,6 +19892,13 @@ var require_yaml_intelligence_resources = __commonJS({ }, errorMessage: "type key not supported at project type-level. Use `project: type: ...` instead.", description: "internal-schema-hack" + }, + { + name: "engines", + schema: { + arrayOf: "string" + }, + description: "List execution engines you want to give priority when determining which engine should render a notebook. If two engines have support for a notebook, the one listed earlier will be chosen. Quarto's default order is 'knitr', 'jupyter', 'markdown', 'julia'." } ], "schema/schema.yml": [ @@ -23972,7 +23979,8 @@ var require_yaml_intelligence_resources = __commonJS({ }, "Disambiguating year suffix in author-date styles (e.g. \u201Ca\u201D in \u201CDoe,\n1999a\u201D).", "Manuscript configuration", - "internal-schema-hack" + "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." ], "schema/external-schemas.yml": [ { @@ -24201,12 +24209,12 @@ var require_yaml_intelligence_resources = __commonJS({ mermaid: "%%" }, "handlers/mermaid/schema.yml": { - _internalId: 194269, + _internalId: 194322, type: "object", description: "be an object", properties: { "mermaid-format": { - _internalId: 194261, + _internalId: 194314, type: "enum", enum: [ "png", @@ -24222,7 +24230,7 @@ var require_yaml_intelligence_resources = __commonJS({ exhaustiveCompletions: true }, theme: { - _internalId: 194268, + _internalId: 194321, type: "anyOf", anyOf: [ { @@ -33258,11 +33266,22 @@ var jupyterEngineSchema = defineCached( }, "engine-jupyter" ); +var juliaEnginesSchema = defineCached( + // deno-lint-ignore require-await + async () => { + return { + schema: makeEngineSchema("julia"), + errorHandlers: [] + }; + }, + "engine-julia" +); async function getEngineOptionsSchema() { const obj = { markdown: await markdownEngineSchema(), knitr: await knitrEngineSchema(), - jupyter: await jupyterEngineSchema() + jupyter: await jupyterEngineSchema(), + julia: await juliaEnginesSchema() }; return obj; } diff --git a/src/resources/editor/tools/yaml/web-worker.js b/src/resources/editor/tools/yaml/web-worker.js index d9346274667..7c1e6d24c0c 100644 --- a/src/resources/editor/tools/yaml/web-worker.js +++ b/src/resources/editor/tools/yaml/web-worker.js @@ -16583,7 +16583,7 @@ try { }, { name: "number-offset", - ags: { + tags: { formats: [ "$html-all" ] @@ -19893,6 +19893,13 @@ try { }, errorMessage: "type key not supported at project type-level. Use `project: type: ...` instead.", description: "internal-schema-hack" + }, + { + name: "engines", + schema: { + arrayOf: "string" + }, + description: "List execution engines you want to give priority when determining which engine should render a notebook. If two engines have support for a notebook, the one listed earlier will be chosen. Quarto's default order is 'knitr', 'jupyter', 'markdown', 'julia'." } ], "schema/schema.yml": [ @@ -23973,7 +23980,8 @@ try { }, "Disambiguating year suffix in author-date styles (e.g. \u201Ca\u201D in \u201CDoe,\n1999a\u201D).", "Manuscript configuration", - "internal-schema-hack" + "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." ], "schema/external-schemas.yml": [ { @@ -24202,12 +24210,12 @@ try { mermaid: "%%" }, "handlers/mermaid/schema.yml": { - _internalId: 194269, + _internalId: 194322, type: "object", description: "be an object", properties: { "mermaid-format": { - _internalId: 194261, + _internalId: 194314, type: "enum", enum: [ "png", @@ -24223,7 +24231,7 @@ try { exhaustiveCompletions: true }, theme: { - _internalId: 194268, + _internalId: 194321, type: "anyOf", anyOf: [ { @@ -33272,11 +33280,22 @@ ${tidyverseInfo( }, "engine-jupyter" ); + var juliaEnginesSchema = defineCached( + // deno-lint-ignore require-await + async () => { + return { + schema: makeEngineSchema("julia"), + errorHandlers: [] + }; + }, + "engine-julia" + ); async function getEngineOptionsSchema() { const obj = { markdown: await markdownEngineSchema(), knitr: await knitrEngineSchema(), - jupyter: await jupyterEngineSchema() + jupyter: await jupyterEngineSchema(), + julia: await juliaEnginesSchema() }; return obj; } diff --git a/src/resources/editor/tools/yaml/yaml-intelligence-resources.json b/src/resources/editor/tools/yaml/yaml-intelligence-resources.json index 8b7dcb420de..bd47692d80e 100644 --- a/src/resources/editor/tools/yaml/yaml-intelligence-resources.json +++ b/src/resources/editor/tools/yaml/yaml-intelligence-resources.json @@ -9554,7 +9554,7 @@ }, { "name": "number-offset", - "ags": { + "tags": { "formats": [ "$html-all" ] @@ -12864,6 +12864,13 @@ }, "errorMessage": "type key not supported at project type-level. Use `project: type: ...` instead.", "description": "internal-schema-hack" + }, + { + "name": "engines", + "schema": { + "arrayOf": "string" + }, + "description": "List execution engines you want to give priority when determining which engine should render a notebook. If two engines have support for a notebook, the one listed earlier will be chosen. Quarto's default order is 'knitr', 'jupyter', 'markdown', 'julia'." } ], "schema/schema.yml": [ @@ -16944,7 +16951,8 @@ }, "Disambiguating year suffix in author-date styles (e.g. “a” in “Doe,\n1999a”).", "Manuscript configuration", - "internal-schema-hack" + "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’." ], "schema/external-schemas.yml": [ { @@ -17173,12 +17181,12 @@ "mermaid": "%%" }, "handlers/mermaid/schema.yml": { - "_internalId": 194269, + "_internalId": 194322, "type": "object", "description": "be an object", "properties": { "mermaid-format": { - "_internalId": 194261, + "_internalId": 194314, "type": "enum", "enum": [ "png", @@ -17194,7 +17202,7 @@ "exhaustiveCompletions": true }, "theme": { - "_internalId": 194268, + "_internalId": 194321, "type": "anyOf", "anyOf": [ { diff --git a/src/resources/schema/document-numbering.yml b/src/resources/schema/document-numbering.yml index d10157536f2..a51cec3b4f4 100644 --- a/src/resources/schema/document-numbering.yml +++ b/src/resources/schema/document-numbering.yml @@ -34,7 +34,7 @@ description: The numbering depth for sections. (Use `number-depth` instead). - name: number-offset - ags: + tags: formats: [$html-all] schema: maybeArrayOf: number From f0e791e77d03d7784ba2fff975df62186ac28ece Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Canouil?= <8896044+mcanouil@users.noreply.github.com> Date: Fri, 14 Mar 2025 15:15:43 +0100 Subject: [PATCH 3/6] chore: quarto build-js --- src/resources/editor/tools/vs-code.mjs | 305 +- src/resources/editor/tools/yaml/web-worker.js | 307 +- .../yaml/yaml-intelligence-resources.json | 3121 +++++++++++++---- 3 files changed, 2771 insertions(+), 962 deletions(-) diff --git a/src/resources/editor/tools/vs-code.mjs b/src/resources/editor/tools/vs-code.mjs index 738b76c38f3..4c5efeead6e 100644 --- a/src/resources/editor/tools/vs-code.mjs +++ b/src/resources/editor/tools/vs-code.mjs @@ -243,7 +243,7 @@ var TreeSitter = (function () { xhr.responseType = "arraybuffer"; xhr.send(null); return new Uint8Array( - /** @type{!ArrayBuffer} */(xhr.response) + /** @type{!ArrayBuffer} */ (xhr.response) ); } catch (err) { var data = tryParseAsDataURI(url); @@ -746,18 +746,18 @@ var TreeSitter = (function () { (tempI64 = [ value >>> 0, ((tempDouble = value), - +Math.abs(tempDouble) >= 1.0 - ? tempDouble > 0.0 - ? (Math.min( + +Math.abs(tempDouble) >= 1.0 + ? tempDouble > 0.0 + ? (Math.min( +Math.floor(tempDouble / 4294967296.0), 4294967295.0 ) | 0) >>> 0 - : ~~+Math.ceil( + : ~~+Math.ceil( (tempDouble - +(~~tempDouble >>> 0)) / 4294967296.0 ) >>> 0 - : 0), + : 0), ]), (HEAP32[ptr >> 2] = tempI64[0]), (HEAP32[(ptr + 4) >> 2] = tempI64[1]); @@ -831,8 +831,8 @@ var TreeSitter = (function () { assert( func, "Cannot call unknown function " + - ident + - ", make sure it is exported" + ident + + ", make sure it is exported" ); return func; } @@ -932,7 +932,7 @@ var TreeSitter = (function () { } if (slab.subarray || slab.slice) { - HEAPU8.set(/** @type {!Uint8Array} */(slab), ret); + HEAPU8.set(/** @type {!Uint8Array} */ (slab), ret); } else { HEAPU8.set(new Uint8Array(slab), ret); } @@ -991,8 +991,8 @@ var TreeSitter = (function () { if ((u0 & 0xf8) != 0xf0) warnOnce( "Invalid UTF-8 leading byte 0x" + - u0.toString(16) + - " encountered when deserializing a UTF-8 string in wasm memory to a JS string!" + u0.toString(16) + + " encountered when deserializing a UTF-8 string in wasm memory to a JS string!" ); u0 = ((u0 & 7) << 18) | @@ -1080,8 +1080,8 @@ var TreeSitter = (function () { if (u >= 0x200000) warnOnce( "Invalid Unicode code point 0x" + - u.toString(16) + - " encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x1FFFFF)." + u.toString(16) + + " encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x1FFFFF)." ); heap[outIdx++] = 0xf0 | (u >> 18); heap[outIdx++] = 0x80 | ((u >> 12) & 63); @@ -1448,18 +1448,18 @@ var TreeSitter = (function () { assert( INITIAL_MEMORY >= TOTAL_STACK, "INITIAL_MEMORY should be larger than TOTAL_STACK, was " + - INITIAL_MEMORY + - "! (TOTAL_STACK=" + - TOTAL_STACK + - ")" + INITIAL_MEMORY + + "! (TOTAL_STACK=" + + TOTAL_STACK + + ")" ); // check for full engine support (use string 'subarray' to avoid closure compiler confusion) assert( typeof Int32Array !== "undefined" && - typeof Float64Array !== "undefined" && - Int32Array.prototype.subarray !== undefined && - Int32Array.prototype.set !== undefined, + typeof Float64Array !== "undefined" && + Int32Array.prototype.subarray !== undefined && + Int32Array.prototype.set !== undefined, "JS engine does not provide full typed array support" ); @@ -1523,9 +1523,9 @@ var TreeSitter = (function () { if (cookie1 != 0x2135467 || cookie2 != 0x89bacdfe) { abort( "Stack overflow! Stack cookie has been overwritten, expected hex dwords 0x89BACDFE and 0x2135467, but received 0x" + - cookie2.toString(16) + - " " + - cookie1.toString(16) + cookie2.toString(16) + + " " + + cookie1.toString(16) ); } // Also test the global address 0 for integrity. @@ -1614,7 +1614,7 @@ var TreeSitter = (function () { __ATMAIN__.unshift(cb); } - function addOnExit(cb) { } + function addOnExit(cb) {} function addOnPostRun(cb) { __ATPOSTRUN__.unshift(cb); @@ -1837,14 +1837,14 @@ var TreeSitter = (function () { assert( runtimeInitialized, "native function `" + - displayName + - "` called before runtime initialization" + displayName + + "` called before runtime initialization" ); assert( !runtimeExited, "native function `" + - displayName + - "` called after runtime exit (use NO_EXIT_RUNTIME to keep it alive after main() exits)" + displayName + + "` called after runtime exit (use NO_EXIT_RUNTIME to keep it alive after main() exits)" ); if (!asm[name]) { assert( @@ -1912,7 +1912,7 @@ var TreeSitter = (function () { wasmBinaryFile, function (response) { resolve( - new Uint8Array(/** @type{!ArrayBuffer} */(response)) + new Uint8Array(/** @type{!ArrayBuffer} */ (response)) ); }, reject @@ -1992,8 +1992,8 @@ var TreeSitter = (function () { if (isFileURI(wasmBinaryFile)) { err( "warning: Loading from a file URI (" + - wasmBinaryFile + - ") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing" + wasmBinaryFile + + ") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing" ); } abort(reason); @@ -2422,8 +2422,8 @@ var TreeSitter = (function () { assert( resolved, "undefined symbol `" + - sym + - "`. perhaps a side module was not linked in? if this global was expected to arrive from a system library, try to build the MAIN_MODULE with EMCC_FORCE_STDLIBS=1 in the environment" + sym + + "`. perhaps a side module was not linked in? if this global was expected to arrive from a system library, try to build the MAIN_MODULE with EMCC_FORCE_STDLIBS=1 in the environment" ); return resolved; } @@ -2672,8 +2672,8 @@ var TreeSitter = (function () { assert( value, "undefined symbol `" + - symName + - "`. perhaps a side module was not linked in? if this global was expected to arrive from a system library, try to build the MAIN_MODULE with EMCC_FORCE_STDLIBS=1 in the environment" + symName + + "`. perhaps a side module was not linked in? if this global was expected to arrive from a system library, try to build the MAIN_MODULE with EMCC_FORCE_STDLIBS=1 in the environment" ); if (typeof value === "function") { GOT[symName].value = addFunctionWasm(value, value.sig); @@ -2798,11 +2798,11 @@ var TreeSitter = (function () { } catch (e) { console.error( "emscripten_realloc_buffer: Attempted to grow heap from " + - buffer.byteLength + - " bytes to " + - size + - " bytes, but got error: " + - e + buffer.byteLength + + " bytes to " + + size + + " bytes, but got error: " + + e ); } // implicit 0 return to save code size (caller will cast "undefined" into 0 @@ -2833,10 +2833,10 @@ var TreeSitter = (function () { if (requestedSize > maxHeapSize) { err( "Cannot enlarge memory, asked to go up to " + - requestedSize + - " bytes, but the limit is " + - maxHeapSize + - " bytes!" + requestedSize + + " bytes, but the limit is " + + maxHeapSize + + " bytes!" ); return false; } @@ -2863,10 +2863,10 @@ var TreeSitter = (function () { } err( "Failed to grow the heap from " + - oldSize + - " bytes to " + - newSize + - " bytes, not enough memory!" + oldSize + + " bytes to " + + newSize + + " bytes, not enough memory!" ); return false; } @@ -2929,18 +2929,18 @@ var TreeSitter = (function () { (tempI64 = [ stat.size >>> 0, ((tempDouble = stat.size), - +Math.abs(tempDouble) >= 1.0 - ? tempDouble > 0.0 - ? (Math.min( + +Math.abs(tempDouble) >= 1.0 + ? tempDouble > 0.0 + ? (Math.min( +Math.floor(tempDouble / 4294967296.0), 4294967295.0 ) | 0) >>> 0 - : ~~+Math.ceil( + : ~~+Math.ceil( (tempDouble - +(~~tempDouble >>> 0)) / 4294967296.0 ) >>> 0 - : 0), + : 0), ]), (HEAP32[(buf + 40) >> 2] = tempI64[0]), (HEAP32[(buf + 44) >> 2] = tempI64[1]); @@ -2955,18 +2955,18 @@ var TreeSitter = (function () { (tempI64 = [ stat.ino >>> 0, ((tempDouble = stat.ino), - +Math.abs(tempDouble) >= 1.0 - ? tempDouble > 0.0 - ? (Math.min( + +Math.abs(tempDouble) >= 1.0 + ? tempDouble > 0.0 + ? (Math.min( +Math.floor(tempDouble / 4294967296.0), 4294967295.0 ) | 0) >>> 0 - : ~~+Math.ceil( + : ~~+Math.ceil( (tempDouble - +(~~tempDouble >>> 0)) / 4294967296.0 ) >>> 0 - : 0), + : 0), ]), (HEAP32[(buf + 80) >> 2] = tempI64[0]), (HEAP32[(buf + 84) >> 2] = tempI64[1]); @@ -3116,18 +3116,18 @@ var TreeSitter = (function () { (tempI64 = [ stream.position >>> 0, ((tempDouble = stream.position), - +Math.abs(tempDouble) >= 1.0 - ? tempDouble > 0.0 - ? (Math.min( + +Math.abs(tempDouble) >= 1.0 + ? tempDouble > 0.0 + ? (Math.min( +Math.floor(tempDouble / 4294967296.0), 4294967295.0 ) | 0) >>> 0 - : ~~+Math.ceil( + : ~~+Math.ceil( (tempDouble - +(~~tempDouble >>> 0)) / 4294967296.0 ) >>> 0 - : 0), + : 0), ]), (HEAP32[newOffset >> 2] = tempI64[0]), (HEAP32[(newOffset + 4) >> 2] = tempI64[1]); @@ -3216,12 +3216,12 @@ var TreeSitter = (function () { assert( false, "Character code " + - chr + - " (" + - String.fromCharCode(chr) + - ") at offset " + - i + - " not in 0x00-0xFF." + chr + + " (" + + String.fromCharCode(chr) + + ") at offset " + + i + + " not in 0x00-0xFF." ); } chr &= 0xff; @@ -3245,36 +3245,36 @@ var TreeSitter = (function () { typeof atob === "function" ? atob : function (input) { - var keyStr = - "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; - - var output = ""; - var chr1, chr2, chr3; - var enc1, enc2, enc3, enc4; - var i = 0; - // remove all characters that are not A-Z, a-z, 0-9, +, /, or = - input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); - do { - enc1 = keyStr.indexOf(input.charAt(i++)); - enc2 = keyStr.indexOf(input.charAt(i++)); - enc3 = keyStr.indexOf(input.charAt(i++)); - enc4 = keyStr.indexOf(input.charAt(i++)); - - chr1 = (enc1 << 2) | (enc2 >> 4); - chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); - chr3 = ((enc3 & 3) << 6) | enc4; - - output = output + String.fromCharCode(chr1); - - if (enc3 !== 64) { - output = output + String.fromCharCode(chr2); - } - if (enc4 !== 64) { - output = output + String.fromCharCode(chr3); - } - } while (i < input.length); - return output; - }; + var keyStr = + "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; + + var output = ""; + var chr1, chr2, chr3; + var enc1, enc2, enc3, enc4; + var i = 0; + // remove all characters that are not A-Z, a-z, 0-9, +, /, or = + input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); + do { + enc1 = keyStr.indexOf(input.charAt(i++)); + enc2 = keyStr.indexOf(input.charAt(i++)); + enc3 = keyStr.indexOf(input.charAt(i++)); + enc4 = keyStr.indexOf(input.charAt(i++)); + + chr1 = (enc1 << 2) | (enc2 >> 4); + chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); + chr3 = ((enc3 & 3) << 6) | enc4; + + output = output + String.fromCharCode(chr1); + + if (enc3 !== 64) { + output = output + String.fromCharCode(chr2); + } + if (enc4 !== 64) { + output = output + String.fromCharCode(chr3); + } + } while (i < input.length); + return output; + }; // Converts a string of base64 into a byte array. // Throws error on invalid input. @@ -3744,9 +3744,9 @@ var TreeSitter = (function () { "_emscripten_stack_set_limits" ] = Module["asm"]["emscripten_stack_set_limits"]).apply( - null, - arguments - ); + null, + arguments + ); }); /** @type {function(...*):?} */ @@ -3756,9 +3756,9 @@ var TreeSitter = (function () { "_emscripten_stack_get_free" ] = Module["asm"]["emscripten_stack_get_free"]).apply( - null, - arguments - ); + null, + arguments + ); }); /** @type {function(...*):?} */ @@ -5578,7 +5578,7 @@ var TreeSitter = (function () { // it doesn't matter if it fails var flush = Module["_fflush"]; if (flush) flush(0); - } catch (e) { } + } catch (e) {} out = oldOut; err = oldErr; if (has) { @@ -5694,7 +5694,7 @@ var TreeSitter = (function () { if (version < MIN_COMPATIBLE_VERSION || VERSION < version) { throw new Error( `Incompatible language version ${version}. ` + - `Compatibility range ${MIN_COMPATIBLE_VERSION} through ${VERSION}.` + `Compatibility range ${MIN_COMPATIBLE_VERSION} through ${VERSION}.` ); } } else { @@ -6462,7 +6462,8 @@ var TreeSitter = (function () { case "eq?": if (steps.length !== 3) throw new Error( - `Wrong number of arguments to \`#eq?\` predicate. Expected 2, got ${steps.length - 1 + `Wrong number of arguments to \`#eq?\` predicate. Expected 2, got ${ + steps.length - 1 }` ); if (steps[1].type !== "capture") @@ -6503,7 +6504,8 @@ var TreeSitter = (function () { case "match?": if (steps.length !== 3) throw new Error( - `Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${steps.length - 1 + `Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${ + steps.length - 1 }.` ); if (steps[1].type !== "capture") @@ -6528,7 +6530,8 @@ var TreeSitter = (function () { case "set!": if (steps.length < 2 || steps.length > 3) throw new Error( - `Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${steps.length - 1 + `Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${ + steps.length - 1 }.` ); if (steps.some((s) => s.type !== "string")) @@ -6545,7 +6548,8 @@ var TreeSitter = (function () { case "is-not?": if (steps.length < 2 || steps.length > 3) throw new Error( - `Wrong number of arguments to \`#${operator}\` predicate. Expected 1 or 2. Got ${steps.length - 1 + `Wrong number of arguments to \`#${operator}\` predicate. Expected 1 or 2. Got ${ + steps.length - 1 }.` ); if (steps.some((s) => s.type !== "string")) @@ -21916,6 +21920,7 @@ var require_yaml_intelligence_resources = __commonJS({ long: "Unique label for code cell. Used when other code needs to refer to\nthe cell (e.g. for cross references fig-samples or\ntbl-summary)" }, "Classes to apply to cell container", + "Array of rendering names", "Array of tags for notebook cell", { short: "Notebook cell identifier", @@ -23631,6 +23636,7 @@ var require_yaml_intelligence_resources = __commonJS({ "Disambiguating year suffix in author-date styles (e.g. \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.", { short: "Include an automatically generated table of contents", long: "" @@ -23983,7 +23989,6 @@ var require_yaml_intelligence_resources = __commonJS({ "Disambiguating year suffix in author-date styles (e.g. \u201Ca\u201D in \u201CDoe,\n1999a\u201D).", "Manuscript configuration", "internal-schema-hack", - "Array of rendering names", "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." ], "schema/external-schemas.yml": [ @@ -24213,12 +24218,12 @@ var require_yaml_intelligence_resources = __commonJS({ mermaid: "%%" }, "handlers/mermaid/schema.yml": { - _internalId: 194327, + _internalId: 194642, type: "object", description: "be an object", properties: { "mermaid-format": { - _internalId: 194319, + _internalId: 194634, type: "enum", enum: [ "png", @@ -24234,7 +24239,7 @@ var require_yaml_intelligence_resources = __commonJS({ exhaustiveCompletions: true }, theme: { - _internalId: 194326, + _internalId: 194641, type: "anyOf", anyOf: [ { @@ -24488,7 +24493,7 @@ function* lineOffsets(text) { } function indexToLineCol(text) { const offsets = Array.from(lineOffsets(text)); - return function (offset) { + return function(offset) { if (offset === 0) { return { line: 0, @@ -24504,7 +24509,7 @@ function indexToLineCol(text) { } function lineColToIndex(text) { const offsets = Array.from(lineOffsets(text)); - return function (position) { + return function(position) { return offsets[position.line] + position.column; }; } @@ -24760,7 +24765,7 @@ function asMappedString(str2, fileName) { return { value: str2, fileName, - map: function (index, closest) { + map: function(index, closest) { if (closest) { index = Math.min(str2.length - 1, Math.max(0, index)); } @@ -24824,7 +24829,7 @@ function mappedConcat(strings) { } function mappedIndexToLineCol(eitherText) { const text = asMappedString(eitherText); - return function (offset) { + return function(offset) { const mapResult = text.map(offset, true); if (mapResult === void 0) { throw new InternalError("bad offset in mappedIndexRowCol"); @@ -25210,8 +25215,8 @@ var YAML_NODE_KINDS = ["scalar", "sequence", "mapping"]; function compileStyleAliases(map2) { var result = {}; if (map2 !== null) { - Object.keys(map2).forEach(function (style) { - map2[style].forEach(function (alias) { + Object.keys(map2).forEach(function(style) { + map2[style].forEach(function(alias) { result[String(alias)] = style; }); }); @@ -25220,7 +25225,7 @@ function compileStyleAliases(map2) { } function Type$1(tag, options) { options = options || {}; - Object.keys(options).forEach(function (name) { + Object.keys(options).forEach(function(name) { if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) { throw new exception( 'Unknown option "' + name + '" is met in definition of "' + tag + '" YAML type.' @@ -25230,10 +25235,10 @@ function Type$1(tag, options) { this.options = options; this.tag = tag; this.kind = options["kind"] || null; - this.resolve = options["resolve"] || function () { + this.resolve = options["resolve"] || function() { return true; }; - this.construct = options["construct"] || function (data) { + this.construct = options["construct"] || function(data) { return data; }; this.instanceOf = options["instanceOf"] || null; @@ -25252,9 +25257,9 @@ function Type$1(tag, options) { var type = Type$1; function compileList(schema2, name) { var result = []; - schema2[name].forEach(function (currentType) { + schema2[name].forEach(function(currentType) { var newIndex = result.length; - result.forEach(function (previousType, previousIndex) { + result.forEach(function(previousType, previousIndex) { if (previousType.tag === currentType.tag && previousType.kind === currentType.kind && previousType.multi === currentType.multi) { newIndex = previousIndex; } @@ -25309,7 +25314,7 @@ Schema$1.prototype.extend = function extend2(definition) { "Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })" ); } - implicit.forEach(function (type$1) { + implicit.forEach(function(type$1) { if (!(type$1 instanceof type)) { throw new exception( "Specified list of YAML types (or a single Type object) contains a non-Type object." @@ -25326,7 +25331,7 @@ Schema$1.prototype.extend = function extend2(definition) { ); } }); - explicit.forEach(function (type$1) { + explicit.forEach(function(type$1) { if (!(type$1 instanceof type)) { throw new exception( "Specified list of YAML types (or a single Type object) contains a non-Type object." @@ -25347,19 +25352,19 @@ Schema$1.prototype.extend = function extend2(definition) { var schema = Schema$1; var str = new type("tag:yaml.org,2002:str", { kind: "scalar", - construct: function (data) { + construct: function(data) { return data !== null ? data : ""; } }); var seq = new type("tag:yaml.org,2002:seq", { kind: "sequence", - construct: function (data) { + construct: function(data) { return data !== null ? data : []; } }); var map = new type("tag:yaml.org,2002:map", { kind: "mapping", - construct: function (data) { + construct: function(data) { return data !== null ? data : {}; } }); @@ -25384,19 +25389,19 @@ var _null = new type("tag:yaml.org,2002:null", { construct: constructYamlNull, predicate: isNull, represent: { - canonical: function () { + canonical: function() { return "~"; }, - lowercase: function () { + lowercase: function() { return "null"; }, - uppercase: function () { + uppercase: function() { return "NULL"; }, - camelcase: function () { + camelcase: function() { return "Null"; }, - empty: function () { + empty: function() { return ""; } }, @@ -25420,13 +25425,13 @@ var bool = new type("tag:yaml.org,2002:bool", { construct: constructYamlBoolean, predicate: isBoolean, represent: { - lowercase: function (object) { + lowercase: function(object) { return object ? "true" : "false"; }, - uppercase: function (object) { + uppercase: function(object) { return object ? "TRUE" : "FALSE"; }, - camelcase: function (object) { + camelcase: function(object) { return object ? "True" : "False"; } }, @@ -25540,16 +25545,16 @@ var int = new type("tag:yaml.org,2002:int", { construct: constructYamlInteger, predicate: isInteger, represent: { - binary: function (obj) { + binary: function(obj) { return obj >= 0 ? "0b" + obj.toString(2) : "-0b" + obj.toString(2).slice(1); }, - octal: function (obj) { + octal: function(obj) { return obj >= 0 ? "0o" + obj.toString(8) : "-0o" + obj.toString(8).slice(1); }, - decimal: function (obj) { + decimal: function(obj) { return obj.toString(10); }, - hexadecimal: function (obj) { + hexadecimal: function(obj) { return obj >= 0 ? "0x" + obj.toString(16).toUpperCase() : "-0x" + obj.toString(16).toUpperCase().slice(1); } }, @@ -27416,7 +27421,7 @@ function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, te return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE; } function writeScalar(state, string, level, iskey, inblock) { - state.dump = function () { + state.dump = function() { if (string.length === 0) { return state.quotingType === QUOTING_TYPE_DOUBLE ? '""' : "''"; } @@ -27468,7 +27473,7 @@ function dropEndingNewline(string) { } function foldString(string, width) { var lineRe = /(\n+)([^\n]*)/g; - var result = function () { + var result = function() { var nextLF = string.indexOf("\n"); nextLF = nextLF !== -1 ? nextLF : string.length; lineRe.lastIndex = nextLF; @@ -27803,7 +27808,7 @@ var dumper = { dump: dump_1 }; function renamed(from, to) { - return function () { + return function() { throw new Error( "Function yaml." + from + " is removed in js-yaml 4. Use yaml." + to + " instead, which is now safe by default." ); @@ -28591,7 +28596,7 @@ var RegExpValidator = class { const start = this.index; let inClass = false; let escaped = false; - for (; ;) { + for (; ; ) { const cp = this.currentCodePoint; if (cp === -1 || isLineTerminator(cp)) { const kind = inClass ? "character class" : "regular expression"; @@ -28992,7 +28997,7 @@ var RegExpValidator = class { } consumeClassRanges() { const strict = this.strict || this._uFlag; - for (; ;) { + for (; ; ) { const rangeStart = this.index; if (!this.consumeClassAtom()) { break; @@ -32391,7 +32396,7 @@ function globToRegExp(glob, { ; glob = glob.slice(0, newLength); let regExpString = ""; - for (let j = 0; j < glob.length;) { + for (let j = 0; j < glob.length; ) { let segment = ""; const groupStack = []; let inRange = false; @@ -33408,7 +33413,7 @@ async function partitionCellOptionsMapped(language, outerSource, validate2 = fal sourceStartLine } = partitionCellOptionsText(language, outerSource); if (language !== "r" || // only skip validation when language === 'r' and guessChunkOptionsFormat == "knitr" - guessChunkOptionsFormat((mappedYaml || asMappedString("")).value) === "yaml") { + guessChunkOptionsFormat((mappedYaml || asMappedString("")).value) === "yaml") { const yaml = await parseAndValidateCellOptions( mappedYaml || asMappedString(""), language, diff --git a/src/resources/editor/tools/yaml/web-worker.js b/src/resources/editor/tools/yaml/web-worker.js index 1030ba5b92a..cacf9f8022a 100644 --- a/src/resources/editor/tools/yaml/web-worker.js +++ b/src/resources/editor/tools/yaml/web-worker.js @@ -243,7 +243,7 @@ var TreeSitter = (function () { xhr.responseType = "arraybuffer"; xhr.send(null); return new Uint8Array( - /** @type{!ArrayBuffer} */(xhr.response) + /** @type{!ArrayBuffer} */ (xhr.response) ); } catch (err) { var data = tryParseAsDataURI(url); @@ -746,18 +746,18 @@ var TreeSitter = (function () { (tempI64 = [ value >>> 0, ((tempDouble = value), - +Math.abs(tempDouble) >= 1.0 - ? tempDouble > 0.0 - ? (Math.min( + +Math.abs(tempDouble) >= 1.0 + ? tempDouble > 0.0 + ? (Math.min( +Math.floor(tempDouble / 4294967296.0), 4294967295.0 ) | 0) >>> 0 - : ~~+Math.ceil( + : ~~+Math.ceil( (tempDouble - +(~~tempDouble >>> 0)) / 4294967296.0 ) >>> 0 - : 0), + : 0), ]), (HEAP32[ptr >> 2] = tempI64[0]), (HEAP32[(ptr + 4) >> 2] = tempI64[1]); @@ -831,8 +831,8 @@ var TreeSitter = (function () { assert( func, "Cannot call unknown function " + - ident + - ", make sure it is exported" + ident + + ", make sure it is exported" ); return func; } @@ -932,7 +932,7 @@ var TreeSitter = (function () { } if (slab.subarray || slab.slice) { - HEAPU8.set(/** @type {!Uint8Array} */(slab), ret); + HEAPU8.set(/** @type {!Uint8Array} */ (slab), ret); } else { HEAPU8.set(new Uint8Array(slab), ret); } @@ -991,8 +991,8 @@ var TreeSitter = (function () { if ((u0 & 0xf8) != 0xf0) warnOnce( "Invalid UTF-8 leading byte 0x" + - u0.toString(16) + - " encountered when deserializing a UTF-8 string in wasm memory to a JS string!" + u0.toString(16) + + " encountered when deserializing a UTF-8 string in wasm memory to a JS string!" ); u0 = ((u0 & 7) << 18) | @@ -1080,8 +1080,8 @@ var TreeSitter = (function () { if (u >= 0x200000) warnOnce( "Invalid Unicode code point 0x" + - u.toString(16) + - " encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x1FFFFF)." + u.toString(16) + + " encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x1FFFFF)." ); heap[outIdx++] = 0xf0 | (u >> 18); heap[outIdx++] = 0x80 | ((u >> 12) & 63); @@ -1448,18 +1448,18 @@ var TreeSitter = (function () { assert( INITIAL_MEMORY >= TOTAL_STACK, "INITIAL_MEMORY should be larger than TOTAL_STACK, was " + - INITIAL_MEMORY + - "! (TOTAL_STACK=" + - TOTAL_STACK + - ")" + INITIAL_MEMORY + + "! (TOTAL_STACK=" + + TOTAL_STACK + + ")" ); // check for full engine support (use string 'subarray' to avoid closure compiler confusion) assert( typeof Int32Array !== "undefined" && - typeof Float64Array !== "undefined" && - Int32Array.prototype.subarray !== undefined && - Int32Array.prototype.set !== undefined, + typeof Float64Array !== "undefined" && + Int32Array.prototype.subarray !== undefined && + Int32Array.prototype.set !== undefined, "JS engine does not provide full typed array support" ); @@ -1523,9 +1523,9 @@ var TreeSitter = (function () { if (cookie1 != 0x2135467 || cookie2 != 0x89bacdfe) { abort( "Stack overflow! Stack cookie has been overwritten, expected hex dwords 0x89BACDFE and 0x2135467, but received 0x" + - cookie2.toString(16) + - " " + - cookie1.toString(16) + cookie2.toString(16) + + " " + + cookie1.toString(16) ); } // Also test the global address 0 for integrity. @@ -1614,7 +1614,7 @@ var TreeSitter = (function () { __ATMAIN__.unshift(cb); } - function addOnExit(cb) { } + function addOnExit(cb) {} function addOnPostRun(cb) { __ATPOSTRUN__.unshift(cb); @@ -1837,14 +1837,14 @@ var TreeSitter = (function () { assert( runtimeInitialized, "native function `" + - displayName + - "` called before runtime initialization" + displayName + + "` called before runtime initialization" ); assert( !runtimeExited, "native function `" + - displayName + - "` called after runtime exit (use NO_EXIT_RUNTIME to keep it alive after main() exits)" + displayName + + "` called after runtime exit (use NO_EXIT_RUNTIME to keep it alive after main() exits)" ); if (!asm[name]) { assert( @@ -1912,7 +1912,7 @@ var TreeSitter = (function () { wasmBinaryFile, function (response) { resolve( - new Uint8Array(/** @type{!ArrayBuffer} */(response)) + new Uint8Array(/** @type{!ArrayBuffer} */ (response)) ); }, reject @@ -1992,8 +1992,8 @@ var TreeSitter = (function () { if (isFileURI(wasmBinaryFile)) { err( "warning: Loading from a file URI (" + - wasmBinaryFile + - ") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing" + wasmBinaryFile + + ") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing" ); } abort(reason); @@ -2422,8 +2422,8 @@ var TreeSitter = (function () { assert( resolved, "undefined symbol `" + - sym + - "`. perhaps a side module was not linked in? if this global was expected to arrive from a system library, try to build the MAIN_MODULE with EMCC_FORCE_STDLIBS=1 in the environment" + sym + + "`. perhaps a side module was not linked in? if this global was expected to arrive from a system library, try to build the MAIN_MODULE with EMCC_FORCE_STDLIBS=1 in the environment" ); return resolved; } @@ -2672,8 +2672,8 @@ var TreeSitter = (function () { assert( value, "undefined symbol `" + - symName + - "`. perhaps a side module was not linked in? if this global was expected to arrive from a system library, try to build the MAIN_MODULE with EMCC_FORCE_STDLIBS=1 in the environment" + symName + + "`. perhaps a side module was not linked in? if this global was expected to arrive from a system library, try to build the MAIN_MODULE with EMCC_FORCE_STDLIBS=1 in the environment" ); if (typeof value === "function") { GOT[symName].value = addFunctionWasm(value, value.sig); @@ -2798,11 +2798,11 @@ var TreeSitter = (function () { } catch (e) { console.error( "emscripten_realloc_buffer: Attempted to grow heap from " + - buffer.byteLength + - " bytes to " + - size + - " bytes, but got error: " + - e + buffer.byteLength + + " bytes to " + + size + + " bytes, but got error: " + + e ); } // implicit 0 return to save code size (caller will cast "undefined" into 0 @@ -2833,10 +2833,10 @@ var TreeSitter = (function () { if (requestedSize > maxHeapSize) { err( "Cannot enlarge memory, asked to go up to " + - requestedSize + - " bytes, but the limit is " + - maxHeapSize + - " bytes!" + requestedSize + + " bytes, but the limit is " + + maxHeapSize + + " bytes!" ); return false; } @@ -2863,10 +2863,10 @@ var TreeSitter = (function () { } err( "Failed to grow the heap from " + - oldSize + - " bytes to " + - newSize + - " bytes, not enough memory!" + oldSize + + " bytes to " + + newSize + + " bytes, not enough memory!" ); return false; } @@ -2929,18 +2929,18 @@ var TreeSitter = (function () { (tempI64 = [ stat.size >>> 0, ((tempDouble = stat.size), - +Math.abs(tempDouble) >= 1.0 - ? tempDouble > 0.0 - ? (Math.min( + +Math.abs(tempDouble) >= 1.0 + ? tempDouble > 0.0 + ? (Math.min( +Math.floor(tempDouble / 4294967296.0), 4294967295.0 ) | 0) >>> 0 - : ~~+Math.ceil( + : ~~+Math.ceil( (tempDouble - +(~~tempDouble >>> 0)) / 4294967296.0 ) >>> 0 - : 0), + : 0), ]), (HEAP32[(buf + 40) >> 2] = tempI64[0]), (HEAP32[(buf + 44) >> 2] = tempI64[1]); @@ -2955,18 +2955,18 @@ var TreeSitter = (function () { (tempI64 = [ stat.ino >>> 0, ((tempDouble = stat.ino), - +Math.abs(tempDouble) >= 1.0 - ? tempDouble > 0.0 - ? (Math.min( + +Math.abs(tempDouble) >= 1.0 + ? tempDouble > 0.0 + ? (Math.min( +Math.floor(tempDouble / 4294967296.0), 4294967295.0 ) | 0) >>> 0 - : ~~+Math.ceil( + : ~~+Math.ceil( (tempDouble - +(~~tempDouble >>> 0)) / 4294967296.0 ) >>> 0 - : 0), + : 0), ]), (HEAP32[(buf + 80) >> 2] = tempI64[0]), (HEAP32[(buf + 84) >> 2] = tempI64[1]); @@ -3116,18 +3116,18 @@ var TreeSitter = (function () { (tempI64 = [ stream.position >>> 0, ((tempDouble = stream.position), - +Math.abs(tempDouble) >= 1.0 - ? tempDouble > 0.0 - ? (Math.min( + +Math.abs(tempDouble) >= 1.0 + ? tempDouble > 0.0 + ? (Math.min( +Math.floor(tempDouble / 4294967296.0), 4294967295.0 ) | 0) >>> 0 - : ~~+Math.ceil( + : ~~+Math.ceil( (tempDouble - +(~~tempDouble >>> 0)) / 4294967296.0 ) >>> 0 - : 0), + : 0), ]), (HEAP32[newOffset >> 2] = tempI64[0]), (HEAP32[(newOffset + 4) >> 2] = tempI64[1]); @@ -3216,12 +3216,12 @@ var TreeSitter = (function () { assert( false, "Character code " + - chr + - " (" + - String.fromCharCode(chr) + - ") at offset " + - i + - " not in 0x00-0xFF." + chr + + " (" + + String.fromCharCode(chr) + + ") at offset " + + i + + " not in 0x00-0xFF." ); } chr &= 0xff; @@ -3245,36 +3245,36 @@ var TreeSitter = (function () { typeof atob === "function" ? atob : function (input) { - var keyStr = - "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; - - var output = ""; - var chr1, chr2, chr3; - var enc1, enc2, enc3, enc4; - var i = 0; - // remove all characters that are not A-Z, a-z, 0-9, +, /, or = - input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); - do { - enc1 = keyStr.indexOf(input.charAt(i++)); - enc2 = keyStr.indexOf(input.charAt(i++)); - enc3 = keyStr.indexOf(input.charAt(i++)); - enc4 = keyStr.indexOf(input.charAt(i++)); - - chr1 = (enc1 << 2) | (enc2 >> 4); - chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); - chr3 = ((enc3 & 3) << 6) | enc4; - - output = output + String.fromCharCode(chr1); - - if (enc3 !== 64) { - output = output + String.fromCharCode(chr2); - } - if (enc4 !== 64) { - output = output + String.fromCharCode(chr3); - } - } while (i < input.length); - return output; - }; + var keyStr = + "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; + + var output = ""; + var chr1, chr2, chr3; + var enc1, enc2, enc3, enc4; + var i = 0; + // remove all characters that are not A-Z, a-z, 0-9, +, /, or = + input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); + do { + enc1 = keyStr.indexOf(input.charAt(i++)); + enc2 = keyStr.indexOf(input.charAt(i++)); + enc3 = keyStr.indexOf(input.charAt(i++)); + enc4 = keyStr.indexOf(input.charAt(i++)); + + chr1 = (enc1 << 2) | (enc2 >> 4); + chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); + chr3 = ((enc3 & 3) << 6) | enc4; + + output = output + String.fromCharCode(chr1); + + if (enc3 !== 64) { + output = output + String.fromCharCode(chr2); + } + if (enc4 !== 64) { + output = output + String.fromCharCode(chr3); + } + } while (i < input.length); + return output; + }; // Converts a string of base64 into a byte array. // Throws error on invalid input. @@ -3744,9 +3744,9 @@ var TreeSitter = (function () { "_emscripten_stack_set_limits" ] = Module["asm"]["emscripten_stack_set_limits"]).apply( - null, - arguments - ); + null, + arguments + ); }); /** @type {function(...*):?} */ @@ -3756,9 +3756,9 @@ var TreeSitter = (function () { "_emscripten_stack_get_free" ] = Module["asm"]["emscripten_stack_get_free"]).apply( - null, - arguments - ); + null, + arguments + ); }); /** @type {function(...*):?} */ @@ -5578,7 +5578,7 @@ var TreeSitter = (function () { // it doesn't matter if it fails var flush = Module["_fflush"]; if (flush) flush(0); - } catch (e) { } + } catch (e) {} out = oldOut; err = oldErr; if (has) { @@ -5694,7 +5694,7 @@ var TreeSitter = (function () { if (version < MIN_COMPATIBLE_VERSION || VERSION < version) { throw new Error( `Incompatible language version ${version}. ` + - `Compatibility range ${MIN_COMPATIBLE_VERSION} through ${VERSION}.` + `Compatibility range ${MIN_COMPATIBLE_VERSION} through ${VERSION}.` ); } } else { @@ -6462,7 +6462,8 @@ var TreeSitter = (function () { case "eq?": if (steps.length !== 3) throw new Error( - `Wrong number of arguments to \`#eq?\` predicate. Expected 2, got ${steps.length - 1 + `Wrong number of arguments to \`#eq?\` predicate. Expected 2, got ${ + steps.length - 1 }` ); if (steps[1].type !== "capture") @@ -6503,7 +6504,8 @@ var TreeSitter = (function () { case "match?": if (steps.length !== 3) throw new Error( - `Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${steps.length - 1 + `Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${ + steps.length - 1 }.` ); if (steps[1].type !== "capture") @@ -6528,7 +6530,8 @@ var TreeSitter = (function () { case "set!": if (steps.length < 2 || steps.length > 3) throw new Error( - `Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${steps.length - 1 + `Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${ + steps.length - 1 }.` ); if (steps.some((s) => s.type !== "string")) @@ -6545,7 +6548,8 @@ var TreeSitter = (function () { case "is-not?": if (steps.length < 2 || steps.length > 3) throw new Error( - `Wrong number of arguments to \`#${operator}\` predicate. Expected 1 or 2. Got ${steps.length - 1 + `Wrong number of arguments to \`#${operator}\` predicate. Expected 1 or 2. Got ${ + steps.length - 1 }.` ); if (steps.some((s) => s.type !== "string")) @@ -21917,6 +21921,7 @@ try { long: "Unique label for code cell. Used when other code needs to refer to\nthe cell (e.g. for cross references fig-samples or\ntbl-summary)" }, "Classes to apply to cell container", + "Array of rendering names", "Array of tags for notebook cell", { short: "Notebook cell identifier", @@ -23632,6 +23637,7 @@ try { "Disambiguating year suffix in author-date styles (e.g. \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.", { short: "Include an automatically generated table of contents", long: "" @@ -23984,7 +23990,6 @@ try { "Disambiguating year suffix in author-date styles (e.g. \u201Ca\u201D in \u201CDoe,\n1999a\u201D).", "Manuscript configuration", "internal-schema-hack", - "Array of rendering names", "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." ], "schema/external-schemas.yml": [ @@ -24214,12 +24219,12 @@ try { mermaid: "%%" }, "handlers/mermaid/schema.yml": { - _internalId: 194327, + _internalId: 194642, type: "object", description: "be an object", properties: { "mermaid-format": { - _internalId: 194319, + _internalId: 194634, type: "enum", enum: [ "png", @@ -24235,7 +24240,7 @@ try { exhaustiveCompletions: true }, theme: { - _internalId: 194326, + _internalId: 194641, type: "anyOf", anyOf: [ { @@ -24334,7 +24339,7 @@ try { // web-worker-manager.ts function workerCallback(calls) { - return async function (e) { + return async function(e) { const { callName, args, id } = e.data; try { const result = await calls[callName](...args); @@ -24502,7 +24507,7 @@ ${heading}`; } function indexToLineCol(text) { const offsets = Array.from(lineOffsets(text)); - return function (offset) { + return function(offset) { if (offset === 0) { return { line: 0, @@ -24518,7 +24523,7 @@ ${heading}`; } function lineColToIndex(text) { const offsets = Array.from(lineOffsets(text)); - return function (position) { + return function(position) { return offsets[position.line] + position.column; }; } @@ -24774,7 +24779,7 @@ ${heading}`; return { value: str2, fileName, - map: function (index, closest) { + map: function(index, closest) { if (closest) { index = Math.min(str2.length - 1, Math.max(0, index)); } @@ -24838,7 +24843,7 @@ ${heading}`; } function mappedIndexToLineCol(eitherText) { const text = asMappedString(eitherText); - return function (offset) { + return function(offset) { const mapResult = text.map(offset, true); if (mapResult === void 0) { throw new InternalError("bad offset in mappedIndexRowCol"); @@ -25224,8 +25229,8 @@ ${heading}`; function compileStyleAliases(map2) { var result = {}; if (map2 !== null) { - Object.keys(map2).forEach(function (style) { - map2[style].forEach(function (alias) { + Object.keys(map2).forEach(function(style) { + map2[style].forEach(function(alias) { result[String(alias)] = style; }); }); @@ -25234,7 +25239,7 @@ ${heading}`; } function Type$1(tag, options) { options = options || {}; - Object.keys(options).forEach(function (name) { + Object.keys(options).forEach(function(name) { if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) { throw new exception( 'Unknown option "' + name + '" is met in definition of "' + tag + '" YAML type.' @@ -25244,10 +25249,10 @@ ${heading}`; this.options = options; this.tag = tag; this.kind = options["kind"] || null; - this.resolve = options["resolve"] || function () { + this.resolve = options["resolve"] || function() { return true; }; - this.construct = options["construct"] || function (data) { + this.construct = options["construct"] || function(data) { return data; }; this.instanceOf = options["instanceOf"] || null; @@ -25266,9 +25271,9 @@ ${heading}`; var type = Type$1; function compileList(schema2, name) { var result = []; - schema2[name].forEach(function (currentType) { + schema2[name].forEach(function(currentType) { var newIndex = result.length; - result.forEach(function (previousType, previousIndex) { + result.forEach(function(previousType, previousIndex) { if (previousType.tag === currentType.tag && previousType.kind === currentType.kind && previousType.multi === currentType.multi) { newIndex = previousIndex; } @@ -25323,7 +25328,7 @@ ${heading}`; "Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })" ); } - implicit.forEach(function (type$1) { + implicit.forEach(function(type$1) { if (!(type$1 instanceof type)) { throw new exception( "Specified list of YAML types (or a single Type object) contains a non-Type object." @@ -25340,7 +25345,7 @@ ${heading}`; ); } }); - explicit.forEach(function (type$1) { + explicit.forEach(function(type$1) { if (!(type$1 instanceof type)) { throw new exception( "Specified list of YAML types (or a single Type object) contains a non-Type object." @@ -25361,19 +25366,19 @@ ${heading}`; var schema = Schema$1; var str = new type("tag:yaml.org,2002:str", { kind: "scalar", - construct: function (data) { + construct: function(data) { return data !== null ? data : ""; } }); var seq = new type("tag:yaml.org,2002:seq", { kind: "sequence", - construct: function (data) { + construct: function(data) { return data !== null ? data : []; } }); var map = new type("tag:yaml.org,2002:map", { kind: "mapping", - construct: function (data) { + construct: function(data) { return data !== null ? data : {}; } }); @@ -25398,19 +25403,19 @@ ${heading}`; construct: constructYamlNull, predicate: isNull, represent: { - canonical: function () { + canonical: function() { return "~"; }, - lowercase: function () { + lowercase: function() { return "null"; }, - uppercase: function () { + uppercase: function() { return "NULL"; }, - camelcase: function () { + camelcase: function() { return "Null"; }, - empty: function () { + empty: function() { return ""; } }, @@ -25434,13 +25439,13 @@ ${heading}`; construct: constructYamlBoolean, predicate: isBoolean, represent: { - lowercase: function (object) { + lowercase: function(object) { return object ? "true" : "false"; }, - uppercase: function (object) { + uppercase: function(object) { return object ? "TRUE" : "FALSE"; }, - camelcase: function (object) { + camelcase: function(object) { return object ? "True" : "False"; } }, @@ -25554,16 +25559,16 @@ ${heading}`; construct: constructYamlInteger, predicate: isInteger, represent: { - binary: function (obj) { + binary: function(obj) { return obj >= 0 ? "0b" + obj.toString(2) : "-0b" + obj.toString(2).slice(1); }, - octal: function (obj) { + octal: function(obj) { return obj >= 0 ? "0o" + obj.toString(8) : "-0o" + obj.toString(8).slice(1); }, - decimal: function (obj) { + decimal: function(obj) { return obj.toString(10); }, - hexadecimal: function (obj) { + hexadecimal: function(obj) { return obj >= 0 ? "0x" + obj.toString(16).toUpperCase() : "-0x" + obj.toString(16).toUpperCase().slice(1); } }, @@ -27430,7 +27435,7 @@ ${heading}`; return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE; } function writeScalar(state, string, level, iskey, inblock) { - state.dump = function () { + state.dump = function() { if (string.length === 0) { return state.quotingType === QUOTING_TYPE_DOUBLE ? '""' : "''"; } @@ -27482,7 +27487,7 @@ ${heading}`; } function foldString(string, width) { var lineRe = /(\n+)([^\n]*)/g; - var result = function () { + var result = function() { var nextLF = string.indexOf("\n"); nextLF = nextLF !== -1 ? nextLF : string.length; lineRe.lastIndex = nextLF; @@ -27817,7 +27822,7 @@ ${heading}`; dump: dump_1 }; function renamed(from, to) { - return function () { + return function() { throw new Error( "Function yaml." + from + " is removed in js-yaml 4. Use yaml." + to + " instead, which is now safe by default." ); @@ -28605,7 +28610,7 @@ ${heading}`; const start = this.index; let inClass = false; let escaped = false; - for (; ;) { + for (; ; ) { const cp = this.currentCodePoint; if (cp === -1 || isLineTerminator(cp)) { const kind = inClass ? "character class" : "regular expression"; @@ -29006,7 +29011,7 @@ ${heading}`; } consumeClassRanges() { const strict = this.strict || this._uFlag; - for (; ;) { + for (; ; ) { const rangeStart = this.index; if (!this.consumeClassAtom()) { break; @@ -32405,7 +32410,7 @@ ${tidyverseInfo( ; glob = glob.slice(0, newLength); let regExpString = ""; - for (let j = 0; j < glob.length;) { + for (let j = 0; j < glob.length; ) { let segment = ""; const groupStack = []; let inRange = false; @@ -33422,7 +33427,7 @@ ${tidyverseInfo( sourceStartLine } = partitionCellOptionsText(language, outerSource); if (language !== "r" || // only skip validation when language === 'r' and guessChunkOptionsFormat == "knitr" - guessChunkOptionsFormat((mappedYaml || asMappedString("")).value) === "yaml") { + guessChunkOptionsFormat((mappedYaml || asMappedString("")).value) === "yaml") { const yaml = await parseAndValidateCellOptions( mappedYaml || asMappedString(""), language, diff --git a/src/resources/editor/tools/yaml/yaml-intelligence-resources.json b/src/resources/editor/tools/yaml/yaml-intelligence-resources.json index f7a19dfdde4..dd3d82d4c06 100644 --- a/src/resources/editor/tools/yaml/yaml-intelligence-resources.json +++ b/src/resources/editor/tools/yaml/yaml-intelligence-resources.json @@ -158,7 +158,9 @@ { "name": "title", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": "string", "description": { @@ -168,10 +170,15 @@ { "name": "padding", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": { - "anyOf": ["string", "number"] + "anyOf": [ + "string", + "number" + ] }, "description": { "short": "Padding around dashboard card content (default `8px`)" @@ -180,7 +187,9 @@ { "name": "expandable", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": "boolean", "default": true, @@ -191,10 +200,15 @@ { "name": "width", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": { - "anyOf": ["string", "number"] + "anyOf": [ + "string", + "number" + ] }, "description": { "short": "Percentage or absolute pixel width for dashboard card (defaults to evenly spaced across row)" @@ -203,10 +217,15 @@ { "name": "height", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": { - "anyOf": ["string", "number"] + "anyOf": [ + "string", + "number" + ] }, "description": { "short": "Percentage or absolute pixel height for dashboard card (defaults to evenly spaced across column)" @@ -215,8 +234,12 @@ { "name": "context", "tags": { - "formats": ["dashboard"], - "engine": ["jupyter"] + "formats": [ + "dashboard" + ], + "engine": [ + "jupyter" + ] }, "schema": "string", "description": { @@ -226,7 +249,9 @@ { "name": "content", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": { "enum": [ @@ -244,7 +269,9 @@ { "name": "color", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": { "anyOf": [ @@ -272,7 +299,9 @@ { "name": "eval", "tags": { - "contexts": ["document-execute"], + "contexts": [ + "document-execute" + ], "execute-only": true }, "schema": "boolean", @@ -285,14 +314,18 @@ { "name": "echo", "tags": { - "contexts": ["document-execute"], + "contexts": [ + "document-execute" + ], "execute-only": true }, "schema": { "anyOf": [ "boolean", { - "enum": ["fenced"] + "enum": [ + "fenced" + ] } ], "errorDescription": "be `true`, `false`, or `fenced`" @@ -305,14 +338,20 @@ { "name": "code-fold", "tags": { - "contexts": ["document-code"], - "formats": ["$html-all"] + "contexts": [ + "document-code" + ], + "formats": [ + "$html-all" + ] }, "schema": { "anyOf": [ "boolean", { - "enum": ["show"] + "enum": [ + "show" + ] } ] }, @@ -325,8 +364,12 @@ { "name": "code-summary", "tags": { - "contexts": ["document-code"], - "formats": ["$html-all"] + "contexts": [ + "document-code" + ], + "formats": [ + "$html-all" + ] }, "schema": "string", "default": "Code", @@ -335,11 +378,18 @@ { "name": "code-overflow", "tags": { - "contexts": ["document-code"], - "formats": ["$html-all"] + "contexts": [ + "document-code" + ], + "formats": [ + "$html-all" + ] }, "schema": { - "enum": ["scroll", "wrap"] + "enum": [ + "scroll", + "wrap" + ] }, "default": "scroll", "description": { @@ -350,11 +400,20 @@ { "name": "code-line-numbers", "tags": { - "contexts": ["document-code"], - "formats": ["$html-all", "ms", "$pdf-all"] + "contexts": [ + "document-code" + ], + "formats": [ + "$html-all", + "ms", + "$pdf-all" + ] }, "schema": { - "anyOf": ["boolean", "string"], + "anyOf": [ + "boolean", + "string" + ], "tags": { "doNotNarrowError": true }, @@ -385,7 +444,10 @@ "anyOf": [ "boolean", { - "enum": ["styler", "formatR"] + "enum": [ + "styler", + "formatR" + ] } ] }, @@ -483,7 +545,9 @@ "schema": { "anyOf": [ { - "enum": [true] + "enum": [ + true + ] }, { "maybeArrayOf": "string" @@ -502,12 +566,25 @@ { "name": "fig-align", "tags": { - "contexts": ["document-figures"], - "formats": ["docx", "rtf", "$odt-all", "$pdf-all", "$html-all"] + "contexts": [ + "document-figures" + ], + "formats": [ + "docx", + "rtf", + "$odt-all", + "$pdf-all", + "$html-all" + ] }, "schema": { "maybeArrayOf": { - "enum": ["default", "left", "right", "center"] + "enum": [ + "default", + "left", + "right", + "center" + ] } }, "default": "default", @@ -516,7 +593,9 @@ { "name": "fig-alt", "tags": { - "formats": ["$html-all"] + "formats": [ + "$html-all" + ] }, "schema": { "maybeArrayOf": "string" @@ -526,8 +605,12 @@ { "name": "fig-env", "tags": { - "formats": ["$pdf-all"], - "contexts": ["document-figures"] + "formats": [ + "$pdf-all" + ], + "contexts": [ + "document-figures" + ] }, "schema": { "maybeArrayOf": "string" @@ -537,8 +620,12 @@ { "name": "fig-pos", "tags": { - "formats": ["$pdf-all"], - "contexts": ["document-figures"] + "formats": [ + "$pdf-all" + ], + "contexts": [ + "document-figures" + ] }, "schema": { "anyOf": [ @@ -546,7 +633,9 @@ "maybeArrayOf": "string" }, { - "enum": [false] + "enum": [ + false + ] } ] }, @@ -558,7 +647,9 @@ { "name": "fig-scap", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "schema": { "maybeArrayOf": "string" @@ -574,7 +665,13 @@ "engine": "knitr" }, "schema": { - "enum": ["retina", "png", "jpeg", "svg", "pdf"] + "enum": [ + "retina", + "png", + "jpeg", + "svg", + "pdf" + ] }, "description": "Default output format for figures (`retina`, `png`, `jpeg`, `svg`, or `pdf`)" }, @@ -635,7 +732,13 @@ "schema": { "anyOf": [ { - "enum": ["high", "none", "all", "first", "last"] + "enum": [ + "high", + "none", + "all", + "first", + "last" + ] }, { "maybeArrayOf": "number" @@ -654,7 +757,12 @@ "engine": "knitr" }, "schema": { - "enum": ["asis", "hold", "animate", "hide"] + "enum": [ + "asis", + "hold", + "animate", + "hide" + ] }, "default": "asis", "description": { @@ -674,7 +782,9 @@ "name": "external", "tags": { "engine": "knitr", - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "schema": "boolean", "default": true, @@ -684,7 +794,9 @@ "name": "sanitize", "tags": { "engine": "knitr", - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "schema": "boolean", "default": false, @@ -718,7 +830,10 @@ }, "schema": { "string": { - "completions": ["ffmpeg", "gifski"] + "completions": [ + "ffmpeg", + "gifski" + ] } }, "default": "ffmpeg", @@ -796,7 +911,12 @@ { "name": "layout-align", "schema": { - "enum": ["default", "left", "center", "right"] + "enum": [ + "default", + "left", + "center", + "right" + ] }, "default": "center", "description": "Horizontal alignment for layout content (`default`, `left`, `right`, or `center`)" @@ -804,7 +924,12 @@ { "name": "layout-valign", "schema": { - "enum": ["default", "top", "center", "bottom"] + "enum": [ + "default", + "top", + "center", + "bottom" + ] }, "default": "top", "description": "Vertical alignment for layout content (`default`, `top`, `center`, or `bottom`)" @@ -844,11 +969,20 @@ { "name": "cap-location", "tags": { - "contexts": ["document-layout"], - "formats": ["$html-files", "$pdf-all"] + "contexts": [ + "document-layout" + ], + "formats": [ + "$html-files", + "$pdf-all" + ] }, "schema": { - "enum": ["top", "bottom", "margin"] + "enum": [ + "top", + "bottom", + "margin" + ] }, "default": "bottom", "description": "Where to place figure and table captions (`top`, `bottom`, or `margin`)" @@ -856,11 +990,21 @@ { "name": "fig-cap-location", "tags": { - "contexts": ["document-layout", "document-figures"], - "formats": ["$html-files", "$pdf-all"] + "contexts": [ + "document-layout", + "document-figures" + ], + "formats": [ + "$html-files", + "$pdf-all" + ] }, "schema": { - "enum": ["top", "bottom", "margin"] + "enum": [ + "top", + "bottom", + "margin" + ] }, "default": "bottom", "description": "Where to place figure captions (`top`, `bottom`, or `margin`)" @@ -868,11 +1012,21 @@ { "name": "tbl-cap-location", "tags": { - "contexts": ["document-layout", "document-tables"], - "formats": ["$html-files", "$pdf-all"] + "contexts": [ + "document-layout", + "document-tables" + ], + "formats": [ + "$html-files", + "$pdf-all" + ] }, "schema": { - "enum": ["top", "bottom", "margin"] + "enum": [ + "top", + "bottom", + "margin" + ] }, "default": "top", "description": "Where to place table captions (`top`, `bottom`, or `margin`)" @@ -891,7 +1045,9 @@ "schema": { "anyOf": [ { - "enum": [true] + "enum": [ + true + ] }, { "maybeArrayOf": "string" @@ -903,15 +1059,25 @@ { "name": "tbl-colwidths", "tags": { - "contexts": ["document-tables"], - "engine": ["knitr", "jupyter"], - "formats": ["$pdf-all", "$html-all"] + "contexts": [ + "document-tables" + ], + "engine": [ + "knitr", + "jupyter" + ], + "formats": [ + "$pdf-all", + "$html-all" + ] }, "schema": { "anyOf": [ "boolean", { - "enum": ["auto"] + "enum": [ + "auto" + ] }, { "arrayOf": "number" @@ -926,7 +1092,9 @@ { "name": "html-table-processing", "schema": { - "enum": ["none"] + "enum": [ + "none" + ] }, "description": "If `none`, do not process raw HTML table in cell output and leave it as-is" } @@ -935,14 +1103,18 @@ { "name": "output", "tags": { - "contexts": ["document-execute"], + "contexts": [ + "document-execute" + ], "execute-only": true }, "schema": { "anyOf": [ "boolean", { - "enum": ["asis"] + "enum": [ + "asis" + ] }, "string", "object" @@ -956,7 +1128,9 @@ { "name": "warning", "tags": { - "contexts": ["document-execute"], + "contexts": [ + "document-execute" + ], "execute-only": true }, "schema": "boolean", @@ -965,7 +1139,9 @@ { "name": "error", "tags": { - "contexts": ["document-execute"], + "contexts": [ + "document-execute" + ], "execute-only": true }, "schema": "boolean", @@ -975,7 +1151,9 @@ { "name": "include", "tags": { - "contexts": ["document-execute"], + "contexts": [ + "document-execute" + ], "execute-only": true }, "schema": "boolean", @@ -985,17 +1163,31 @@ { "name": "panel", "schema": { - "enum": ["tabset", "input", "sidebar", "fill", "center"] + "enum": [ + "tabset", + "input", + "sidebar", + "fill", + "center" + ] }, "description": "Panel type for cell output (`tabset`, `input`, `sidebar`, `fill`, `center`)" }, { "name": "output-location", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": ["default", "fragment", "slide", "column", "column-fragment"] + "enum": [ + "default", + "fragment", + "slide", + "column", + "column-fragment" + ] }, "description": { "short": "Location of output relative to the code that generated it (`default`, `fragment`, `slide`, `column`, or `column-location`)", @@ -1008,7 +1200,11 @@ "engine": "knitr" }, "schema": { - "enum": [true, false, "NA"] + "enum": [ + true, + false, + "NA" + ] }, "default": true, "description": { @@ -1022,7 +1218,13 @@ "engine": "knitr" }, "schema": { - "enum": ["markup", "asis", "hold", "hide", false] + "enum": [ + "markup", + "asis", + "hold", + "hide", + false + ] }, "default": "markup", "description": { @@ -1134,7 +1336,9 @@ "value": "string", "format": "string" }, - "required": ["value"] + "required": [ + "value" + ] } } ] @@ -1142,7 +1346,14 @@ { "id": "math-methods", "enum": { - "values": ["plain", "webtex", "gladtex", "mathml", "mathjax", "katex"] + "values": [ + "plain", + "webtex", + "gladtex", + "mathml", + "mathjax", + "katex" + ] } }, { @@ -1160,7 +1371,9 @@ "path", { "enum": { - "values": [null], + "values": [ + null + ], "hidden": true } } @@ -1177,7 +1390,9 @@ "type": "string", "path": "path" }, - "required": ["path"] + "required": [ + "path" + ] } }, { @@ -1196,13 +1411,18 @@ ] } }, - "required": ["path", "at"] + "required": [ + "path", + "at" + ] } }, { "record": { "type": { - "enum": ["citeproc"] + "enum": [ + "citeproc" + ] } } } @@ -1355,7 +1575,9 @@ "id": "comments", "anyOf": [ { - "enum": [false] + "enum": [ + false + ] }, { "object": { @@ -1399,11 +1621,18 @@ "short": "How posts should be mapped to Github issues", "long": "How posts should be mapped to Github issues\n(`pathname`, `url`, `title` or `og:title`)\n" }, - "completions": ["pathname", "url", "title", "og:title"] + "completions": [ + "pathname", + "url", + "title", + "og:title" + ] } } }, - "required": ["repo"] + "required": [ + "repo" + ] } }, "giscus": { @@ -1445,7 +1674,12 @@ "mapping": { "anyOf": [ { - "enum": ["pathname", "url", "title", "og:title"] + "enum": [ + "pathname", + "url", + "title", + "og:title" + ] }, "string" ], @@ -1460,11 +1694,16 @@ } }, "loading": { - "enum": ["lazy"], + "enum": [ + "lazy" + ], "description": "Specify `loading: lazy` to defer loading comments until the user scrolls near the comments container." }, "input-position": { - "enum": ["top", "bottom"], + "enum": [ + "top", + "bottom" + ], "description": "Place the comment input box above or below the comments." }, "theme": { @@ -1510,7 +1749,9 @@ } } }, - "required": ["repo"] + "required": [ + "repo" + ] } }, "hypothesis": { @@ -1535,14 +1776,21 @@ "anyOf": [ "boolean", { - "enum": ["always", "whenSidebarOpen", "never"] + "enum": [ + "always", + "whenSidebarOpen", + "never" + ] } ], "default": "always", "description": "Controls whether the in-document highlights are shown by default (`always`, `whenSidebarOpen` or `never`)" }, "theme": { - "enum": ["classic", "clean"], + "enum": [ + "classic", + "clean" + ], "default": "classic", "description": "Controls the overall look of the sidebar (`classic` or `clean`)" }, @@ -1590,7 +1838,9 @@ "groups": { "anyOf": [ { - "enum": ["$rpc:requestGroups"] + "enum": [ + "$rpc:requestGroups" + ] }, { "arrayOf": "string" @@ -1604,7 +1854,11 @@ } } }, - "required": ["apiUrl", "authority", "grantToken"] + "required": [ + "apiUrl", + "authority", + "grantToken" + ] }, "description": "Alternative annotation services which the client should \nconnect to instead of connecting to the public Hypothesis \nservice at hypothes.is.\n" } @@ -1671,7 +1925,9 @@ } } }, - "required": ["user"] + "required": [ + "user" + ] }, "description": "Defines a focused filter set for the available annotations on a page." }, @@ -1792,7 +2048,10 @@ "closed": true, "properties": { "section": { - "anyOf": ["string", null] + "anyOf": [ + "string", + null + ] }, "contents": { "ref": "sidebar-contents" @@ -1878,7 +2137,10 @@ } } }, - "required": ["cmd", "ready"] + "required": [ + "cmd", + "ready" + ] } }, { @@ -1925,7 +2187,10 @@ "closed": true, "properties": { "card-style": { - "enum": ["summary", "summary_large_image"], + "enum": [ + "summary", + "summary_large_image" + ], "description": { "short": "Card style", "long": "Card style (`summary` or `summary_large_image`).\n\nIf this is not provided, the best style will automatically\nselected based upon other metadata. You can learn more about Twitter Card\nstyles [here](https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/abouts-cards).\n" @@ -1985,7 +2250,10 @@ "description": "Footer center content" }, "border": { - "anyOf": ["boolean", "string"], + "anyOf": [ + "boolean", + "string" + ], "description": "Footer border (`true`, `false`, or a border color)" }, "background": { @@ -2062,7 +2330,12 @@ }, "repo-actions": { "maybeArrayOf": { - "enum": ["none", "edit", "source", "issue"], + "enum": [ + "none", + "edit", + "source", + "issue" + ], "description": { "short": "Links to source repository actions", "long": "Links to source repository actions (`none` or one or more of `edit`, `source`, `issue`)" @@ -2085,7 +2358,10 @@ "description": "The Google tracking Id or measurement Id of this website." }, "storage": { - "enum": ["cookies", "none"], + "enum": [ + "cookies", + "none" + ], "description": { "short": "Storage options for Google Analytics data", "long": "Storage option for Google Analytics data using on of these two values:\n\n`cookies`: Use cookies to store unique user and session identification (default).\n\n`none`: Do not use cookies to store unique user and session identification.\n\nFor more about choosing storage options see [Storage](https://quarto.org/docs/websites/website-tools.html#storage).\n" @@ -2099,7 +2375,10 @@ } }, "version": { - "enum": [3, 4], + "enum": [ + 3, + 4 + ], "description": { "short": "The version number of Google Analytics to use.", "long": "The version number of Google Analytics to use. \n\n- `3`: Use analytics.js\n- `4`: use gtag. \n\nThis is automatically detected based upon the `tracking-id`, but you may specify it.\n" @@ -2134,7 +2413,10 @@ }, "position": { "schema": { - "enum": ["above-navbar", "below-navbar"] + "enum": [ + "above-navbar", + "below-navbar" + ] }, "description": { "short": "The position of the announcement.", @@ -2168,14 +2450,20 @@ "cookie-consent": { "anyOf": [ { - "enum": ["express", "implied"] + "enum": [ + "express", + "implied" + ] }, "boolean", { "object": { "properties": { "type": { - "enum": ["implied", "express"], + "enum": [ + "implied", + "express" + ], "description": { "short": "The type of consent that should be requested", "long": "The type of consent that should be requested, using one of these two values:\n\n- `implied` (default): This will notify the user that the site uses cookies and permit them to change preferences, but not block cookies unless the user changes their preferences.\n\n- `express`: This will block cookies until the user expressly agrees to allow them (or continue blocking them if the user doesn’t agree).\n" @@ -2194,7 +2482,10 @@ } }, "palette": { - "enum": ["light", "dark"], + "enum": [ + "light", + "dark" + ], "description": "Whether to use a dark or light appearance for the consent banner (`light` or `dark`)." }, "policy-url": { @@ -2230,11 +2521,17 @@ "object": { "properties": { "location": { - "enum": ["navbar", "sidebar"], + "enum": [ + "navbar", + "sidebar" + ], "description": "Location for search widget (`navbar` or `sidebar`)" }, "type": { - "enum": ["overlay", "textbox"], + "enum": [ + "overlay", + "textbox" + ], "description": "Type of search UI (`overlay` or `textbox`)" }, "limit": { @@ -2260,7 +2557,11 @@ "schema": { "anyOf": [ { - "enum": ["tree", "parent", "root"] + "enum": [ + "tree", + "parent", + "root" + ] }, "boolean" ] @@ -2339,7 +2640,10 @@ "object": { "properties": { "title": { - "anyOf": ["string", "boolean"], + "anyOf": [ + "string", + "boolean" + ], "description": "The navbar title. Uses the project title if none is specified." }, "logo": { @@ -2411,7 +2715,13 @@ } }, "collapse-below": { - "enum": ["sm", "md", "lg", "xl", "xxl"], + "enum": [ + "sm", + "md", + "lg", + "xl", + "xxl" + ], "description": "The responsive breakpoint below which the navbar will collapse into a menu (`sm`, `md`, `lg` (default), `xl`, `xxl`).", "default": "lg" }, @@ -2429,7 +2739,10 @@ }, "toggle-position": { "schema": { - "enum": ["left", "right"] + "enum": [ + "left", + "right" + ] }, "description": "The position of the collapsed navbar toggle when in responsive mode", "default": "left" @@ -2459,7 +2772,10 @@ } }, "title": { - "anyOf": ["string", "boolean"], + "anyOf": [ + "string", + "boolean" + ], "description": "The sidebar title. Uses the project title if none is specified." }, "logo": { @@ -2493,7 +2809,10 @@ "description": "List of items for the sidebar" }, "style": { - "enum": ["docked", "floating"], + "enum": [ + "docked", + "floating" + ], "description": "The style of sidebar (`docked` or `floating`).", "default": "floating" }, @@ -2539,7 +2858,11 @@ } }, "alignment": { - "enum": ["left", "right", "center"], + "enum": [ + "left", + "right", + "center" + ], "description": "Alignment of the items within the sidebar (`left`, `right`, or `center`)" }, "collapse-level": { @@ -2648,7 +2971,9 @@ "ref": "other-links" }, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "A list of other links to appear below the TOC." }, @@ -2662,7 +2987,9 @@ ] }, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "A list of code links to appear with this document." }, @@ -2674,7 +3001,11 @@ }, "draft-mode": { "schema": { - "enum": ["visible", "unlinked", "gone"] + "enum": [ + "visible", + "unlinked", + "gone" + ] }, "description": { "short": "How to handle drafts that are encountered.", @@ -2705,7 +3036,10 @@ }, "author": { "maybeArrayOf": { - "anyOf": ["string", "object"], + "anyOf": [ + "string", + "object" + ], "description": "Author or authors of the book" } }, @@ -2765,13 +3099,21 @@ }, "sharing": { "maybeArrayOf": { - "enum": ["twitter", "facebook", "linkedin"], + "enum": [ + "twitter", + "facebook", + "linkedin" + ], "description": "Sharing buttons to include on navbar or sidebar\n(one or more of `twitter`, `facebook`, `linkedin`)\n" } }, "downloads": { "maybeArrayOf": { - "enum": ["pdf", "epub", "docx"], + "enum": [ + "pdf", + "epub", + "docx" + ], "description": "Download buttons for other formats to include on navbar or sidebar\n(one or more of `pdf`, `epub`, and `docx`)\n" } }, @@ -2786,7 +3128,9 @@ "doi": { "string": { "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "The Digital Object Identifier for this book." } @@ -2816,7 +3160,9 @@ "description": "Path to chapter input file" } }, - "required": ["part"] + "required": [ + "part" + ] } } ] @@ -2858,14 +3204,21 @@ } } }, - "required": ["text", "href"] + "required": [ + "text", + "href" + ] } } }, { "id": "crossref-labels-schema", "string": { - "completions": ["alpha", "arabic", "roman"] + "completions": [ + "alpha", + "arabic", + "roman" + ] } }, { @@ -2975,7 +3328,9 @@ "id": "website-about", "object": { "closed": true, - "required": ["template"], + "required": [ + "template" + ], "properties": { "id": { "string": { @@ -2988,7 +3343,13 @@ "template": { "anyOf": [ { - "enum": ["jolla", "trestles", "solana", "marquee", "broadside"] + "enum": [ + "jolla", + "trestles", + "solana", + "marquee", + "broadside" + ] }, "path" ], @@ -3024,7 +3385,11 @@ } }, "image-shape": { - "enum": ["rectangle", "round", "rounded"], + "enum": [ + "rectangle", + "round", + "rounded" + ], "description": { "short": "The shape of the image on the about page.", "long": "The shape of the image on the about page.\n\n- `rectangle`\n- `round`\n- `rounded`\n" @@ -3052,7 +3417,12 @@ } }, "type": { - "enum": ["default", "table", "grid", "custom"], + "enum": [ + "default", + "table", + "grid", + "custom" + ], "description": { "short": "The type of listing to create.", "long": "The type of listing to create. Choose one of:\n\n- `default`: A blog style list of items\n- `table`: A table of items\n- `grid`: A grid of item cards\n- `custom`: A custom template, provided by the `template` field\n" @@ -3119,7 +3489,11 @@ "anyOf": [ "boolean", { - "enum": ["numbered", "unnumbered", "cloud"] + "enum": [ + "numbered", + "unnumbered", + "cloud" + ] } ], "description": { @@ -3140,7 +3514,11 @@ } }, "type": { - "enum": ["full", "partial", "metadata"], + "enum": [ + "full", + "partial", + "metadata" + ], "description": { "short": "Whether to include full or partial content in the feed.", "long": "Whether to include full or partial content in the feed.\n\n- `full` (default): Include the complete content of the document in the feed.\n- `partial`: Include only the first paragraph of the document in the feed.\n- `metadata`: Use only the title, description, and other document metadata in the feed.\n" @@ -3224,7 +3602,10 @@ } }, "image-align": { - "enum": ["left", "right"], + "enum": [ + "left", + "right" + ], "description": "In `default` type listings, whether to place the image on the right or left side of the post content (`left` or `right`)." }, "image-height": { @@ -3252,7 +3633,11 @@ } }, "grid-item-align": { - "enum": ["left", "right", "center"], + "enum": [ + "left", + "right", + "center" + ], "description": { "short": "In `grid` type listings, the alignment of the content within the card.", "long": "In grid type listings, the alignment of the content within the card (`left` (default), `right`, or `center`).\n" @@ -3405,7 +3790,10 @@ }, { "id": "csl-number", - "anyOf": ["number", "string"] + "anyOf": [ + "number", + "string" + ] }, { "id": "csl-item-shared", @@ -3642,7 +4030,10 @@ "description": "Host of the item (e.g. of a TV show or podcast)." }, "id": { - "anyOf": ["string", "number"], + "anyOf": [ + "string", + "number" + ], "description": "A value which uniquely identifies this item." }, "illustrator": { @@ -4030,7 +4421,10 @@ } }, "id": { - "anyOf": ["string", "number"], + "anyOf": [ + "string", + "number" + ], "description": "Citation identifier for the item (e.g. \"item1\"). Will be autogenerated if not provided." } } @@ -4181,7 +4575,9 @@ "format": "string", "value": "string" }, - "required": ["value"] + "required": [ + "value" + ] } } ] @@ -4249,7 +4645,10 @@ }, "title": { "description": "The title of the notebook when viewed.", - "anyOf": ["string", "boolean"] + "anyOf": [ + "string", + "boolean" + ] }, "url": { "string": { @@ -4262,7 +4661,9 @@ } } }, - "required": ["notebook"] + "required": [ + "notebook" + ] } } }, @@ -4306,7 +4707,11 @@ } }, { - "enum": ["repo", "binder", "devcontainer"] + "enum": [ + "repo", + "binder", + "devcontainer" + ] } ] } @@ -4337,7 +4742,10 @@ } }, "meca-bundle": { - "anyOf": ["boolean", "string"], + "anyOf": [ + "boolean", + "string" + ], "description": "Whether to generate a MECA bundle for this manuscript" }, "notebooks": { @@ -4476,7 +4884,9 @@ "description": "Alternative text for the logo, used for accessibility.\n" } }, - "required": ["path"] + "required": [ + "path" + ] } }, { @@ -4530,7 +4940,11 @@ { "id": "brand-named-logo", "description": "Names of customizeable logos", - "enum": ["small", "medium", "large"] + "enum": [ + "small", + "medium", + "large" + ] }, { "id": "brand-color-value", @@ -4800,7 +5214,10 @@ { "id": "line-height-number-string", "description": "Line height", - "anyOf": ["number", "string"] + "anyOf": [ + "number", + "string" + ] }, { "id": "brand-typography-options-monospace-block", @@ -4857,7 +5274,11 @@ { "id": "brand-named-font", "description": "Names of customizeable fonts", - "enum": ["base", "headings", "monospace"] + "enum": [ + "base", + "headings", + "monospace" + ] }, { "id": "brand-font", @@ -4912,7 +5333,11 @@ { "id": "brand-font-style", "description": "A font style.", - "enum": ["normal", "italic", "oblique"], + "enum": [ + "normal", + "italic", + "oblique" + ], "default": "normal" }, { @@ -4930,18 +5355,30 @@ "maybeArrayOf": { "ref": "brand-font-weight" }, - "default": [400, 700] + "default": [ + 400, + 700 + ] }, "style": { "description": "The font styles to include.", "maybeArrayOf": { "ref": "brand-font-style" }, - "default": ["normal", "italic"] + "default": [ + "normal", + "italic" + ] }, "display": { "description": "The font display method, determines how a font face is font face is shown depending on its download status and readiness for use.\n", - "enum": ["auto", "block", "swap", "fallback", "optional"], + "enum": [ + "auto", + "block", + "swap", + "fallback", + "optional" + ], "default": "swap" } } @@ -4958,7 +5395,9 @@ "closed": true, "properties": { "source": { - "enum": ["system"] + "enum": [ + "system" + ] } } } @@ -4973,7 +5412,9 @@ "closed": true, "properties": { "source": { - "enum": ["google"] + "enum": [ + "google" + ] } } } @@ -4988,7 +5429,9 @@ "closed": true, "properties": { "source": { - "enum": ["bunny"] + "enum": [ + "bunny" + ] } } } @@ -5000,7 +5443,9 @@ "closed": true, "properties": { "source": { - "enum": ["file"] + "enum": [ + "file" + ] }, "family": { "description": "The font family name.", @@ -5025,7 +5470,9 @@ "ref": "brand-font-style" } }, - "required": ["path"] + "required": [ + "path" + ] } } } @@ -5034,7 +5481,11 @@ "description": "The font files to include. These can be local or online. Local file paths should be relative to the `brand.yml` file. Online paths should be complete URLs.\n" } }, - "required": ["files", "family", "source"] + "required": [ + "files", + "family", + "source" + ] } }, { @@ -5087,7 +5538,11 @@ "object": { "additionalProperties": { "schema": { - "anyOf": ["string", "boolean", "number"] + "anyOf": [ + "string", + "boolean", + "number" + ] } } } @@ -5101,12 +5556,20 @@ { "name": "about", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { "anyOf": [ { - "enum": ["jolla", "trestles", "solana", "marquee", "broadside"] + "enum": [ + "jolla", + "trestles", + "solana", + "marquee", + "broadside" + ] }, { "ref": "website-about" @@ -5129,7 +5592,14 @@ "name": "subtitle", "schema": "string", "tags": { - "formats": ["$pdf-all", "$html-all", "context", "muse", "odt", "docx"] + "formats": [ + "$pdf-all", + "$html-all", + "context", + "muse", + "odt", + "docx" + ] }, "description": "Identifies the subtitle of the document." }, @@ -5143,7 +5613,9 @@ { "name": "date-modified", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { "ref": "date" @@ -5154,7 +5626,10 @@ "name": "author", "schema": { "maybeArrayOf": { - "anyOf": ["object", "string"] + "anyOf": [ + "object", + "string" + ] } }, "description": "Author or authors of the document" @@ -5163,11 +5638,16 @@ "name": "affiliation", "schema": { "maybeArrayOf": { - "anyOf": ["object", "string"] + "anyOf": [ + "object", + "string" + ] } }, "tags": { - "formats": ["$jats-all"] + "formats": [ + "$jats-all" + ] }, "description": { "short": "The list of organizations with which contributors are affiliated.", @@ -5178,7 +5658,9 @@ "name": "copyright", "schema": "object", "tags": { - "formats": ["$jats-all"] + "formats": [ + "$jats-all" + ] }, "description": { "short": "Licensing and copyright information.", @@ -5189,7 +5671,9 @@ "name": "article", "schema": "object", "tags": { - "formats": ["$jats-all"] + "formats": [ + "$jats-all" + ] }, "description": { "short": "Information concerning the article that identifies or describes it.", @@ -5200,7 +5684,9 @@ "name": "journal", "schema": "object", "tags": { - "formats": ["$jats-all"] + "formats": [ + "$jats-all" + ] }, "description": { "short": "Information on the journal in which the article is published.", @@ -5211,11 +5697,17 @@ "name": "institute", "schema": { "maybeArrayOf": { - "anyOf": ["object", "string"] + "anyOf": [ + "object", + "string" + ] } }, "tags": { - "formats": ["$html-pres", "beamer"] + "formats": [ + "$html-pres", + "beamer" + ] }, "description": "Author affiliations for the presentation." }, @@ -5241,7 +5733,12 @@ "name": "abstract-title", "schema": "string", "tags": { - "formats": ["$html-doc", "$epub-all", "docx", "typst"] + "formats": [ + "$html-doc", + "$epub-all", + "docx", + "typst" + ] }, "description": "Title used to label document abstract" }, @@ -5249,7 +5746,9 @@ "name": "notes", "schema": "string", "tags": { - "formats": ["$jats-all"] + "formats": [ + "$jats-all" + ] }, "description": "Additional notes concerning the whole article. Added to the\narticle's frontmatter via the [``](https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/notes.html) element.\n" }, @@ -5259,7 +5758,9 @@ "arrayOf": "string" }, "tags": { - "formats": ["$jats-all"] + "formats": [ + "$jats-all" + ] }, "description": "List of keywords. Items are used as contents of the [``](https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/kwd.html) element; the elements are grouped in a [``](https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/kwd-group.html) with the [`kwd-group-type`](https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/kwd-group-type.html) value `author`." }, @@ -5267,7 +5768,9 @@ "name": "doi", "schema": "string", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "Displays the document Digital Object Identifier in the header." }, @@ -5275,7 +5778,9 @@ "name": "thanks", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": "The contents of an acknowledgments footnote after the document title." }, @@ -5308,13 +5813,17 @@ "schema": { "anyOf": [ { - "enum": ["hover"] + "enum": [ + "hover" + ] }, "boolean" ] }, "tags": { - "formats": ["$html-all"] + "formats": [ + "$html-all" + ] }, "default": "hover", "description": { @@ -5327,7 +5836,9 @@ "schema": "boolean", "tags": { "engine": "knitr", - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "default": false, "description": { @@ -5341,7 +5852,12 @@ "anyOf": [ "boolean", { - "enum": ["hover", "select", "below", "none"] + "enum": [ + "hover", + "select", + "below", + "none" + ] } ] }, @@ -5354,7 +5870,9 @@ { "name": "code-tools", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { "anyOf": [ @@ -5364,7 +5882,10 @@ "closed": true, "properties": { "source": { - "anyOf": ["boolean", "string"] + "anyOf": [ + "boolean", + "string" + ] }, "toggle": "boolean", "caption": "string" @@ -5382,10 +5903,16 @@ { "name": "code-block-border-left", "tags": { - "formats": ["$html-doc", "$pdf-all"] + "formats": [ + "$html-doc", + "$pdf-all" + ] }, "schema": { - "anyOf": ["string", "boolean"] + "anyOf": [ + "string", + "boolean" + ] }, "description": { "short": "Show a thick left border on code blocks.", @@ -5395,10 +5922,16 @@ { "name": "code-block-bg", "tags": { - "formats": ["$html-doc", "$pdf-all"] + "formats": [ + "$html-doc", + "$pdf-all" + ] }, "schema": { - "anyOf": ["string", "boolean"] + "anyOf": [ + "string", + "boolean" + ] }, "description": { "short": "Show a background color for code blocks.", @@ -5408,7 +5941,12 @@ { "name": "highlight-style", "tags": { - "formats": ["$html-all", "docx", "ms", "$pdf-all"] + "formats": [ + "$html-all", + "docx", + "ms", + "$pdf-all" + ] }, "schema": { "anyOf": [ @@ -5460,7 +5998,12 @@ { "name": "syntax-definition", "tags": { - "formats": ["$html-all", "docx", "ms", "$pdf-all"] + "formats": [ + "$html-all", + "docx", + "ms", + "$pdf-all" + ] }, "schema": "path", "hidden": true, @@ -5469,7 +6012,12 @@ { "name": "syntax-definitions", "tags": { - "formats": ["$html-all", "docx", "ms", "$pdf-all"] + "formats": [ + "$html-all", + "docx", + "ms", + "$pdf-all" + ] }, "schema": { "arrayOf": "path" @@ -5479,7 +6027,9 @@ { "name": "listings", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "schema": "boolean", "description": { @@ -5490,7 +6040,12 @@ { "name": "indented-code-classes", "tags": { - "formats": ["$html-all", "docx", "ms", "$pdf-all"] + "formats": [ + "$html-all", + "docx", + "ms", + "$pdf-all" + ] }, "schema": { "arrayOf": "string" @@ -5503,7 +6058,9 @@ "name": "fontcolor", "schema": "string", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "Sets the CSS `color` property." }, @@ -5511,7 +6068,11 @@ "name": "linkcolor", "schema": "string", "tags": { - "formats": ["$html-doc", "context", "$pdf-all"] + "formats": [ + "$html-doc", + "context", + "$pdf-all" + ] }, "description": { "short": "Sets the color of hyperlinks in the document.", @@ -5538,7 +6099,9 @@ "name": "backgroundcolor", "schema": "string", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "Sets the CSS `background-color` property on the html element.\n" }, @@ -5546,7 +6109,9 @@ "name": "filecolor", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "The color used for external links using color options allowed by `xcolor`", @@ -5557,7 +6122,9 @@ "name": "citecolor", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "The color used for citation links using color options allowed by `xcolor`", @@ -5568,7 +6135,9 @@ "name": "urlcolor", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "The color used for linked URLs using color options allowed by `xcolor`", @@ -5579,7 +6148,9 @@ "name": "toccolor", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "The color used for links in the Table of Contents using color options allowed by `xcolor`", @@ -5590,7 +6161,9 @@ "name": "colorlinks", "schema": "boolean", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "default": true, "description": "Add color to link text, automatically enabled if any of \n`linkcolor`, `filecolor`, `citecolor`, `urlcolor`, or `toccolor` are set.\n" @@ -5599,7 +6172,9 @@ "name": "contrastcolor", "schema": "string", "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": { "short": "Color for links to other content within the document.", @@ -5611,7 +6186,9 @@ { "name": "comments", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "schema": { "ref": "comments" @@ -5629,7 +6206,9 @@ "schema": { "anyOf": [ { - "enum": [false] + "enum": [ + false + ] }, { "object": { @@ -5640,10 +6219,16 @@ "object": { "description": "A custom cross reference type. See [Custom](https://quarto.org/docs/reference/metadata/crossref.html#custom) for more details.", "closed": true, - "required": ["kind", "reference-prefix", "key"], + "required": [ + "kind", + "reference-prefix", + "key" + ], "properties": { "kind": { - "enum": ["float"], + "enum": [ + "float" + ], "description": "The kind of cross reference (currently only \"float\" is supported)." }, "reference-prefix": { @@ -5683,7 +6268,11 @@ } }, "caption-location": { - "enum": ["top", "bottom", "margin"], + "enum": [ + "top", + "bottom", + "margin" + ], "default": "bottom", "description": "The location of the caption relative to the crossreferenceable content." } @@ -5928,7 +6517,9 @@ "name": "crossrefs-hover", "schema": "boolean", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "default": true, "description": "Enables a hover popup for cross references that shows the item being referenced." @@ -5938,7 +6529,9 @@ { "name": "logo", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": "path", "description": "Logo image (placed on the left side of the navigation bar)" @@ -5946,17 +6539,24 @@ { "name": "orientation", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": { - "enum": ["rows", "columns"] + "enum": [ + "rows", + "columns" + ] }, "description": "Default orientation for dashboard content (default `rows`)" }, { "name": "scrolling", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": "boolean", "default": false, @@ -5965,7 +6565,9 @@ { "name": "expandable", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": "boolean", "default": true, @@ -5974,7 +6576,9 @@ { "name": "nav-buttons", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": { "maybeArrayOf": { @@ -6005,14 +6609,20 @@ "schema": { "anyOf": [ { - "enum": ["source", "visual"] + "enum": [ + "source", + "visual" + ] }, { "object": { "hidden": true, "properties": { "mode": { - "enum": ["source", "visual"], + "enum": [ + "source", + "visual" + ], "description": "Default editing mode for document" }, "markdown": { @@ -6021,7 +6631,10 @@ "wrap": { "anyOf": [ { - "enum": ["sentence", "none"] + "enum": [ + "sentence", + "none" + ] }, "number" ], @@ -6037,7 +6650,11 @@ "properties": { "location": { "schema": { - "enum": ["block", "section", "document"], + "enum": [ + "block", + "section", + "document" + ], "description": "Location to write references (`block`, `section`, or `document`)" } }, @@ -6061,7 +6678,9 @@ }, "render-on-save": { "tags": { - "engine": ["jupyter"] + "engine": [ + "jupyter" + ] }, "schema": "boolean", "description": "Automatically re-render for preview whenever document is saved (note that this requires a preview\nfor the saved document be already running). This option currently works only within VS Code.\n" @@ -6090,7 +6709,9 @@ { "name": "identifier", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": { "anyOf": [ @@ -6134,7 +6755,9 @@ { "name": "creator", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": { "ref": "epub-contributor" @@ -6144,7 +6767,9 @@ { "name": "contributor", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": { "ref": "epub-contributor" @@ -6154,7 +6779,9 @@ { "name": "subject", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": { "anyOf": [ @@ -6188,7 +6815,9 @@ { "name": "type", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": "string", "description": { @@ -6199,7 +6828,9 @@ { "name": "format", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": "string", "description": "Text describing the format of this publication." @@ -6207,7 +6838,9 @@ { "name": "relation", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": "string", "description": "Text describing the relation of this publication." @@ -6215,7 +6848,9 @@ { "name": "coverage", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": "string", "description": "Text describing the coverage of this publication." @@ -6223,7 +6858,9 @@ { "name": "rights", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": "string", "description": "Text describing the rights of this publication." @@ -6231,7 +6868,9 @@ { "name": "belongs-to-collection", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": "string", "description": "Identifies the name of a collection to which the EPUB Publication belongs." @@ -6239,7 +6878,9 @@ { "name": "group-position", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": "number", "description": "Indicates the numeric position in which this publication \nbelongs relative to other works belonging to the same \n`belongs-to-collection` field.\n" @@ -6247,10 +6888,15 @@ { "name": "page-progression-direction", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": { - "enum": ["ltr", "rtl"] + "enum": [ + "ltr", + "rtl" + ] }, "description": "Sets the global direction in which content flows (`ltr` or `rtl`)" }, @@ -6258,7 +6904,9 @@ "name": "ibooks", "description": "iBooks specific metadata options.", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": { "object": { @@ -6275,7 +6923,11 @@ } }, "scroll-axis": { - "enum": ["vertical", "horizontal", "default"], + "enum": [ + "vertical", + "horizontal", + "default" + ], "description": "The scroll direction for this book (`vertical`, `horizontal`, or `default`)" } } @@ -6285,7 +6937,9 @@ { "name": "epub-metadata", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": "path", "description": { @@ -6296,10 +6950,15 @@ { "name": "epub-subdirectory", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": { - "anyOf": ["path", null] + "anyOf": [ + "path", + null + ] }, "default": "EPUB", "description": "Specify the subdirectory in the OCF container that is to hold the\nEPUB-specific contents. The default is `EPUB`. To put the EPUB \ncontents in the top level, use an empty string.\n" @@ -6307,7 +6966,9 @@ { "name": "epub-fonts", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": { "arrayOf": "path" @@ -6320,7 +6981,9 @@ { "name": "epub-chapter-level", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": "number", "default": 1, @@ -6332,7 +6995,9 @@ { "name": "epub-cover-image", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": "path", "description": "Use the specified image as the EPUB cover. It is recommended\nthat the image be less than 1000px in width and height.\n" @@ -6342,7 +7007,9 @@ "schema": "boolean", "default": true, "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "description": "If false, disables the generation of a title page." } @@ -6352,7 +7019,10 @@ "name": "engine", "schema": { "string": { - "completions": ["jupyter", "knitr"] + "completions": [ + "jupyter", + "knitr" + ] } }, "description": "Engine used for executable code blocks." @@ -6453,7 +7123,9 @@ "anyOf": [ "boolean", { - "enum": ["refresh"] + "enum": [ + "refresh" + ] } ] }, @@ -6472,7 +7144,9 @@ "anyOf": [ "boolean", { - "enum": ["auto"] + "enum": [ + "auto" + ] } ] }, @@ -6488,13 +7162,17 @@ "schema": { "anyOf": [ { - "enum": ["shiny"] + "enum": [ + "shiny" + ] }, { "object": { "properties": { "type": { - "enum": ["shiny"], + "enum": [ + "shiny" + ], "description": "Type of server to run behind the document (e.g. `shiny`)" }, "ojs-export": { @@ -6516,7 +7194,10 @@ "name": "daemon", "hidden": true, "schema": { - "anyOf": ["number", "boolean"] + "anyOf": [ + "number", + "boolean" + ] }, "default": 300, "description": { @@ -6573,7 +7254,13 @@ { "name": "fig-format", "schema": { - "enum": ["retina", "png", "jpeg", "svg", "pdf"] + "enum": [ + "retina", + "png", + "jpeg", + "svg", + "pdf" + ] }, "description": "Default format for figures generated by Matplotlib or R graphics (`retina`, `png`, `jpeg`, `svg`, or `pdf`)" }, @@ -6599,7 +7286,9 @@ { "name": "fig-responsive", "tags": { - "formats": ["$html-all"] + "formats": [ + "$html-all" + ] }, "schema": "boolean", "default": true, @@ -6611,7 +7300,12 @@ "name": "mainfont", "schema": "string", "tags": { - "formats": ["$html-doc", "context", "$pdf-all", "typst"] + "formats": [ + "$html-doc", + "context", + "$pdf-all", + "typst" + ] }, "description": { "short": "Sets the main font for the document.", @@ -6622,7 +7316,11 @@ "name": "monofont", "schema": "string", "tags": { - "formats": ["$html-doc", "context", "$pdf-all"] + "formats": [ + "$html-doc", + "context", + "$pdf-all" + ] }, "description": { "short": "Sets the font used for when displaying code.", @@ -6633,7 +7331,12 @@ "name": "fontsize", "schema": "string", "tags": { - "formats": ["$html-doc", "context", "$pdf-all", "typst"] + "formats": [ + "$html-doc", + "context", + "$pdf-all", + "typst" + ] }, "description": { "short": "Sets the main font size for the document.", @@ -6644,7 +7347,9 @@ "name": "fontenc", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "default": "T1", "description": { @@ -6656,7 +7361,10 @@ "name": "fontfamily", "schema": "string", "tags": { - "formats": ["$pdf-all", "ms"] + "formats": [ + "$pdf-all", + "ms" + ] }, "default": "Latin Modern", "description": { @@ -6670,7 +7378,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "Options for the package used as `fontfamily`.", @@ -6681,7 +7391,9 @@ "name": "sansfont", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "The sans serif font family for use with `xelatex` or `lualatex`.", @@ -6692,7 +7404,9 @@ "name": "mathfont", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "The math font family for use with `xelatex` or `lualatex`.", @@ -6703,7 +7417,9 @@ "name": "CJKmainfont", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "The CJK main font family for use with `xelatex` or `lualatex`.", @@ -6716,7 +7432,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "The main font options for use with `xelatex` or `lualatex`.", @@ -6729,7 +7447,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "The sans serif font options for use with `xelatex` or `lualatex`.", @@ -6742,7 +7462,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "The monospace font options for use with `xelatex` or `lualatex`.", @@ -6755,7 +7477,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "The math font options for use with `xelatex` or `lualatex`.", @@ -6768,7 +7492,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["typst"] + "formats": [ + "typst" + ] }, "description": { "short": "Adds additional directories to search for fonts when compiling with Typst.", @@ -6781,8 +7507,10 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$pdf-all"] - }, + "formats": [ + "$pdf-all" + ] + }, "description": { "short": "The CJK font options for use with `xelatex` or `lualatex`.", "long": "The CJK font options for use with `xelatex` or `lualatex` allowing\nany options available through [`fontspec`](https://ctan.org/pkg/fontspec).\n" @@ -6794,7 +7522,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "Options to pass to the microtype package.", @@ -6805,7 +7535,9 @@ "name": "pointsize", "schema": "string", "tags": { - "formats": ["ms"] + "formats": [ + "ms" + ] }, "description": "The point size, for example, `10p`." }, @@ -6813,17 +7545,26 @@ "name": "lineheight", "schema": "string", "tags": { - "formats": ["ms"] + "formats": [ + "ms" + ] }, "description": "The line height, for example, `12p`." }, { "name": "linestretch", "schema": { - "anyOf": ["string", "number"] + "anyOf": [ + "string", + "number" + ] }, "tags": { - "formats": ["$html-doc", "context", "$pdf-all"] + "formats": [ + "$html-doc", + "context", + "$pdf-all" + ] }, "description": { "short": "Sets the line height or spacing for text in the document.", @@ -6836,7 +7577,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": "Adjusts line spacing using the `\\setupinterlinespace` command." }, @@ -6856,7 +7599,9 @@ } }, "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": "The typeface style for links in the document." }, @@ -6864,7 +7609,9 @@ "name": "whitespace", "schema": "string", "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": { "short": "Set the spacing between paragraphs, for example `none`, `small.", @@ -6877,7 +7624,9 @@ "name": "footnotes-hover", "schema": "boolean", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "default": true, "description": "Enables a hover popup for footnotes that shows the footnote contents." @@ -6886,7 +7635,9 @@ "name": "links-as-notes", "schema": "boolean", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "default": false, "description": "Causes links to be printed as footnotes." @@ -6894,10 +7645,20 @@ { "name": "reference-location", "tags": { - "formats": ["$markdown-all", "muse", "$html-files", "pdf"] + "formats": [ + "$markdown-all", + "muse", + "$html-files", + "pdf" + ] }, "schema": { - "enum": ["block", "section", "margin", "document"] + "enum": [ + "block", + "section", + "margin", + "document" + ] }, "default": "document", "description": { @@ -6929,7 +7690,9 @@ } }, "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": { "short": "Set the indentation of paragraphs with one or more options.", @@ -6939,10 +7702,17 @@ { "name": "adjusting", "schema": { - "enum": ["l", "r", "c", "b"] + "enum": [ + "l", + "r", + "c", + "b" + ] }, "tags": { - "formats": ["man"] + "formats": [ + "man" + ] }, "description": "Adjusts text to the left, right, center, or both margins (`l`, `r`, `c`, or `b`)." }, @@ -6951,7 +7721,9 @@ "schema": "boolean", "default": true, "tags": { - "formats": ["man"] + "formats": [ + "man" + ] }, "description": { "short": "Whether to hyphenate text at line breaks even in words that do not contain hyphens.", @@ -6963,14 +7735,19 @@ "schema": "boolean", "default": false, "tags": { - "formats": ["rst"] + "formats": [ + "rst" + ] }, "description": "If true, tables are formatted as RST list tables." }, { "name": "split-level", "tags": { - "formats": ["$epub-all", "chunkedhtml"] + "formats": [ + "$epub-all", + "chunkedhtml" + ] }, "schema": "number", "default": 1, @@ -7081,7 +7858,10 @@ "closed": true, "properties": { "institution": { - "anyOf": ["string", "object"], + "anyOf": [ + "string", + "object" + ], "description": "The institution that was the recipient of the funding." } } @@ -7124,7 +7904,10 @@ "closed": true, "properties": { "institution": { - "anyOf": ["string", "object"], + "anyOf": [ + "string", + "object" + ], "description": "The institution that was responsible for the intellectual content of the work reported in the document." } } @@ -7243,7 +8026,11 @@ { "name": "verbosity", "schema": { - "enum": ["ERROR", "WARNING", "INFO"] + "enum": [ + "ERROR", + "WARNING", + "INFO" + ] }, "default": "WARNING", "hidden": true, @@ -7258,11 +8045,17 @@ { "name": "track-changes", "tags": { - "formats": ["docx"] + "formats": [ + "docx" + ] }, "hidden": true, "schema": { - "enum": ["accept", "reject", "all"] + "enum": [ + "accept", + "reject", + "all" + ] }, "default": "accept", "description": { @@ -7273,7 +8066,9 @@ { "name": "keep-source", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": "boolean", "default": false, @@ -7286,7 +8081,9 @@ { "name": "keep-hidden", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": "boolean", "default": false, @@ -7296,7 +8093,9 @@ { "name": "prefer-html", "tags": { - "formats": ["$markdown-all"] + "formats": [ + "$markdown-all" + ] }, "schema": "boolean", "default": false, @@ -7324,7 +8123,11 @@ "schema/document-includes.yml": [ { "name": "header-includes", - "disabled": ["$office-all", "$jats-all", "ipynb"], + "disabled": [ + "$office-all", + "$jats-all", + "ipynb" + ], "hidden": true, "schema": { "maybeArrayOf": "string" @@ -7333,7 +8136,11 @@ }, { "name": "include-before", - "disabled": ["$office-all", "$jats-all", "ipynb"], + "disabled": [ + "$office-all", + "$jats-all", + "ipynb" + ], "hidden": true, "schema": { "maybeArrayOf": "string" @@ -7342,7 +8149,11 @@ }, { "name": "include-after", - "disabled": ["$office-all", "$jats-all", "ipynb"], + "disabled": [ + "$office-all", + "$jats-all", + "ipynb" + ], "hidden": true, "schema": { "maybeArrayOf": "string" @@ -7351,7 +8162,11 @@ }, { "name": "include-before-body", - "disabled": ["$office-all", "$jats-all", "ipynb"], + "disabled": [ + "$office-all", + "$jats-all", + "ipynb" + ], "schema": { "maybeArrayOf": { "anyOf": [ @@ -7366,7 +8181,11 @@ }, { "name": "include-after-body", - "disabled": ["$office-all", "$jats-all", "ipynb"], + "disabled": [ + "$office-all", + "$jats-all", + "ipynb" + ], "schema": { "maybeArrayOf": { "anyOf": [ @@ -7381,7 +8200,11 @@ }, { "name": "include-in-header", - "disabled": ["$office-all", "$jats-all", "ipynb"], + "disabled": [ + "$office-all", + "$jats-all", + "ipynb" + ], "schema": { "maybeArrayOf": { "anyOf": [ @@ -7400,7 +8223,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$html-all"] + "formats": [ + "$html-all" + ] }, "description": "Path (or glob) to files to publish with this document." }, @@ -7410,7 +8235,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": { "short": "Text to be in a running header.", @@ -7423,7 +8250,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": { "short": "Text to be in a running footer.", @@ -7434,7 +8263,9 @@ "name": "includesource", "schema": "boolean", "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "default": false, "description": "Whether to include all source documents as file attachments in the PDF file." @@ -7443,7 +8274,9 @@ "name": "footer", "schema": "string", "tags": { - "formats": ["man"] + "formats": [ + "man" + ] }, "description": "The footer for man pages." }, @@ -7451,7 +8284,9 @@ "name": "header", "schema": "string", "tags": { - "formats": ["man"] + "formats": [ + "man" + ] }, "description": "The header for man pages." }, @@ -7487,14 +8322,20 @@ { "name": "language", "schema": { - "anyOf": ["path", "object"] + "anyOf": [ + "path", + "object" + ] }, "description": "YAML file containing custom language translations" }, { "name": "dir", "schema": { - "enum": ["rtl", "ltr"] + "enum": [ + "rtl", + "ltr" + ] }, "description": { "short": "The base script direction for the document (`rtl` or `ltr`).", @@ -7506,7 +8347,10 @@ { "name": "latex-auto-mk", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": "boolean", "default": true, @@ -7518,7 +8362,10 @@ { "name": "latex-auto-install", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": "boolean", "default": true, @@ -7527,7 +8374,10 @@ { "name": "latex-min-runs", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": "number", "default": 1, @@ -7536,7 +8386,10 @@ { "name": "latex-max-runs", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": "number", "default": 10, @@ -7545,7 +8398,10 @@ { "name": "latex-clean", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": "boolean", "default": true, @@ -7554,7 +8410,10 @@ { "name": "latex-makeindex", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": "string", "default": "makeindex", @@ -7563,7 +8422,10 @@ { "name": "latex-makeindex-opts", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": { "arrayOf": "string" @@ -7573,7 +8435,10 @@ { "name": "latex-tlmgr-opts", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": { "arrayOf": "string" @@ -7583,7 +8448,10 @@ { "name": "latex-output-dir", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": "string", "description": "Output directory for intermediates and PDF." @@ -7591,7 +8459,10 @@ { "name": "latex-tinytex", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": "boolean", "description": "Set to `false` to prevent an installation of TinyTex from being used to compile PDF documents." @@ -7599,7 +8470,10 @@ { "name": "latex-input-paths", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": { "arrayOf": "string" @@ -7625,7 +8499,9 @@ } }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "default": "scrartcl", "description": "The document class." @@ -7636,7 +8512,10 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$html-files", "$pdf-all"] + "formats": [ + "$html-files", + "$pdf-all" + ] }, "description": { "short": "Options for the document class,", @@ -7647,11 +8526,17 @@ "name": "pagestyle", "schema": { "string": { - "completions": ["plain", "empty", "headings"] + "completions": [ + "plain", + "empty", + "headings" + ] } }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "default": "plain", "description": "Control the `\\pagestyle{}` for the document." @@ -7660,7 +8545,10 @@ "name": "papersize", "schema": "string", "tags": { - "formats": ["$pdf-all", "typst"] + "formats": [ + "$pdf-all", + "typst" + ] }, "description": "The paper size for the document.\n" }, @@ -7670,7 +8558,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": { "short": "The options for margins and text layout for this document.", @@ -7680,18 +8570,27 @@ { "name": "page-layout", "schema": { - "enum": ["article", "full", "custom"] + "enum": [ + "article", + "full", + "custom" + ] }, "default": "article", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "The page layout to use for this document (`article`, `full`, or `custom`)" }, { "name": "page-width", "tags": { - "formats": ["docx", "$odt-all"] + "formats": [ + "docx", + "$odt-all" + ] }, "schema": "number", "description": { @@ -7706,7 +8605,12 @@ "closed": true, "properties": { "content-mode": { - "enum": ["auto", "standard", "full", "slim"], + "enum": [ + "auto", + "standard", + "full", + "slim" + ], "description": "Defines whether to use the standard, slim, or full content grid or to automatically select the most appropriate content grid." }, "sidebar-width": { @@ -7741,13 +8645,19 @@ "schema": { "anyOf": [ { - "enum": ["default", "plain", "none"] + "enum": [ + "default", + "plain", + "none" + ] } ] }, "default": "default", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": { "short": "The layout of the appendix for this document (`none`, `plain`, or `default`)", @@ -7761,13 +8671,18 @@ "boolean", { "maybeArrayOf": { - "enum": ["display", "bibtex"] + "enum": [ + "display", + "bibtex" + ] } } ] }, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": { "short": "Controls the formats which are provided in the citation section of the appendix (`false`, `display`, or `bibtex`).", @@ -7779,13 +8694,20 @@ "schema": { "anyOf": [ { - "enum": ["default", "plain", "manuscript", "none"] + "enum": [ + "default", + "plain", + "manuscript", + "none" + ] } ] }, "default": "default", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": { "short": "The layout of the title block for this document (`none`, `plain`, or `default`).", @@ -7795,10 +8717,15 @@ { "name": "title-block-banner", "schema": { - "anyOf": ["string", "boolean"] + "anyOf": [ + "string", + "boolean" + ] }, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": { "short": "Apply a banner style treatment to the title block.", @@ -7809,7 +8736,9 @@ "name": "title-block-banner-color", "schema": "string", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": { "short": "Sets the color of text elements in a banner style title block.", @@ -7821,7 +8750,9 @@ "schema": "boolean", "default": true, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": { "short": "Enables or disables the display of categories in the title block." @@ -7831,7 +8762,9 @@ "name": "max-width", "schema": "string", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "description": "Adds a css `max-width` to the body Element." }, @@ -7839,7 +8772,11 @@ "name": "margin-left", "schema": "string", "tags": { - "formats": ["$html-files", "context", "$pdf-all"] + "formats": [ + "$html-files", + "context", + "$pdf-all" + ] }, "description": { "short": "Sets the left margin of the document.", @@ -7850,7 +8787,11 @@ "name": "margin-right", "schema": "string", "tags": { - "formats": ["$html-files", "context", "$pdf-all"] + "formats": [ + "$html-files", + "context", + "$pdf-all" + ] }, "description": { "short": "Sets the right margin of the document.", @@ -7861,7 +8802,11 @@ "name": "margin-top", "schema": "string", "tags": { - "formats": ["$html-files", "context", "$pdf-all"] + "formats": [ + "$html-files", + "context", + "$pdf-all" + ] }, "description": { "short": "Sets the top margin of the document.", @@ -7872,7 +8817,11 @@ "name": "margin-bottom", "schema": "string", "tags": { - "formats": ["$html-files", "context", "$pdf-all"] + "formats": [ + "$html-files", + "context", + "$pdf-all" + ] }, "description": { "short": "Sets the bottom margin of the document.", @@ -7885,7 +8834,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "Options for the geometry package.", @@ -7898,7 +8849,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "Additional non-color options for the hyperref package.", @@ -7908,10 +8861,16 @@ { "name": "indent", "schema": { - "anyOf": ["boolean", "string"] + "anyOf": [ + "boolean", + "string" + ] }, "tags": { - "formats": ["$pdf-all", "ms"] + "formats": [ + "$pdf-all", + "ms" + ] }, "default": false, "description": { @@ -7923,7 +8882,9 @@ "name": "block-headings", "schema": "boolean", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "Make `\\paragraph` and `\\subparagraph` free-standing rather than run-in.", @@ -7936,7 +8897,9 @@ "name": "revealjs-url", "schema": "path", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "description": "Directory containing reveal.js files." }, @@ -7944,7 +8907,9 @@ "name": "s5-url", "schema": "string", "tags": { - "formats": ["s5"] + "formats": [ + "s5" + ] }, "description": "The base url for s5 presentations." }, @@ -7952,7 +8917,9 @@ "name": "slidy-url", "schema": "string", "tags": { - "formats": ["slidy"] + "formats": [ + "slidy" + ] }, "description": "The base url for Slidy presentations." }, @@ -7960,7 +8927,9 @@ "name": "slideous-url", "schema": "string", "tags": { - "formats": ["slideous"] + "formats": [ + "slideous" + ] }, "description": "The base url for Slideous presentations." } @@ -7972,7 +8941,9 @@ "anyOf": [ "boolean", { - "enum": ["auto"] + "enum": [ + "auto" + ] }, { "object": { @@ -7980,7 +8951,9 @@ "properties": { "match": { "schema": { - "enum": ["auto"] + "enum": [ + "auto" + ] }, "description": { "short": "Set this to `auto` if you'd like any image to be given lightbox treatment.", @@ -7989,13 +8962,22 @@ }, "effect": { "schema": { - "enum": ["fade", "zoom", "none"] + "enum": [ + "fade", + "zoom", + "none" + ] }, "description": "The effect that should be used when opening and closing the lightbox. One of `fade`, `zoom`, `none`. Defaults to `zoom`." }, "desc-position": { "schema": { - "enum": ["top", "bottom", "left", "right"] + "enum": [ + "top", + "bottom", + "left", + "right" + ] }, "description": "The position of the title and description when displaying a lightbox. One of `top`, `bottom`, `left`, `right`. Defaults to `bottom`." }, @@ -8015,7 +8997,9 @@ ] }, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "Enable or disable lightbox treatment for images in this document. See [Lightbox Figures](https://quarto.org/docs/output-formats/html-lightbox-figures.html) for more details." } @@ -8024,7 +9008,10 @@ { "name": "link-external-icon", "tags": { - "formats": ["$html-doc", "revealjs"] + "formats": [ + "$html-doc", + "revealjs" + ] }, "schema": "boolean", "description": "Show a special icon next to links that leave the current site." @@ -8032,7 +9019,10 @@ { "name": "link-external-newwindow", "tags": { - "formats": ["$html-doc", "revealjs"] + "formats": [ + "$html-doc", + "revealjs" + ] }, "schema": "boolean", "description": "Open external links in a new browser window or tab (rather than navigating the current tab)." @@ -8040,7 +9030,10 @@ { "name": "link-external-filter", "tags": { - "formats": ["$html-doc", "revealjs"] + "formats": [ + "$html-doc", + "revealjs" + ] }, "schema": "string", "description": { @@ -8051,7 +9044,9 @@ { "name": "format-links", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { "anyOf": [ @@ -8079,7 +9074,10 @@ } } }, - "required": ["text", "href"] + "required": [ + "text", + "href" + ] } }, { @@ -8101,7 +9099,10 @@ } } }, - "required": ["text", "format"] + "required": [ + "text", + "format" + ] } } ] @@ -8117,13 +9118,18 @@ { "name": "notebook-links", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { "anyOf": [ "boolean", { - "enum": ["inline", "global"] + "enum": [ + "inline", + "global" + ] } ] }, @@ -8135,12 +9141,16 @@ { "name": "other-links", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { "anyOf": [ { - "enum": [false] + "enum": [ + false + ] }, { "ref": "other-links" @@ -8152,12 +9162,16 @@ { "name": "code-links", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { "anyOf": [ { - "enum": [false] + "enum": [ + false + ] }, { "ref": "code-links-schema" @@ -8169,7 +9183,9 @@ { "name": "notebook-subarticles", "tags": { - "formats": ["$jats-all"] + "formats": [ + "$jats-all" + ] }, "schema": "boolean", "description": { @@ -8180,7 +9196,9 @@ { "name": "notebook-view", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { "anyOf": [ @@ -8202,10 +9220,15 @@ { "name": "notebook-view-style", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { - "enum": ["document", "notebook"] + "enum": [ + "document", + "notebook" + ] }, "hidden": true, "description": "The style of document to render. Setting this to `notebook` will create additional notebook style affordances." @@ -8213,7 +9236,9 @@ { "name": "notebook-preview-options", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { "object": { @@ -8231,10 +9256,15 @@ { "name": "canonical-url", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { - "anyOf": ["boolean", "string"] + "anyOf": [ + "boolean", + "string" + ] }, "description": { "short": "Include a canonical link tag in website pages", @@ -8246,7 +9276,9 @@ { "name": "listing", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { "anyOf": [ @@ -8270,13 +9302,20 @@ { "name": "mermaid", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "schema": { "object": { "properties": { "theme": { - "enum": ["default", "dark", "forest", "neutral"], + "enum": [ + "default", + "dark", + "forest", + "neutral" + ], "description": "The mermaid built-in theme to use." } } @@ -8307,7 +9346,11 @@ "name": "subject", "schema": "string", "tags": { - "formats": ["$pdf-all", "$office-all", "odt"] + "formats": [ + "$pdf-all", + "$office-all", + "odt" + ] }, "description": "The document subject" }, @@ -8315,7 +9358,10 @@ "name": "description", "schema": "string", "tags": { - "formats": ["odt", "$office-all"] + "formats": [ + "odt", + "$office-all" + ] }, "description": "The document description. Some applications show this as `Comments` metadata." }, @@ -8323,7 +9369,9 @@ "name": "category", "schema": "string", "tags": { - "formats": ["$office-all"] + "formats": [ + "$office-all" + ] }, "description": "The document category." }, @@ -8336,7 +9384,10 @@ "properties": { "year": { "maybeArrayOf": { - "anyOf": ["string", "number"] + "anyOf": [ + "string", + "number" + ] }, "description": "The year for this copyright" }, @@ -8361,7 +9412,10 @@ ] }, "tags": { - "formats": ["$html-doc", "$jats-all"] + "formats": [ + "$html-doc", + "$jats-all" + ] }, "description": "The copyright for this document, if any." }, @@ -8396,7 +9450,10 @@ } }, "tags": { - "formats": ["$html-doc", "$jats-all"] + "formats": [ + "$html-doc", + "$jats-all" + ] }, "description": { "short": "The License for this document, if any. (e.g. `CC BY`)", @@ -8407,14 +9464,18 @@ "name": "title-meta", "schema": "string", "tags": { - "formats": ["$pdf-all"] - }, + "formats": [ + "$pdf-all" + ] + }, "description": "Sets the title metadata for the document" }, { "name": "pagetitle", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "schema": "string", "description": "Sets the title metadata for the document" @@ -8422,7 +9483,9 @@ { "name": "title-prefix", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "schema": "string", "description": "Specify STRING as a prefix at the beginning of the title that appears in \nthe HTML header (but not in the title as it appears at the beginning of the body)\n" @@ -8431,7 +9494,9 @@ "name": "description-meta", "schema": "string", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "description": "Sets the description metadata for the document" }, @@ -8439,7 +9504,10 @@ "name": "author-meta", "schema": "string", "tags": { - "formats": ["$pdf-all", "$html-files"] + "formats": [ + "$pdf-all", + "$html-files" + ] }, "description": "Sets the author metadata for the document" }, @@ -8447,7 +9515,10 @@ "name": "date-meta", "schema": "string", "tags": { - "formats": ["$html-all", "$pdf-all"] + "formats": [ + "$html-all", + "$pdf-all" + ] }, "description": "Sets the date metadata for the document" } @@ -8466,7 +9537,11 @@ "name": "number-depth", "schema": "number", "tags": { - "formats": ["$html-all", "$pdf-all", "docx"] + "formats": [ + "$html-all", + "$pdf-all", + "docx" + ] }, "description": { "short": "The depth to which sections should be numbered.", @@ -8478,19 +9553,30 @@ "schema": "number", "hidden": true, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": "The numbering depth for sections. (Use `number-depth` instead)." }, { "name": "number-offset", "tags": { - "formats": ["$html-all"] + "formats": [ + "$html-all" + ] }, "schema": { "maybeArrayOf": "number" }, - "default": [0, 0, 0, 0, 0, 0], + "default": [ + 0, + 0, + 0, + 0, + 0, + 0 + ], "description": { "short": "Offset for section headings in output (offsets are 0 by default)", "long": "Offset for section headings in output (offsets are 0 by default)\nThe first number is added to the section number for\ntop-level headings, the second for second-level headings, and so on.\nSo, for example, if you want the first top-level heading in your\ndocument to be numbered \"6\", specify `number-offset: 5`. If your\ndocument starts with a level-2 heading which you want to be numbered\n\"1.5\", specify `number-offset: [1,4]`. Implies `number-sections`\n" @@ -8499,7 +9585,9 @@ { "name": "section-numbering", "tags": { - "formats": ["typst"] + "formats": [ + "typst" + ] }, "schema": "string", "description": "Schema to use for numbering sections, e.g. `1.A.1`" @@ -8518,7 +9606,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": { "short": "Sets the page numbering style and location for the document.", @@ -8528,10 +9618,20 @@ { "name": "top-level-division", "tags": { - "formats": ["$pdf-all", "context", "$docbook-all", "tei"] + "formats": [ + "$pdf-all", + "context", + "$docbook-all", + "tei" + ] }, "schema": { - "enum": ["default", "section", "chapter", "part"] + "enum": [ + "default", + "section", + "chapter", + "part" + ] }, "description": { "short": "Treat top-level headings as the given division type (`default`, `section`, `chapter`, or `part`). The hierarchy\norder is part, chapter, then section; all headings are shifted such \nthat the top-level heading becomes the specified type.\n", @@ -8543,7 +9643,9 @@ { "name": "ojs-engine", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "schema": "boolean", "description": "If `true`, force the presence of the OJS runtime. If `false`, force the absence instead.\nIf unset, the OJS runtime is included only if OJS cells are present in the document.\n" @@ -8553,7 +9655,10 @@ { "name": "reference-doc", "tags": { - "formats": ["$office-all", "odt"] + "formats": [ + "$office-all", + "odt" + ] }, "schema": "path", "description": "Use the specified file as a style reference in producing a docx, \npptx, or odt file.\n" @@ -8574,7 +9679,12 @@ { "name": "theme", "tags": { - "formats": ["$html-doc", "revealjs", "beamer", "dashboard"] + "formats": [ + "$html-doc", + "revealjs", + "beamer", + "dashboard" + ] }, "schema": { "anyOf": [ @@ -8610,7 +9720,9 @@ { "name": "body-classes", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": "string", "description": "Classes to apply to the body of the document.\n" @@ -8620,7 +9732,9 @@ "schema": "boolean", "default": false, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "Disables the built in html features like theming, anchor sections, code block behavior, and more." }, @@ -8630,14 +9744,18 @@ "hidden": true, "default": true, "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "description": "Enables inclusion of Pandoc default CSS for this document." }, { "name": "css", "tags": { - "formats": ["$html-all"] + "formats": [ + "$html-all" + ] }, "schema": { "maybeArrayOf": "path" @@ -8649,7 +9767,9 @@ "schema": "boolean", "default": true, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "Enables hover over a section title to see an anchor link." }, @@ -8658,7 +9778,9 @@ "schema": "boolean", "default": true, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "Enables tabsets to present content." }, @@ -8667,14 +9789,20 @@ "schema": "boolean", "default": false, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "Enables smooth scrolling within the page." }, { "name": "html-math-method", "tags": { - "formats": ["$html-doc", "$epub-all", "gfm"] + "formats": [ + "$html-doc", + "$epub-all", + "gfm" + ] }, "schema": { "anyOf": [ @@ -8689,7 +9817,9 @@ }, "url": "string" }, - "required": ["method"] + "required": [ + "method" + ] } } ] @@ -8702,7 +9832,9 @@ { "name": "section-divs", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": "boolean", "default": true, @@ -8711,7 +9843,12 @@ { "name": "identifier-prefix", "tags": { - "formats": ["$html-files", "$docbook-all", "$markdown-all", "haddock"] + "formats": [ + "$html-files", + "$docbook-all", + "$markdown-all", + "haddock" + ] }, "schema": "string", "description": { @@ -8722,10 +9859,16 @@ { "name": "email-obfuscation", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "schema": { - "enum": ["none", "references", "javascript"] + "enum": [ + "none", + "references", + "javascript" + ] }, "default": "none", "description": { @@ -8736,7 +9879,9 @@ { "name": "html-q-tags", "tags": { - "formats": ["$html-all"] + "formats": [ + "$html-all" + ] }, "schema": "boolean", "default": false, @@ -8745,7 +9890,11 @@ { "name": "pdf-engine", "tags": { - "formats": ["$pdf-all", "ms", "context"] + "formats": [ + "$pdf-all", + "ms", + "context" + ] }, "schema": { "enum": [ @@ -8771,7 +9920,11 @@ { "name": "pdf-engine-opt", "tags": { - "formats": ["$pdf-all", "ms", "context"] + "formats": [ + "$pdf-all", + "ms", + "context" + ] }, "schema": "string", "description": { @@ -8782,7 +9935,11 @@ { "name": "pdf-engine-opts", "tags": { - "formats": ["$pdf-all", "ms", "context"] + "formats": [ + "$pdf-all", + "ms", + "context" + ] }, "schema": { "arrayOf": "string" @@ -8796,7 +9953,9 @@ "name": "beamerarticle", "schema": "boolean", "tags": { - "formats": ["pdf"] + "formats": [ + "pdf" + ] }, "description": "Whether to produce a Beamer article from this presentation." }, @@ -8806,17 +9965,29 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["beamer"] + "formats": [ + "beamer" + ] }, "description": "Add an extra Beamer option using `\\setbeameroption{}`." }, { "name": "aspectratio", "schema": { - "enum": [43, 169, 1610, 149, 141, 54, 32] + "enum": [ + 43, + 169, + 1610, + 149, + 141, + 54, + 32 + ] }, "tags": { - "formats": ["beamer"] + "formats": [ + "beamer" + ] }, "description": "The aspect ratio for this presentation." }, @@ -8824,7 +9995,9 @@ "name": "logo", "schema": "path", "tags": { - "formats": ["beamer"] + "formats": [ + "beamer" + ] }, "description": "The logo image." }, @@ -8832,17 +10005,26 @@ "name": "titlegraphic", "schema": "path", "tags": { - "formats": ["beamer"] + "formats": [ + "beamer" + ] }, "description": "The image for the title slide." }, { "name": "navigation", "schema": { - "enum": ["empty", "frame", "vertical", "horizontal"] + "enum": [ + "empty", + "frame", + "vertical", + "horizontal" + ] }, "tags": { - "formats": ["beamer"] + "formats": [ + "beamer" + ] }, "description": "Controls navigation symbols for the presentation (`empty`, `frame`, `vertical`, or `horizontal`)" }, @@ -8850,7 +10032,9 @@ "name": "section-titles", "schema": "boolean", "tags": { - "formats": ["beamer"] + "formats": [ + "beamer" + ] }, "default": true, "description": "Whether to enable title pages for new sections." @@ -8859,7 +10043,9 @@ "name": "colortheme", "schema": "string", "tags": { - "formats": ["beamer"] + "formats": [ + "beamer" + ] }, "description": "The Beamer color theme for this presentation." }, @@ -8867,7 +10053,9 @@ "name": "fonttheme", "schema": "string", "tags": { - "formats": ["beamer"] + "formats": [ + "beamer" + ] }, "description": "The Beamer font theme for this presentation." }, @@ -8875,7 +10063,9 @@ "name": "innertheme", "schema": "string", "tags": { - "formats": ["beamer"] + "formats": [ + "beamer" + ] }, "description": "The Beamer inner theme for this presentation." }, @@ -8883,7 +10073,9 @@ "name": "outertheme", "schema": "string", "tags": { - "formats": ["beamer"] + "formats": [ + "beamer" + ] }, "description": "The Beamer outer theme for this presentation." }, @@ -8893,7 +10085,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["beamer"] + "formats": [ + "beamer" + ] }, "description": "Options passed to LaTeX Beamer themes." }, @@ -8901,14 +10095,18 @@ "name": "section", "schema": "number", "tags": { - "formats": ["man"] + "formats": [ + "man" + ] }, "description": "The section number in man pages." }, { "name": "variant", "tags": { - "formats": ["$markdown-all"] + "formats": [ + "$markdown-all" + ] }, "schema": "string", "description": "Enable and disable extensions for markdown output (e.g. \"+emoji\")\n" @@ -8916,10 +10114,16 @@ { "name": "markdown-headings", "tags": { - "formats": ["$markdown-all", "ipynb"] + "formats": [ + "$markdown-all", + "ipynb" + ] }, "schema": { - "enum": ["setext", "atx"] + "enum": [ + "setext", + "atx" + ] }, "default": "atx", "description": "Specify whether to use `atx` (`#`-prefixed) or\n`setext` (underlined) headings for level 1 and 2\nheadings (`atx` or `setext`).\n" @@ -8927,10 +10131,16 @@ { "name": "ipynb-output", "tags": { - "formats": ["ipynb"] + "formats": [ + "ipynb" + ] }, "schema": { - "enum": ["none", "all", "best"] + "enum": [ + "none", + "all", + "best" + ] }, "default": "best", "description": { @@ -8950,7 +10160,10 @@ "name": "preview-mode", "schema": "string", "tags": { - "formats": ["$jats-all", "gfm"] + "formats": [ + "$jats-all", + "gfm" + ] }, "description": { "short": "The mode to use when previewing this document.", @@ -8962,10 +10175,15 @@ { "name": "pdfa", "schema": { - "anyOf": ["boolean", "string"] + "anyOf": [ + "boolean", + "string" + ] }, "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": { "short": "Adds the necessary setup to the document preamble to generate PDF/A of the type specified.", @@ -8978,7 +10196,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": { "short": "When used in conjunction with `pdfa`, specifies the ICC profile to use \nin the PDF, e.g. `default.cmyk`.\n", @@ -8989,7 +10209,9 @@ "name": "pdfaintent", "schema": "string", "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": { "short": "When used in conjunction with `pdfa`, specifies the output intent for the colors.", @@ -9014,7 +10236,9 @@ "name": "citations-hover", "schema": "boolean", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "default": true, "description": "Enables a hover popup for citation that shows the reference information." @@ -9022,10 +10246,15 @@ { "name": "citation-location", "schema": { - "enum": ["document", "margin"] + "enum": [ + "document", + "margin" + ] }, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "default": "document", "description": "Where citation information should be displayed (`document` or `margin`)" @@ -9033,10 +10262,16 @@ { "name": "cite-method", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "schema": { - "enum": ["citeproc", "natbib", "biblatex"] + "enum": [ + "citeproc", + "natbib", + "biblatex" + ] }, "default": "citeproc", "description": "Method used to format citations (`citeproc`, `natbib`, or `biblatex`).\n" @@ -9056,7 +10291,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": "A list of options for BibLaTeX." }, @@ -9066,7 +10303,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": "One or more options to provide for `natbib` when generating a bibliography." }, @@ -9074,7 +10313,9 @@ "name": "biblio-style", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": "The bibliography style to use (e.g. `\\bibliographystyle{dinat}`) when using `natbib` or `biblatex`." }, @@ -9082,7 +10323,9 @@ "name": "bibliographystyle", "schema": "string", "tags": { - "formats": ["typst"] + "formats": [ + "typst" + ] }, "description": "The bibliography style to use (e.g. `#set bibliography(style: \"apa\")`) when using typst built-in citation system (e.g when not `citeproc: true`)." }, @@ -9090,7 +10333,9 @@ "name": "biblio-title", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": "The bibliography title to use when using `natbib` or `biblatex`." }, @@ -9098,7 +10343,9 @@ "name": "biblio-config", "schema": "boolean", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": "Controls whether to output bibliography configuration for `natbib` or `biblatex` when cite method is not `citeproc`." }, @@ -9114,7 +10361,10 @@ "name": "link-citations", "schema": "boolean", "tags": { - "formats": ["$pdf-all", "docx"] + "formats": [ + "$pdf-all", + "docx" + ] }, "description": "If true, citations will be hyperlinked to the corresponding bibliography entries (for author-date and numerical styles only). Defaults to false." }, @@ -9122,7 +10372,10 @@ "name": "link-bibliography", "schema": "boolean", "tags": { - "formats": ["$pdf-all", "docx"] + "formats": [ + "$pdf-all", + "docx" + ] }, "description": { "short": "If true, DOIs, PMCIDs, PMID, and URLs in bibliographies will be rendered as hyperlinks.", @@ -9133,7 +10386,10 @@ "name": "notes-after-punctuation", "schema": "boolean", "tags": { - "formats": ["$pdf-all", "docx"] + "formats": [ + "$pdf-all", + "docx" + ] }, "description": { "short": "Places footnote references or superscripted numerical citations after following punctuation.", @@ -9167,13 +10423,19 @@ }, { "name": "template", - "disabled": ["$office-all", "ipynb"], + "disabled": [ + "$office-all", + "ipynb" + ], "schema": "path", "description": "Use the specified file as a custom template for the generated document.\n" }, { "name": "template-partials", - "disabled": ["$office-all", "ipynb"], + "disabled": [ + "$office-all", + "ipynb" + ], "schema": { "maybeArrayOf": "path" }, @@ -9182,7 +10444,9 @@ { "name": "embed-resources", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "schema": "boolean", "default": false, @@ -9194,7 +10458,9 @@ { "name": "self-contained", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "schema": "boolean", "default": false, @@ -9207,7 +10473,9 @@ { "name": "self-contained-math", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "schema": "boolean", "default": false, @@ -9235,7 +10503,9 @@ "schema": "boolean", "default": false, "tags": { - "contexts": ["document-execute"] + "contexts": [ + "document-execute" + ] }, "description": "Keep the markdown file generated by executing code" }, @@ -9244,7 +10514,9 @@ "schema": "boolean", "default": false, "tags": { - "contexts": ["document-execute"] + "contexts": [ + "document-execute" + ] }, "description": "Keep the notebook file generated from executing code." }, @@ -9254,7 +10526,9 @@ "arrayOf": "string" }, "tags": { - "contexts": ["document-execute"] + "contexts": [ + "document-execute" + ] }, "description": "Filters to pre-process ipynb files before rendering to markdown" }, @@ -9271,7 +10545,9 @@ ] }, "tags": { - "contexts": ["document-execute"], + "contexts": [ + "document-execute" + ], "engine": "jupyter" }, "description": "Specify which nodes should be run interactively (displaying output from expressions)\n" @@ -9281,7 +10557,9 @@ "schema": "boolean", "default": false, "tags": { - "contexts": ["document-execute"], + "contexts": [ + "document-execute" + ], "engine": "jupyter" }, "description": "If true, use the \"notebook_connected\" plotly renderer, which downloads\nits dependencies from a CDN and requires an internet connection to view.\n" @@ -9289,7 +10567,9 @@ { "name": "keep-typ", "tags": { - "formats": ["typst"] + "formats": [ + "typst" + ] }, "schema": "boolean", "default": false, @@ -9298,7 +10578,10 @@ { "name": "keep-tex", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": "boolean", "default": false, @@ -9317,7 +10600,9 @@ "schema": { "arrayOf": "path" }, - "default": ["."], + "default": [ + "." + ], "description": "List of paths to search for images and other resources.\n" }, { @@ -9348,27 +10633,39 @@ { "name": "html-table-processing", "schema": { - "enum": ["none"] + "enum": [ + "none" + ] }, "description": "If `none`, do not process tables in HTML input." }, { "name": "html-pre-tag-processing", "tags": { - "formats": ["typst"] + "formats": [ + "typst" + ] }, "schema": { - "enum": ["none", "parse"] + "enum": [ + "none", + "parse" + ] }, "description": "If `none`, ignore any divs with `html-pre-tag-processing=parse` enabled." }, { "name": "css-property-processing", "tags": { - "formats": ["typst"] + "formats": [ + "typst" + ] }, "schema": { - "enum": ["none", "translate"] + "enum": [ + "none", + "translate" + ] }, "default": "translate", "description": { @@ -9381,7 +10678,9 @@ "schema": "boolean", "default": true, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": "If `true`, attempt to use `rsvg-convert` to convert SVG images to PDF." } @@ -9390,17 +10689,25 @@ { "name": "logo", "tags": { - "formats": ["revealjs", "typst"] + "formats": [ + "revealjs", + "typst" + ] }, "schema": { - "anyOf": ["string", "object"] + "anyOf": [ + "string", + "object" + ] }, "description": "Logo image (placed in bottom right corner of slides)" }, { "name": "footer", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "string", "description": { @@ -9411,7 +10718,9 @@ { "name": "scrollable", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -9423,7 +10732,9 @@ { "name": "smaller", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -9435,10 +10746,18 @@ { "name": "output-location", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": ["default", "fragment", "slide", "column", "column-fragment"] + "enum": [ + "default", + "fragment", + "slide", + "column", + "column-fragment" + ] }, "description": { "short": "Location of output relative to the code that generated it (`default`, `fragment`, `slide`, `column`, or `column-location`)", @@ -9450,7 +10769,9 @@ { "name": "embedded", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "hidden": true, @@ -9460,7 +10781,9 @@ { "name": "display", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "string", "hidden": true, @@ -9472,7 +10795,9 @@ { "name": "auto-stretch", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -9481,10 +10806,15 @@ { "name": "width", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "anyOf": ["number", "string"] + "anyOf": [ + "number", + "string" + ] }, "default": 1050, "description": { @@ -9495,10 +10825,15 @@ { "name": "height", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "anyOf": ["number", "string"] + "anyOf": [ + "number", + "string" + ] }, "default": 700, "description": { @@ -9509,7 +10844,10 @@ { "name": "margin", "tags": { - "formats": ["revealjs", "typst"] + "formats": [ + "revealjs", + "typst" + ] }, "schema": { "anyOf": [ @@ -9559,7 +10897,9 @@ { "name": "min-scale", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "number", "default": 0.2, @@ -9568,7 +10908,9 @@ { "name": "max-scale", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "number", "default": 2, @@ -9577,7 +10919,9 @@ { "name": "center", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -9586,7 +10930,9 @@ { "name": "disable-layout", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -9595,7 +10941,9 @@ { "name": "code-block-height", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "string", "default": "500px", @@ -9606,12 +10954,16 @@ { "name": "preview-links", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { "anyOf": [ { - "enum": ["auto"] + "enum": [ + "auto" + ] }, "boolean" ] @@ -9625,10 +10977,16 @@ { "name": "auto-play-media", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": [null, true, false] + "enum": [ + null, + true, + false + ] }, "default": null, "description": "Autoplay embedded media (`null`, `true`, or `false`). Default is `null` (only when `autoplay` \nattribute is specified)\n" @@ -9636,10 +10994,16 @@ { "name": "preload-iframes", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": [null, true, false] + "enum": [ + null, + true, + false + ] }, "default": null, "description": { @@ -9650,7 +11014,9 @@ { "name": "view-distance", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "number", "default": 3, @@ -9659,7 +11025,9 @@ { "name": "mobile-view-distance", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "number", "default": 2, @@ -9668,7 +11036,9 @@ { "name": "parallax-background-image", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "path", "description": "Parallax background image" @@ -9676,7 +11046,9 @@ { "name": "parallax-background-size", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "string", "description": "Parallax background size (e.g. '2100px 900px')" @@ -9684,7 +11056,9 @@ { "name": "parallax-background-horizontal", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "number", "default": 200, @@ -9693,7 +11067,9 @@ { "name": "parallax-background-vertical", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "number", "default": 50, @@ -9704,7 +11080,9 @@ { "name": "progress", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -9713,7 +11091,9 @@ { "name": "history", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -9722,10 +11102,16 @@ { "name": "navigation-mode", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": ["linear", "vertical", "grid"] + "enum": [ + "linear", + "vertical", + "grid" + ] }, "default": "linear", "description": { @@ -9736,7 +11122,9 @@ { "name": "touch", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -9745,7 +11133,9 @@ { "name": "keyboard", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -9754,7 +11144,9 @@ { "name": "mouse-wheel", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -9763,7 +11155,9 @@ { "name": "hide-inactive-cursor", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -9772,7 +11166,9 @@ { "name": "hide-cursor-time", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "number", "default": 5000, @@ -9781,7 +11177,9 @@ { "name": "loop", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -9790,7 +11188,9 @@ { "name": "shuffle", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -9799,13 +11199,17 @@ { "name": "controls", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { "anyOf": [ "boolean", { - "enum": ["auto"] + "enum": [ + "auto" + ] } ] }, @@ -9818,10 +11222,15 @@ { "name": "controls-layout", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": ["edges", "bottom-right"] + "enum": [ + "edges", + "bottom-right" + ] }, "default": "edges", "description": "Location for navigation controls (`edges` or `bottom-right`)" @@ -9829,7 +11238,9 @@ { "name": "controls-tutorial", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -9838,10 +11249,16 @@ { "name": "controls-back-arrows", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": ["faded", "hidden", "visible"] + "enum": [ + "faded", + "hidden", + "visible" + ] }, "default": "faded", "description": "Visibility rule for backwards navigation arrows (`faded`, `hidden`, or `visible`).\n" @@ -9849,13 +11266,17 @@ { "name": "auto-slide", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { "anyOf": [ "number", { - "enum": [false] + "enum": [ + false + ] } ] }, @@ -9865,7 +11286,9 @@ { "name": "auto-slide-stoppable", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -9874,7 +11297,9 @@ { "name": "auto-slide-method", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "string", "default": "navigateNext", @@ -9883,7 +11308,9 @@ { "name": "default-timing", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "number", "description": "Expected average seconds per slide (used by pacing timer in speaker view)" @@ -9891,7 +11318,9 @@ { "name": "pause", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -9900,7 +11329,9 @@ { "name": "help", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -9909,7 +11340,9 @@ { "name": "hash", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -9918,10 +11351,15 @@ { "name": "hash-type", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": ["number", "title"] + "enum": [ + "number", + "title" + ] }, "default": "title", "description": "URL hash type (`number` or `title`)" @@ -9929,7 +11367,9 @@ { "name": "hash-one-based-index", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -9938,7 +11378,9 @@ { "name": "respond-to-hash-changes", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -9947,7 +11389,9 @@ { "name": "fragment-in-url", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -9956,7 +11400,9 @@ { "name": "slide-tone", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -9965,7 +11411,9 @@ { "name": "jump-to-slide", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -9976,7 +11424,9 @@ { "name": "pdf-max-pages-per-slide", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "number", "description": { @@ -9987,7 +11437,9 @@ { "name": "pdf-separate-fragments", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -9996,7 +11448,9 @@ { "name": "pdf-page-height-offset", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "number", "default": -1, @@ -10010,7 +11464,9 @@ { "name": "overview", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -10020,7 +11476,9 @@ "name": "menu", "description": "Configuration for revealjs menu.", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { "anyOf": [ @@ -10029,13 +11487,22 @@ "object": { "properties": { "side": { - "enum": ["left", "right"], + "enum": [ + "left", + "right" + ], "default": "left", "description": "Side of the presentation where the menu will be shown (`left` or `right`)" }, "width": { "string": { - "completions": ["normal", "wide", "third", "half", "full"] + "completions": [ + "normal", + "wide", + "third", + "half", + "full" + ] }, "default": "normal", "description": "Width of the menu" @@ -10062,7 +11529,9 @@ "name": "chalkboard", "description": "Configuration for revealjs chalkboard.", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { "anyOf": [ @@ -10071,7 +11540,10 @@ "object": { "properties": { "theme": { - "enum": ["chalkboard", "whiteboard"], + "enum": [ + "chalkboard", + "whiteboard" + ], "default": "chalkboard", "description": "Visual theme for drawing surface (`chalkboard` or `whiteboard`)" }, @@ -10119,7 +11591,9 @@ "name": "multiplex", "description": "Configuration for reveal presentation multiplexing.", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { "anyOf": [ @@ -10153,7 +11627,9 @@ "name": "scroll-view", "description": "Control the scroll view feature of Revealjs", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { "anyOf": [ @@ -10171,19 +11647,28 @@ "anyOf": [ "boolean", { - "enum": ["auto"] + "enum": [ + "auto" + ] } ], "default": "auto", "description": "Show the scrollbar while scrolling, hide while idle (default `auto`). Set to 'true' to always show, `false` to always hide." }, "snap": { - "enum": ["mandatory", "proximity", false], + "enum": [ + "mandatory", + "proximity", + false + ], "default": "mandatory", "description": "When scrolling, it will automatically snap to the closest slide. Only snap when close to the top of a slide using `proximity`. Disable snapping altogether by setting to `false`.\n" }, "layout": { - "enum": ["compact", "full"], + "enum": [ + "compact", + "full" + ], "default": "full", "description": "By default each slide will be sized to be as tall as the viewport. If you prefer a more dense layout with multiple slides visible in parallel, set to `compact`.\n" }, @@ -10203,10 +11688,19 @@ { "name": "transition", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": ["none", "fade", "slide", "convex", "concave", "zoom"] + "enum": [ + "none", + "fade", + "slide", + "convex", + "concave", + "zoom" + ] }, "default": "none", "description": { @@ -10217,10 +11711,16 @@ { "name": "transition-speed", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": ["default", "fast", "slow"] + "enum": [ + "default", + "fast", + "slow" + ] }, "default": "default", "description": "Slide transition speed (`default`, `fast`, or `slow`)" @@ -10228,10 +11728,19 @@ { "name": "background-transition", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": ["none", "fade", "slide", "convex", "concave", "zoom"] + "enum": [ + "none", + "fade", + "slide", + "convex", + "concave", + "zoom" + ] }, "default": "none", "description": { @@ -10242,7 +11751,9 @@ { "name": "fragments", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -10251,7 +11762,9 @@ { "name": "auto-animate", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -10260,7 +11773,9 @@ { "name": "auto-animate-easing", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "string", "default": "ease", @@ -10272,7 +11787,9 @@ { "name": "auto-animate-duration", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "number", "default": 1, @@ -10284,7 +11801,9 @@ { "name": "auto-animate-unmatched", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -10296,7 +11815,9 @@ { "name": "auto-animate-styles", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { "arrayOf": { @@ -10325,7 +11846,11 @@ { "name": "incremental", "tags": { - "formats": ["pptx", "beamer", "$html-pres"] + "formats": [ + "pptx", + "beamer", + "$html-pres" + ] }, "schema": "boolean", "default": false, @@ -10334,7 +11859,11 @@ { "name": "slide-level", "tags": { - "formats": ["pptx", "beamer", "$html-pres"] + "formats": [ + "pptx", + "beamer", + "$html-pres" + ] }, "schema": "number", "default": 2, @@ -10346,13 +11875,20 @@ { "name": "slide-number", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { "anyOf": [ "boolean", { - "enum": ["h.v", "h/v", "c", "c/t"] + "enum": [ + "h.v", + "h/v", + "c", + "c/t" + ] } ] }, @@ -10365,10 +11901,16 @@ { "name": "show-slide-number", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": ["all", "print", "speaker"] + "enum": [ + "all", + "print", + "speaker" + ] }, "default": "all", "description": "Contexts in which the slide number appears (`all`, `print`, or `speaker`)" @@ -10412,7 +11954,9 @@ } }, "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "description": { "short": "Additional attributes for the title slide of a reveal.js presentation.", @@ -10422,10 +11966,15 @@ { "name": "title-slide-style", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": ["pandoc", "default"] + "enum": [ + "pandoc", + "default" + ] }, "default": "default", "description": "The title slide style. Use `pandoc` to select the Pandoc default title slide style." @@ -10433,7 +11982,9 @@ { "name": "center-title-slide", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -10442,13 +11993,17 @@ { "name": "show-notes", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { "anyOf": [ "boolean", { - "enum": ["separate-page"] + "enum": [ + "separate-page" + ] } ] }, @@ -10458,7 +12013,9 @@ { "name": "rtl", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -10469,7 +12026,12 @@ { "name": "df-print", "schema": { - "enum": ["default", "kable", "tibble", "paged"] + "enum": [ + "default", + "kable", + "tibble", + "paged" + ] }, "tags": { "engine": "knitr" @@ -10494,7 +12056,11 @@ ] }, "schema": { - "enum": ["auto", "none", "preserve"] + "enum": [ + "auto", + "none", + "preserve" + ] }, "default": "auto", "description": { @@ -10567,7 +12133,11 @@ ] }, "schema": { - "enum": ["lf", "crlf", "native"] + "enum": [ + "lf", + "crlf", + "native" + ] }, "description": { "short": "Manually specify line endings (`lf`, `crlf`, or `native`).", @@ -10578,7 +12148,11 @@ "name": "strip-comments", "schema": "boolean", "tags": { - "formats": ["$markdown-all", "textile", "$html-files"] + "formats": [ + "$markdown-all", + "textile", + "$html-files" + ] }, "description": { "short": "Strip out HTML comments in source, rather than passing them on to output.", @@ -10588,7 +12162,12 @@ { "name": "ascii", "tags": { - "formats": ["$html-all", "$pdf-all", "$markdown-all", "ms"] + "formats": [ + "$html-all", + "$pdf-all", + "$markdown-all", + "ms" + ] }, "schema": "boolean", "description": { @@ -10602,7 +12181,11 @@ "name": "toc", "alias": "table-of-contents", "tags": { - "formats": ["!man", "!$docbook-all", "!$jats-all"] + "formats": [ + "!man", + "!$docbook-all", + "!$jats-all" + ] }, "schema": "boolean", "description": { @@ -10613,7 +12196,9 @@ { "name": "toc-indent", "tags": { - "formats": ["typst"] + "formats": [ + "typst" + ] }, "schema": "string", "description": "The amount of indentation to use for each level of the table of contents.\nThe default is \"1.5em\".\n" @@ -10621,7 +12206,12 @@ { "name": "toc-depth", "tags": { - "formats": ["!man", "!$docbook-all", "!$jats-all", "!beamer"] + "formats": [ + "!man", + "!$docbook-all", + "!$jats-all", + "!beamer" + ] }, "schema": "number", "description": "Specify the number of section levels to include in the table of contents.\nThe default is 3\n" @@ -10629,11 +12219,19 @@ { "name": "toc-location", "schema": { - "enum": ["body", "left", "right", "left-body", "right-body"] + "enum": [ + "body", + "left", + "right", + "left-body", + "right-body" + ] }, "default": "right", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": { "short": "Location for table of contents (`body`, `left`, `right` (default), `left-body`, `right-body`).\n", @@ -10658,11 +12256,16 @@ { "name": "toc-expand", "schema": { - "anyOf": ["number", "boolean"] + "anyOf": [ + "number", + "boolean" + ] }, "default": 1, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "Specifies the depth of items in the table of contents that should be displayed as expanded in HTML output. Use `true` to expand all or `false` to collapse all.\n" }, @@ -10671,7 +12274,9 @@ "schema": "boolean", "default": false, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": "Print a list of figures in the document." }, @@ -10680,7 +12285,9 @@ "schema": "boolean", "default": false, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": "Print a list of tables in the document." } @@ -10690,7 +12297,9 @@ "name": "search", "schema": "boolean", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "default": true, "description": "Setting this to false prevents this document from being included in searches." @@ -10702,7 +12311,12 @@ "boolean", { "maybeArrayOf": { - "enum": ["none", "edit", "source", "issue"], + "enum": [ + "none", + "edit", + "source", + "issue" + ], "description": { "short": "Links to source repository actions", "long": "Links to source repository actions (`none` or one or more of `edit`, `source`, `issue`)" @@ -10712,7 +12326,9 @@ ] }, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "Setting this to false prevents the `repo-actions` from appearing on this page." }, @@ -10722,17 +12338,24 @@ "arrayOf": "string" }, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "URLs that alias this document, when included in a website." }, { "name": "image", "schema": { - "anyOf": ["path", "boolean"] + "anyOf": [ + "path", + "boolean" + ] }, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": { "short": "The path to a preview image for this document.", @@ -10743,7 +12366,9 @@ "name": "image-height", "schema": "string", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "The height of the preview image for this document." }, @@ -10751,7 +12376,9 @@ "name": "image-width", "schema": "string", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "The width of the preview image for this document." }, @@ -10759,7 +12386,9 @@ "name": "image-alt", "schema": "string", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "The alt text for preview image on this page." }, @@ -10767,7 +12396,9 @@ "name": "image-lazy-loading", "schema": "boolean", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": { "short": "If true, the preview image will only load when it comes into view.", @@ -10820,8 +12451,16 @@ ], "schema/format-aliases.yml": { "aliases": { - "epub-all": ["epub", "epub2", "epub3"], - "pdf-all": ["latex", "pdf", "beamer"], + "epub-all": [ + "epub", + "epub2", + "epub3" + ], + "pdf-all": [ + "latex", + "pdf", + "beamer" + ], "markdown-all": [ "markdown", "gfm", @@ -10830,15 +12469,49 @@ "markua", "md" ], - "office-all": ["docx", "pptx"], - "docbook-all": ["docbook", "docbook4", "docbook5"], - "odt-all": ["odt", "opendocument"], - "html-doc": ["html", "html4", "html5"], - "html-pres": ["slidy", "slideous", "s5", "revealjs", "dzslides"], - "pres-all": ["pptx", "beamer", "$html-pres"], - "html-files": ["$html-doc", "$html-pres", "dashboard"], - "html-all": ["$html-files", "$epub-all"], - "asciidoc-all": ["asciidoc", "asciidoctor"], + "office-all": [ + "docx", + "pptx" + ], + "docbook-all": [ + "docbook", + "docbook4", + "docbook5" + ], + "odt-all": [ + "odt", + "opendocument" + ], + "html-doc": [ + "html", + "html4", + "html5" + ], + "html-pres": [ + "slidy", + "slideous", + "s5", + "revealjs", + "dzslides" + ], + "pres-all": [ + "pptx", + "beamer", + "$html-pres" + ], + "html-files": [ + "$html-doc", + "$html-pres", + "dashboard" + ], + "html-all": [ + "$html-files", + "$epub-all" + ], + "asciidoc-all": [ + "asciidoc", + "asciidoctor" + ], "jats-all": [ "jats", "jats_archiving", @@ -11088,7 +12761,12 @@ }, "type": { "string": { - "completions": ["default", "website", "book", "manuscript"], + "completions": [ + "default", + "website", + "book", + "manuscript" + ], "description": "Project type (`default`, `website`, `book`, or `manuscript`)" } }, @@ -11097,7 +12775,10 @@ "description": "Files to render (defaults to all files)" }, "execute-dir": { - "enum": ["file", "project"], + "enum": [ + "file", + "project" + ], "description": { "short": "Working directory for computations", "long": "Control the working directory for computations. \n\n- `file`: Use the directory of the file that is currently executing.\n- `project`: Use the root directory of the project.\n" @@ -11184,7 +12865,9 @@ "name": "type", "hidden": true, "schema": { - "enum": ["cd93424f-d5ba-4e95-91c6-1890eab59fc7"] + "enum": [ + "cd93424f-d5ba-4e95-91c6-1890eab59fc7" + ] }, "errorMessage": "type key not supported at project type-level. Use `project: type: ...` instead.", "description": "internal-schema-hack" @@ -11205,7 +12888,9 @@ "boolean", "string", { - "enum": [null] + "enum": [ + null + ] } ] }, @@ -11253,7 +12938,9 @@ "super": { "resolveRef": "schema/base" }, - "required": ["enum"], + "required": [ + "enum" + ], "properties": { "enum": { "anyOf": [ @@ -11286,12 +12973,16 @@ "id": "schema/null", "anyOf": [ { - "enum": ["null"] + "enum": [ + "null" + ] }, { "object": { "closed": true, - "required": ["null"], + "required": [ + "null" + ], "properties": { "null": { "anyOf": [ @@ -11309,7 +13000,9 @@ "id": "schema/explicit-schema", "object": { "closed": true, - "required": ["schema"], + "required": [ + "schema" + ], "super": { "resolveRef": "schema/base" }, @@ -11327,7 +13020,9 @@ "super": { "resolveRef": "schema/base" }, - "required": ["pattern"], + "required": [ + "pattern" + ], "properties": { "pattern": "string" } @@ -11337,7 +13032,10 @@ "id": "schema/string", "anyOf": [ { - "enum": ["string", "path"] + "enum": [ + "string", + "path" + ] }, { "ref": "schema/explicit-pattern-string" @@ -11348,7 +13046,9 @@ "super": { "resolveRef": "schema/base" }, - "required": ["path"], + "required": [ + "path" + ], "properties": { "path": { "anyOf": [ @@ -11369,7 +13069,9 @@ "super": { "resolveRef": "schema/base" }, - "required": ["string"], + "required": [ + "string" + ], "properties": { "string": { "anyOf": [ @@ -11390,7 +13092,9 @@ "id": "schema/number", "anyOf": [ { - "enum": ["number"] + "enum": [ + "number" + ] }, { "object": { @@ -11398,7 +13102,9 @@ "super": { "resolveRef": "schema/base" }, - "required": ["number"], + "required": [ + "number" + ], "properties": { "number": { "anyOf": [ @@ -11419,12 +13125,16 @@ "id": "schema/boolean", "anyOf": [ { - "enum": ["boolean"] + "enum": [ + "boolean" + ] }, { "object": { "closed": true, - "required": ["boolean"], + "required": [ + "boolean" + ], "super": { "resolveRef": "schema/base" }, @@ -11448,7 +13158,9 @@ "id": "schema/resolve-ref", "object": { "closed": true, - "required": ["resolveRef"], + "required": [ + "resolveRef" + ], "properties": { "resolveRef": "string" } @@ -11458,7 +13170,9 @@ "id": "schema/ref", "object": { "closed": true, - "required": ["ref"], + "required": [ + "ref" + ], "properties": { "ref": "string", "description": { @@ -11471,7 +13185,9 @@ "id": "schema/maybe-array-of", "object": { "closed": true, - "required": ["maybeArrayOf"], + "required": [ + "maybeArrayOf" + ], "super": { "resolveRef": "schema/base" }, @@ -11489,7 +13205,9 @@ "super": { "resolveRef": "schema/base" }, - "required": ["arrayOf"], + "required": [ + "arrayOf" + ], "properties": { "arrayOf": { "anyOf": [ @@ -11522,7 +13240,9 @@ "super": { "resolveRef": "schema/base" }, - "required": ["allOf"], + "required": [ + "allOf" + ], "properties": { "allOf": { "anyOf": [ @@ -11557,7 +13277,9 @@ "super": { "resolveRef": "schema/base" }, - "required": ["anyOf"], + "required": [ + "anyOf" + ], "properties": { "anyOf": { "anyOf": [ @@ -11592,7 +13314,9 @@ "super": { "resolveRef": "schema/base" }, - "required": ["record"], + "required": [ + "record" + ], "properties": { "record": { "anyOf": [ @@ -11618,7 +13342,9 @@ } } }, - "required": ["properties"] + "required": [ + "properties" + ] } } ] @@ -11630,7 +13356,9 @@ "id": "schema/object", "anyOf": [ { - "enum": ["object"] + "enum": [ + "object" + ] }, { "object": { @@ -11638,7 +13366,9 @@ "super": { "resolveRef": "schema/base" }, - "required": ["object"], + "required": [ + "object" + ], "properties": { "object": { "object": { @@ -11650,7 +13380,9 @@ "namingConvention": { "anyOf": [ { - "enum": ["ignore"] + "enum": [ + "ignore" + ] }, { "arrayOf": { @@ -11706,7 +13438,9 @@ "required": { "anyOf": [ { - "enum": ["all"] + "enum": [ + "all" + ] }, { "arrayOf": "string" @@ -11774,7 +13508,10 @@ "ref": "schema/object" }, { - "enum": [null, "any"] + "enum": [ + null, + "any" + ] } ], "description": "be a yaml schema" @@ -11802,7 +13539,11 @@ "errorMessage": "string" }, "namingConvention": "ignore", - "required": ["name", "schema", "description"], + "required": [ + "name", + "schema", + "description" + ], "propertyNames": { "enum": [ "name", @@ -13151,6 +14892,7 @@ "long": "Unique label for code cell. Used when other code needs to refer to\nthe cell (e.g. for cross references fig-samples or\ntbl-summary)" }, "Classes to apply to cell container", + "Array of rendering names", "Array of tags for notebook cell", { "short": "Notebook cell identifier", @@ -14866,6 +16608,7 @@ "Disambiguating year suffix in author-date styles (e.g. “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’.", { "short": "Include an automatically generated table of contents", "long": "" @@ -15218,7 +16961,6 @@ "Disambiguating year suffix in author-date styles (e.g. “a” in “Doe,\n1999a”).", "Manuscript configuration", "internal-schema-hack", - "Array of rendering names", "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’." ], "schema/external-schemas.yml": [ @@ -15238,7 +16980,10 @@ "register": { "type": "boolean", "description": "be `true` or `false`", - "completions": ["true", "false"], + "completions": [ + "true", + "false" + ], "exhaustiveCompletions": true }, "script": { @@ -15265,12 +17010,17 @@ "async": { "type": "boolean", "description": "be `true` or `false`", - "completions": ["true", "false"], + "completions": [ + "true", + "false" + ], "exhaustiveCompletions": true } }, "patternProperties": {}, - "required": ["path"] + "required": [ + "path" + ] } ], "description": "be at least one of: a string, an object" @@ -15299,12 +17049,17 @@ "async": { "type": "boolean", "description": "be `true` or `false`", - "completions": ["true", "false"], + "completions": [ + "true", + "false" + ], "exhaustiveCompletions": true } }, "patternProperties": {}, - "required": ["path"] + "required": [ + "path" + ] } ], "description": "be at least one of: a string, an object" @@ -15336,31 +17091,43 @@ "self-contained": { "type": "boolean", "description": "be `true` or `false`", - "completions": ["true", "false"], + "completions": [ + "true", + "false" + ], "exhaustiveCompletions": true } }, "patternProperties": {}, - "required": ["name"], + "required": [ + "name" + ], "propertyNames": { "errorMessage": "property ${value} does not match case convention path,name,register,script,stylesheet,self-contained", "type": "string", "pattern": "(?!(^self_contained$|^selfContained$))", "tags": { - "case-convention": ["dash-case"], + "case-convention": [ + "dash-case" + ], "error-importance": -5, "case-detection": true } }, "tags": { - "case-convention": ["dash-case"], + "case-convention": [ + "dash-case" + ], "error-importance": -5, "case-detection": true }, "$id": "plugin-reveal" } ], - "handlers/languages.yml": ["mermaid", "dot"], + "handlers/languages.yml": [ + "mermaid", + "dot" + ], "handlers/lang-comment-chars.yml": { "r": "#", "python": "#", @@ -15369,9 +17136,18 @@ "matlab": "%", "csharp": "//", "fsharp": "//", - "c": ["/*", "*/"], - "css": ["/*", "*/"], - "sas": ["*", ";"], + "c": [ + "/*", + "*/" + ], + "css": [ + "/*", + "*/" + ], + "sas": [ + "*", + ";" + ], "powershell": "#", "bash": "#", "sql": "--", @@ -15406,31 +17182,44 @@ "dot": "//", "ojs": "//", "apl": "⍝", - "ocaml": ["(*", "*)"], + "ocaml": [ + "(*", + "*)" + ], "rust": "//", "mermaid": "%%" }, "handlers/mermaid/schema.yml": { - "_internalId": 194327, + "_internalId": 194642, "type": "object", "description": "be an object", "properties": { "mermaid-format": { - "_internalId": 194319, + "_internalId": 194634, "type": "enum", - "enum": ["png", "svg", "js"], + "enum": [ + "png", + "svg", + "js" + ], "description": "be one of: `png`, `svg`, `js`", - "completions": ["png", "svg", "js"], + "completions": [ + "png", + "svg", + "js" + ], "exhaustiveCompletions": true }, "theme": { - "_internalId": 194326, + "_internalId": 194641, "type": "anyOf", "anyOf": [ { "type": "null", "description": "be the null value", - "completions": ["null"], + "completions": [ + "null" + ], "exhaustiveCompletions": true }, { @@ -15447,13 +17236,17 @@ "type": "string", "pattern": "(?!(^mermaid_format$|^mermaidFormat$))", "tags": { - "case-convention": ["dash-case"], + "case-convention": [ + "dash-case" + ], "error-importance": -5, "case-detection": true } }, "tags": { - "case-convention": ["dash-case"], + "case-convention": [ + "dash-case" + ], "error-importance": -5, "case-detection": true }, @@ -15463,13 +17256,17 @@ { "name": "page-numbering", "tags": { - "formats": ["typst"] + "formats": [ + "typst" + ] }, "schema": { "anyOf": [ "string", { - "enum": [false] + "enum": [ + false + ] } ] }, @@ -15480,7 +17277,9 @@ { "name": "smart", "tags": { - "formats": ["typst"] + "formats": [ + "typst" + ] }, "schema": "boolean", "description": { @@ -15488,4 +17287,4 @@ } } ] -} +} \ No newline at end of file From 054981f2db6e614baae208f554ec3b7fe6e8a6b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Canouil?= <8896044+mcanouil@users.noreply.github.com> Date: Tue, 8 Apr 2025 00:03:38 +0200 Subject: [PATCH 4/6] chore: quarto build-js --- src/resources/editor/tools/vs-code.mjs | 304 +- src/resources/editor/tools/yaml/web-worker.js | 308 +- .../yaml/yaml-intelligence-resources.json | 3133 +++++++++++++---- 3 files changed, 2779 insertions(+), 966 deletions(-) diff --git a/src/resources/editor/tools/vs-code.mjs b/src/resources/editor/tools/vs-code.mjs index 26ce61eb438..14ec3ca9fd9 100644 --- a/src/resources/editor/tools/vs-code.mjs +++ b/src/resources/editor/tools/vs-code.mjs @@ -243,7 +243,7 @@ var TreeSitter = (function () { xhr.responseType = "arraybuffer"; xhr.send(null); return new Uint8Array( - /** @type{!ArrayBuffer} */(xhr.response) + /** @type{!ArrayBuffer} */ (xhr.response) ); } catch (err) { var data = tryParseAsDataURI(url); @@ -746,18 +746,18 @@ var TreeSitter = (function () { (tempI64 = [ value >>> 0, ((tempDouble = value), - +Math.abs(tempDouble) >= 1.0 - ? tempDouble > 0.0 - ? (Math.min( + +Math.abs(tempDouble) >= 1.0 + ? tempDouble > 0.0 + ? (Math.min( +Math.floor(tempDouble / 4294967296.0), 4294967295.0 ) | 0) >>> 0 - : ~~+Math.ceil( + : ~~+Math.ceil( (tempDouble - +(~~tempDouble >>> 0)) / 4294967296.0 ) >>> 0 - : 0), + : 0), ]), (HEAP32[ptr >> 2] = tempI64[0]), (HEAP32[(ptr + 4) >> 2] = tempI64[1]); @@ -831,8 +831,8 @@ var TreeSitter = (function () { assert( func, "Cannot call unknown function " + - ident + - ", make sure it is exported" + ident + + ", make sure it is exported" ); return func; } @@ -932,7 +932,7 @@ var TreeSitter = (function () { } if (slab.subarray || slab.slice) { - HEAPU8.set(/** @type {!Uint8Array} */(slab), ret); + HEAPU8.set(/** @type {!Uint8Array} */ (slab), ret); } else { HEAPU8.set(new Uint8Array(slab), ret); } @@ -991,8 +991,8 @@ var TreeSitter = (function () { if ((u0 & 0xf8) != 0xf0) warnOnce( "Invalid UTF-8 leading byte 0x" + - u0.toString(16) + - " encountered when deserializing a UTF-8 string in wasm memory to a JS string!" + u0.toString(16) + + " encountered when deserializing a UTF-8 string in wasm memory to a JS string!" ); u0 = ((u0 & 7) << 18) | @@ -1080,8 +1080,8 @@ var TreeSitter = (function () { if (u >= 0x200000) warnOnce( "Invalid Unicode code point 0x" + - u.toString(16) + - " encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x1FFFFF)." + u.toString(16) + + " encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x1FFFFF)." ); heap[outIdx++] = 0xf0 | (u >> 18); heap[outIdx++] = 0x80 | ((u >> 12) & 63); @@ -1448,18 +1448,18 @@ var TreeSitter = (function () { assert( INITIAL_MEMORY >= TOTAL_STACK, "INITIAL_MEMORY should be larger than TOTAL_STACK, was " + - INITIAL_MEMORY + - "! (TOTAL_STACK=" + - TOTAL_STACK + - ")" + INITIAL_MEMORY + + "! (TOTAL_STACK=" + + TOTAL_STACK + + ")" ); // check for full engine support (use string 'subarray' to avoid closure compiler confusion) assert( typeof Int32Array !== "undefined" && - typeof Float64Array !== "undefined" && - Int32Array.prototype.subarray !== undefined && - Int32Array.prototype.set !== undefined, + typeof Float64Array !== "undefined" && + Int32Array.prototype.subarray !== undefined && + Int32Array.prototype.set !== undefined, "JS engine does not provide full typed array support" ); @@ -1523,9 +1523,9 @@ var TreeSitter = (function () { if (cookie1 != 0x2135467 || cookie2 != 0x89bacdfe) { abort( "Stack overflow! Stack cookie has been overwritten, expected hex dwords 0x89BACDFE and 0x2135467, but received 0x" + - cookie2.toString(16) + - " " + - cookie1.toString(16) + cookie2.toString(16) + + " " + + cookie1.toString(16) ); } // Also test the global address 0 for integrity. @@ -1614,7 +1614,7 @@ var TreeSitter = (function () { __ATMAIN__.unshift(cb); } - function addOnExit(cb) { } + function addOnExit(cb) {} function addOnPostRun(cb) { __ATPOSTRUN__.unshift(cb); @@ -1837,14 +1837,14 @@ var TreeSitter = (function () { assert( runtimeInitialized, "native function `" + - displayName + - "` called before runtime initialization" + displayName + + "` called before runtime initialization" ); assert( !runtimeExited, "native function `" + - displayName + - "` called after runtime exit (use NO_EXIT_RUNTIME to keep it alive after main() exits)" + displayName + + "` called after runtime exit (use NO_EXIT_RUNTIME to keep it alive after main() exits)" ); if (!asm[name]) { assert( @@ -1912,7 +1912,7 @@ var TreeSitter = (function () { wasmBinaryFile, function (response) { resolve( - new Uint8Array(/** @type{!ArrayBuffer} */(response)) + new Uint8Array(/** @type{!ArrayBuffer} */ (response)) ); }, reject @@ -1992,8 +1992,8 @@ var TreeSitter = (function () { if (isFileURI(wasmBinaryFile)) { err( "warning: Loading from a file URI (" + - wasmBinaryFile + - ") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing" + wasmBinaryFile + + ") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing" ); } abort(reason); @@ -2422,8 +2422,8 @@ var TreeSitter = (function () { assert( resolved, "undefined symbol `" + - sym + - "`. perhaps a side module was not linked in? if this global was expected to arrive from a system library, try to build the MAIN_MODULE with EMCC_FORCE_STDLIBS=1 in the environment" + sym + + "`. perhaps a side module was not linked in? if this global was expected to arrive from a system library, try to build the MAIN_MODULE with EMCC_FORCE_STDLIBS=1 in the environment" ); return resolved; } @@ -2672,8 +2672,8 @@ var TreeSitter = (function () { assert( value, "undefined symbol `" + - symName + - "`. perhaps a side module was not linked in? if this global was expected to arrive from a system library, try to build the MAIN_MODULE with EMCC_FORCE_STDLIBS=1 in the environment" + symName + + "`. perhaps a side module was not linked in? if this global was expected to arrive from a system library, try to build the MAIN_MODULE with EMCC_FORCE_STDLIBS=1 in the environment" ); if (typeof value === "function") { GOT[symName].value = addFunctionWasm(value, value.sig); @@ -2798,11 +2798,11 @@ var TreeSitter = (function () { } catch (e) { console.error( "emscripten_realloc_buffer: Attempted to grow heap from " + - buffer.byteLength + - " bytes to " + - size + - " bytes, but got error: " + - e + buffer.byteLength + + " bytes to " + + size + + " bytes, but got error: " + + e ); } // implicit 0 return to save code size (caller will cast "undefined" into 0 @@ -2833,10 +2833,10 @@ var TreeSitter = (function () { if (requestedSize > maxHeapSize) { err( "Cannot enlarge memory, asked to go up to " + - requestedSize + - " bytes, but the limit is " + - maxHeapSize + - " bytes!" + requestedSize + + " bytes, but the limit is " + + maxHeapSize + + " bytes!" ); return false; } @@ -2863,10 +2863,10 @@ var TreeSitter = (function () { } err( "Failed to grow the heap from " + - oldSize + - " bytes to " + - newSize + - " bytes, not enough memory!" + oldSize + + " bytes to " + + newSize + + " bytes, not enough memory!" ); return false; } @@ -2929,18 +2929,18 @@ var TreeSitter = (function () { (tempI64 = [ stat.size >>> 0, ((tempDouble = stat.size), - +Math.abs(tempDouble) >= 1.0 - ? tempDouble > 0.0 - ? (Math.min( + +Math.abs(tempDouble) >= 1.0 + ? tempDouble > 0.0 + ? (Math.min( +Math.floor(tempDouble / 4294967296.0), 4294967295.0 ) | 0) >>> 0 - : ~~+Math.ceil( + : ~~+Math.ceil( (tempDouble - +(~~tempDouble >>> 0)) / 4294967296.0 ) >>> 0 - : 0), + : 0), ]), (HEAP32[(buf + 40) >> 2] = tempI64[0]), (HEAP32[(buf + 44) >> 2] = tempI64[1]); @@ -2955,18 +2955,18 @@ var TreeSitter = (function () { (tempI64 = [ stat.ino >>> 0, ((tempDouble = stat.ino), - +Math.abs(tempDouble) >= 1.0 - ? tempDouble > 0.0 - ? (Math.min( + +Math.abs(tempDouble) >= 1.0 + ? tempDouble > 0.0 + ? (Math.min( +Math.floor(tempDouble / 4294967296.0), 4294967295.0 ) | 0) >>> 0 - : ~~+Math.ceil( + : ~~+Math.ceil( (tempDouble - +(~~tempDouble >>> 0)) / 4294967296.0 ) >>> 0 - : 0), + : 0), ]), (HEAP32[(buf + 80) >> 2] = tempI64[0]), (HEAP32[(buf + 84) >> 2] = tempI64[1]); @@ -3116,18 +3116,18 @@ var TreeSitter = (function () { (tempI64 = [ stream.position >>> 0, ((tempDouble = stream.position), - +Math.abs(tempDouble) >= 1.0 - ? tempDouble > 0.0 - ? (Math.min( + +Math.abs(tempDouble) >= 1.0 + ? tempDouble > 0.0 + ? (Math.min( +Math.floor(tempDouble / 4294967296.0), 4294967295.0 ) | 0) >>> 0 - : ~~+Math.ceil( + : ~~+Math.ceil( (tempDouble - +(~~tempDouble >>> 0)) / 4294967296.0 ) >>> 0 - : 0), + : 0), ]), (HEAP32[newOffset >> 2] = tempI64[0]), (HEAP32[(newOffset + 4) >> 2] = tempI64[1]); @@ -3216,12 +3216,12 @@ var TreeSitter = (function () { assert( false, "Character code " + - chr + - " (" + - String.fromCharCode(chr) + - ") at offset " + - i + - " not in 0x00-0xFF." + chr + + " (" + + String.fromCharCode(chr) + + ") at offset " + + i + + " not in 0x00-0xFF." ); } chr &= 0xff; @@ -3245,36 +3245,36 @@ var TreeSitter = (function () { typeof atob === "function" ? atob : function (input) { - var keyStr = - "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; - - var output = ""; - var chr1, chr2, chr3; - var enc1, enc2, enc3, enc4; - var i = 0; - // remove all characters that are not A-Z, a-z, 0-9, +, /, or = - input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); - do { - enc1 = keyStr.indexOf(input.charAt(i++)); - enc2 = keyStr.indexOf(input.charAt(i++)); - enc3 = keyStr.indexOf(input.charAt(i++)); - enc4 = keyStr.indexOf(input.charAt(i++)); - - chr1 = (enc1 << 2) | (enc2 >> 4); - chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); - chr3 = ((enc3 & 3) << 6) | enc4; - - output = output + String.fromCharCode(chr1); - - if (enc3 !== 64) { - output = output + String.fromCharCode(chr2); - } - if (enc4 !== 64) { - output = output + String.fromCharCode(chr3); - } - } while (i < input.length); - return output; - }; + var keyStr = + "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; + + var output = ""; + var chr1, chr2, chr3; + var enc1, enc2, enc3, enc4; + var i = 0; + // remove all characters that are not A-Z, a-z, 0-9, +, /, or = + input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); + do { + enc1 = keyStr.indexOf(input.charAt(i++)); + enc2 = keyStr.indexOf(input.charAt(i++)); + enc3 = keyStr.indexOf(input.charAt(i++)); + enc4 = keyStr.indexOf(input.charAt(i++)); + + chr1 = (enc1 << 2) | (enc2 >> 4); + chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); + chr3 = ((enc3 & 3) << 6) | enc4; + + output = output + String.fromCharCode(chr1); + + if (enc3 !== 64) { + output = output + String.fromCharCode(chr2); + } + if (enc4 !== 64) { + output = output + String.fromCharCode(chr3); + } + } while (i < input.length); + return output; + }; // Converts a string of base64 into a byte array. // Throws error on invalid input. @@ -3744,9 +3744,9 @@ var TreeSitter = (function () { "_emscripten_stack_set_limits" ] = Module["asm"]["emscripten_stack_set_limits"]).apply( - null, - arguments - ); + null, + arguments + ); }); /** @type {function(...*):?} */ @@ -3756,9 +3756,9 @@ var TreeSitter = (function () { "_emscripten_stack_get_free" ] = Module["asm"]["emscripten_stack_get_free"]).apply( - null, - arguments - ); + null, + arguments + ); }); /** @type {function(...*):?} */ @@ -5578,7 +5578,7 @@ var TreeSitter = (function () { // it doesn't matter if it fails var flush = Module["_fflush"]; if (flush) flush(0); - } catch (e) { } + } catch (e) {} out = oldOut; err = oldErr; if (has) { @@ -5694,7 +5694,7 @@ var TreeSitter = (function () { if (version < MIN_COMPATIBLE_VERSION || VERSION < version) { throw new Error( `Incompatible language version ${version}. ` + - `Compatibility range ${MIN_COMPATIBLE_VERSION} through ${VERSION}.` + `Compatibility range ${MIN_COMPATIBLE_VERSION} through ${VERSION}.` ); } } else { @@ -6462,7 +6462,8 @@ var TreeSitter = (function () { case "eq?": if (steps.length !== 3) throw new Error( - `Wrong number of arguments to \`#eq?\` predicate. Expected 2, got ${steps.length - 1 + `Wrong number of arguments to \`#eq?\` predicate. Expected 2, got ${ + steps.length - 1 }` ); if (steps[1].type !== "capture") @@ -6503,7 +6504,8 @@ var TreeSitter = (function () { case "match?": if (steps.length !== 3) throw new Error( - `Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${steps.length - 1 + `Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${ + steps.length - 1 }.` ); if (steps[1].type !== "capture") @@ -6528,7 +6530,8 @@ var TreeSitter = (function () { case "set!": if (steps.length < 2 || steps.length > 3) throw new Error( - `Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${steps.length - 1 + `Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${ + steps.length - 1 }.` ); if (steps.some((s) => s.type !== "string")) @@ -6545,7 +6548,8 @@ var TreeSitter = (function () { case "is-not?": if (steps.length < 2 || steps.length > 3) throw new Error( - `Wrong number of arguments to \`#${operator}\` predicate. Expected 1 or 2. Got ${steps.length - 1 + `Wrong number of arguments to \`#${operator}\` predicate. Expected 1 or 2. Got ${ + steps.length - 1 }.` ); if (steps.some((s) => s.type !== "string")) @@ -22965,6 +22969,7 @@ var require_yaml_intelligence_resources = __commonJS({ "The light theme name, theme scss file, or a mix of both.", "The dark theme name, theme scss file, or a mix of both.", "The dark theme name, theme scss file, or a mix of both.", + "Array of rendering names, e.g. [light, dark]", "Classes to apply to the body of the document.", "Disables the built in html features like theming, anchor sections,\ncode block behavior, and more.", "Enables inclusion of Pandoc default CSS for this document.", @@ -24069,7 +24074,6 @@ var require_yaml_intelligence_resources = __commonJS({ "Disambiguating year suffix in author-date styles (e.g. \u201Ca\u201D in \u201CDoe,\n1999a\u201D).", "Manuscript configuration", "internal-schema-hack", - "Array of rendering names", "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." ], "schema/external-schemas.yml": [ @@ -24299,12 +24303,12 @@ var require_yaml_intelligence_resources = __commonJS({ mermaid: "%%" }, "handlers/mermaid/schema.yml": { - _internalId: 194327, + _internalId: 195005, type: "object", description: "be an object", properties: { "mermaid-format": { - _internalId: 194319, + _internalId: 194997, type: "enum", enum: [ "png", @@ -24320,7 +24324,7 @@ var require_yaml_intelligence_resources = __commonJS({ exhaustiveCompletions: true }, theme: { - _internalId: 194326, + _internalId: 195004, type: "anyOf", anyOf: [ { @@ -24574,7 +24578,7 @@ function* lineOffsets(text) { } function indexToLineCol(text) { const offsets = Array.from(lineOffsets(text)); - return function (offset) { + return function(offset) { if (offset === 0) { return { line: 0, @@ -24590,7 +24594,7 @@ function indexToLineCol(text) { } function lineColToIndex(text) { const offsets = Array.from(lineOffsets(text)); - return function (position) { + return function(position) { return offsets[position.line] + position.column; }; } @@ -24846,7 +24850,7 @@ function asMappedString(str2, fileName) { return { value: str2, fileName, - map: function (index, closest) { + map: function(index, closest) { if (closest) { index = Math.min(str2.length - 1, Math.max(0, index)); } @@ -24910,7 +24914,7 @@ function mappedConcat(strings) { } function mappedIndexToLineCol(eitherText) { const text = asMappedString(eitherText); - return function (offset) { + return function(offset) { const mapResult = text.map(offset, true); if (mapResult === void 0) { throw new InternalError("bad offset in mappedIndexRowCol"); @@ -25296,8 +25300,8 @@ var YAML_NODE_KINDS = ["scalar", "sequence", "mapping"]; function compileStyleAliases(map2) { var result = {}; if (map2 !== null) { - Object.keys(map2).forEach(function (style) { - map2[style].forEach(function (alias) { + Object.keys(map2).forEach(function(style) { + map2[style].forEach(function(alias) { result[String(alias)] = style; }); }); @@ -25306,7 +25310,7 @@ function compileStyleAliases(map2) { } function Type$1(tag, options) { options = options || {}; - Object.keys(options).forEach(function (name) { + Object.keys(options).forEach(function(name) { if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) { throw new exception( 'Unknown option "' + name + '" is met in definition of "' + tag + '" YAML type.' @@ -25316,10 +25320,10 @@ function Type$1(tag, options) { this.options = options; this.tag = tag; this.kind = options["kind"] || null; - this.resolve = options["resolve"] || function () { + this.resolve = options["resolve"] || function() { return true; }; - this.construct = options["construct"] || function (data) { + this.construct = options["construct"] || function(data) { return data; }; this.instanceOf = options["instanceOf"] || null; @@ -25338,9 +25342,9 @@ function Type$1(tag, options) { var type = Type$1; function compileList(schema2, name) { var result = []; - schema2[name].forEach(function (currentType) { + schema2[name].forEach(function(currentType) { var newIndex = result.length; - result.forEach(function (previousType, previousIndex) { + result.forEach(function(previousType, previousIndex) { if (previousType.tag === currentType.tag && previousType.kind === currentType.kind && previousType.multi === currentType.multi) { newIndex = previousIndex; } @@ -25395,7 +25399,7 @@ Schema$1.prototype.extend = function extend2(definition) { "Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })" ); } - implicit.forEach(function (type$1) { + implicit.forEach(function(type$1) { if (!(type$1 instanceof type)) { throw new exception( "Specified list of YAML types (or a single Type object) contains a non-Type object." @@ -25412,7 +25416,7 @@ Schema$1.prototype.extend = function extend2(definition) { ); } }); - explicit.forEach(function (type$1) { + explicit.forEach(function(type$1) { if (!(type$1 instanceof type)) { throw new exception( "Specified list of YAML types (or a single Type object) contains a non-Type object." @@ -25433,19 +25437,19 @@ Schema$1.prototype.extend = function extend2(definition) { var schema = Schema$1; var str = new type("tag:yaml.org,2002:str", { kind: "scalar", - construct: function (data) { + construct: function(data) { return data !== null ? data : ""; } }); var seq = new type("tag:yaml.org,2002:seq", { kind: "sequence", - construct: function (data) { + construct: function(data) { return data !== null ? data : []; } }); var map = new type("tag:yaml.org,2002:map", { kind: "mapping", - construct: function (data) { + construct: function(data) { return data !== null ? data : {}; } }); @@ -25470,19 +25474,19 @@ var _null = new type("tag:yaml.org,2002:null", { construct: constructYamlNull, predicate: isNull, represent: { - canonical: function () { + canonical: function() { return "~"; }, - lowercase: function () { + lowercase: function() { return "null"; }, - uppercase: function () { + uppercase: function() { return "NULL"; }, - camelcase: function () { + camelcase: function() { return "Null"; }, - empty: function () { + empty: function() { return ""; } }, @@ -25506,13 +25510,13 @@ var bool = new type("tag:yaml.org,2002:bool", { construct: constructYamlBoolean, predicate: isBoolean, represent: { - lowercase: function (object) { + lowercase: function(object) { return object ? "true" : "false"; }, - uppercase: function (object) { + uppercase: function(object) { return object ? "TRUE" : "FALSE"; }, - camelcase: function (object) { + camelcase: function(object) { return object ? "True" : "False"; } }, @@ -25626,16 +25630,16 @@ var int = new type("tag:yaml.org,2002:int", { construct: constructYamlInteger, predicate: isInteger, represent: { - binary: function (obj) { + binary: function(obj) { return obj >= 0 ? "0b" + obj.toString(2) : "-0b" + obj.toString(2).slice(1); }, - octal: function (obj) { + octal: function(obj) { return obj >= 0 ? "0o" + obj.toString(8) : "-0o" + obj.toString(8).slice(1); }, - decimal: function (obj) { + decimal: function(obj) { return obj.toString(10); }, - hexadecimal: function (obj) { + hexadecimal: function(obj) { return obj >= 0 ? "0x" + obj.toString(16).toUpperCase() : "-0x" + obj.toString(16).toUpperCase().slice(1); } }, @@ -27502,7 +27506,7 @@ function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, te return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE; } function writeScalar(state, string, level, iskey, inblock) { - state.dump = function () { + state.dump = function() { if (string.length === 0) { return state.quotingType === QUOTING_TYPE_DOUBLE ? '""' : "''"; } @@ -27554,7 +27558,7 @@ function dropEndingNewline(string) { } function foldString(string, width) { var lineRe = /(\n+)([^\n]*)/g; - var result = function () { + var result = function() { var nextLF = string.indexOf("\n"); nextLF = nextLF !== -1 ? nextLF : string.length; lineRe.lastIndex = nextLF; @@ -27889,7 +27893,7 @@ var dumper = { dump: dump_1 }; function renamed(from, to) { - return function () { + return function() { throw new Error( "Function yaml." + from + " is removed in js-yaml 4. Use yaml." + to + " instead, which is now safe by default." ); @@ -28677,7 +28681,7 @@ var RegExpValidator = class { const start = this.index; let inClass = false; let escaped = false; - for (; ;) { + for (; ; ) { const cp = this.currentCodePoint; if (cp === -1 || isLineTerminator(cp)) { const kind = inClass ? "character class" : "regular expression"; @@ -29078,7 +29082,7 @@ var RegExpValidator = class { } consumeClassRanges() { const strict = this.strict || this._uFlag; - for (; ;) { + for (; ; ) { const rangeStart = this.index; if (!this.consumeClassAtom()) { break; @@ -32525,7 +32529,7 @@ function globToRegExp(glob, { ; glob = glob.slice(0, newLength); let regExpString = ""; - for (let j = 0; j < glob.length;) { + for (let j = 0; j < glob.length; ) { let segment = ""; const groupStack = []; let inRange = false; @@ -33542,7 +33546,7 @@ async function partitionCellOptionsMapped(language, outerSource, validate2 = fal sourceStartLine } = partitionCellOptionsText(language, outerSource); if (language !== "r" || // only skip validation when language === 'r' and guessChunkOptionsFormat == "knitr" - guessChunkOptionsFormat((mappedYaml || asMappedString("")).value) === "yaml") { + guessChunkOptionsFormat((mappedYaml || asMappedString("")).value) === "yaml") { const yaml = await parseAndValidateCellOptions( mappedYaml || asMappedString(""), language, diff --git a/src/resources/editor/tools/yaml/web-worker.js b/src/resources/editor/tools/yaml/web-worker.js index ea123127f43..6594046dfb9 100644 --- a/src/resources/editor/tools/yaml/web-worker.js +++ b/src/resources/editor/tools/yaml/web-worker.js @@ -243,7 +243,7 @@ var TreeSitter = (function () { xhr.responseType = "arraybuffer"; xhr.send(null); return new Uint8Array( - /** @type{!ArrayBuffer} */(xhr.response) + /** @type{!ArrayBuffer} */ (xhr.response) ); } catch (err) { var data = tryParseAsDataURI(url); @@ -746,18 +746,18 @@ var TreeSitter = (function () { (tempI64 = [ value >>> 0, ((tempDouble = value), - +Math.abs(tempDouble) >= 1.0 - ? tempDouble > 0.0 - ? (Math.min( + +Math.abs(tempDouble) >= 1.0 + ? tempDouble > 0.0 + ? (Math.min( +Math.floor(tempDouble / 4294967296.0), 4294967295.0 ) | 0) >>> 0 - : ~~+Math.ceil( + : ~~+Math.ceil( (tempDouble - +(~~tempDouble >>> 0)) / 4294967296.0 ) >>> 0 - : 0), + : 0), ]), (HEAP32[ptr >> 2] = tempI64[0]), (HEAP32[(ptr + 4) >> 2] = tempI64[1]); @@ -831,8 +831,8 @@ var TreeSitter = (function () { assert( func, "Cannot call unknown function " + - ident + - ", make sure it is exported" + ident + + ", make sure it is exported" ); return func; } @@ -932,7 +932,7 @@ var TreeSitter = (function () { } if (slab.subarray || slab.slice) { - HEAPU8.set(/** @type {!Uint8Array} */(slab), ret); + HEAPU8.set(/** @type {!Uint8Array} */ (slab), ret); } else { HEAPU8.set(new Uint8Array(slab), ret); } @@ -991,8 +991,8 @@ var TreeSitter = (function () { if ((u0 & 0xf8) != 0xf0) warnOnce( "Invalid UTF-8 leading byte 0x" + - u0.toString(16) + - " encountered when deserializing a UTF-8 string in wasm memory to a JS string!" + u0.toString(16) + + " encountered when deserializing a UTF-8 string in wasm memory to a JS string!" ); u0 = ((u0 & 7) << 18) | @@ -1080,8 +1080,8 @@ var TreeSitter = (function () { if (u >= 0x200000) warnOnce( "Invalid Unicode code point 0x" + - u.toString(16) + - " encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x1FFFFF)." + u.toString(16) + + " encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x1FFFFF)." ); heap[outIdx++] = 0xf0 | (u >> 18); heap[outIdx++] = 0x80 | ((u >> 12) & 63); @@ -1448,18 +1448,18 @@ var TreeSitter = (function () { assert( INITIAL_MEMORY >= TOTAL_STACK, "INITIAL_MEMORY should be larger than TOTAL_STACK, was " + - INITIAL_MEMORY + - "! (TOTAL_STACK=" + - TOTAL_STACK + - ")" + INITIAL_MEMORY + + "! (TOTAL_STACK=" + + TOTAL_STACK + + ")" ); // check for full engine support (use string 'subarray' to avoid closure compiler confusion) assert( typeof Int32Array !== "undefined" && - typeof Float64Array !== "undefined" && - Int32Array.prototype.subarray !== undefined && - Int32Array.prototype.set !== undefined, + typeof Float64Array !== "undefined" && + Int32Array.prototype.subarray !== undefined && + Int32Array.prototype.set !== undefined, "JS engine does not provide full typed array support" ); @@ -1523,9 +1523,9 @@ var TreeSitter = (function () { if (cookie1 != 0x2135467 || cookie2 != 0x89bacdfe) { abort( "Stack overflow! Stack cookie has been overwritten, expected hex dwords 0x89BACDFE and 0x2135467, but received 0x" + - cookie2.toString(16) + - " " + - cookie1.toString(16) + cookie2.toString(16) + + " " + + cookie1.toString(16) ); } // Also test the global address 0 for integrity. @@ -1614,7 +1614,7 @@ var TreeSitter = (function () { __ATMAIN__.unshift(cb); } - function addOnExit(cb) { } + function addOnExit(cb) {} function addOnPostRun(cb) { __ATPOSTRUN__.unshift(cb); @@ -1837,14 +1837,14 @@ var TreeSitter = (function () { assert( runtimeInitialized, "native function `" + - displayName + - "` called before runtime initialization" + displayName + + "` called before runtime initialization" ); assert( !runtimeExited, "native function `" + - displayName + - "` called after runtime exit (use NO_EXIT_RUNTIME to keep it alive after main() exits)" + displayName + + "` called after runtime exit (use NO_EXIT_RUNTIME to keep it alive after main() exits)" ); if (!asm[name]) { assert( @@ -1912,7 +1912,7 @@ var TreeSitter = (function () { wasmBinaryFile, function (response) { resolve( - new Uint8Array(/** @type{!ArrayBuffer} */(response)) + new Uint8Array(/** @type{!ArrayBuffer} */ (response)) ); }, reject @@ -1992,8 +1992,8 @@ var TreeSitter = (function () { if (isFileURI(wasmBinaryFile)) { err( "warning: Loading from a file URI (" + - wasmBinaryFile + - ") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing" + wasmBinaryFile + + ") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing" ); } abort(reason); @@ -2422,8 +2422,8 @@ var TreeSitter = (function () { assert( resolved, "undefined symbol `" + - sym + - "`. perhaps a side module was not linked in? if this global was expected to arrive from a system library, try to build the MAIN_MODULE with EMCC_FORCE_STDLIBS=1 in the environment" + sym + + "`. perhaps a side module was not linked in? if this global was expected to arrive from a system library, try to build the MAIN_MODULE with EMCC_FORCE_STDLIBS=1 in the environment" ); return resolved; } @@ -2672,8 +2672,8 @@ var TreeSitter = (function () { assert( value, "undefined symbol `" + - symName + - "`. perhaps a side module was not linked in? if this global was expected to arrive from a system library, try to build the MAIN_MODULE with EMCC_FORCE_STDLIBS=1 in the environment" + symName + + "`. perhaps a side module was not linked in? if this global was expected to arrive from a system library, try to build the MAIN_MODULE with EMCC_FORCE_STDLIBS=1 in the environment" ); if (typeof value === "function") { GOT[symName].value = addFunctionWasm(value, value.sig); @@ -2798,11 +2798,11 @@ var TreeSitter = (function () { } catch (e) { console.error( "emscripten_realloc_buffer: Attempted to grow heap from " + - buffer.byteLength + - " bytes to " + - size + - " bytes, but got error: " + - e + buffer.byteLength + + " bytes to " + + size + + " bytes, but got error: " + + e ); } // implicit 0 return to save code size (caller will cast "undefined" into 0 @@ -2833,10 +2833,10 @@ var TreeSitter = (function () { if (requestedSize > maxHeapSize) { err( "Cannot enlarge memory, asked to go up to " + - requestedSize + - " bytes, but the limit is " + - maxHeapSize + - " bytes!" + requestedSize + + " bytes, but the limit is " + + maxHeapSize + + " bytes!" ); return false; } @@ -2863,10 +2863,10 @@ var TreeSitter = (function () { } err( "Failed to grow the heap from " + - oldSize + - " bytes to " + - newSize + - " bytes, not enough memory!" + oldSize + + " bytes to " + + newSize + + " bytes, not enough memory!" ); return false; } @@ -2929,18 +2929,18 @@ var TreeSitter = (function () { (tempI64 = [ stat.size >>> 0, ((tempDouble = stat.size), - +Math.abs(tempDouble) >= 1.0 - ? tempDouble > 0.0 - ? (Math.min( + +Math.abs(tempDouble) >= 1.0 + ? tempDouble > 0.0 + ? (Math.min( +Math.floor(tempDouble / 4294967296.0), 4294967295.0 ) | 0) >>> 0 - : ~~+Math.ceil( + : ~~+Math.ceil( (tempDouble - +(~~tempDouble >>> 0)) / 4294967296.0 ) >>> 0 - : 0), + : 0), ]), (HEAP32[(buf + 40) >> 2] = tempI64[0]), (HEAP32[(buf + 44) >> 2] = tempI64[1]); @@ -2955,18 +2955,18 @@ var TreeSitter = (function () { (tempI64 = [ stat.ino >>> 0, ((tempDouble = stat.ino), - +Math.abs(tempDouble) >= 1.0 - ? tempDouble > 0.0 - ? (Math.min( + +Math.abs(tempDouble) >= 1.0 + ? tempDouble > 0.0 + ? (Math.min( +Math.floor(tempDouble / 4294967296.0), 4294967295.0 ) | 0) >>> 0 - : ~~+Math.ceil( + : ~~+Math.ceil( (tempDouble - +(~~tempDouble >>> 0)) / 4294967296.0 ) >>> 0 - : 0), + : 0), ]), (HEAP32[(buf + 80) >> 2] = tempI64[0]), (HEAP32[(buf + 84) >> 2] = tempI64[1]); @@ -3116,18 +3116,18 @@ var TreeSitter = (function () { (tempI64 = [ stream.position >>> 0, ((tempDouble = stream.position), - +Math.abs(tempDouble) >= 1.0 - ? tempDouble > 0.0 - ? (Math.min( + +Math.abs(tempDouble) >= 1.0 + ? tempDouble > 0.0 + ? (Math.min( +Math.floor(tempDouble / 4294967296.0), 4294967295.0 ) | 0) >>> 0 - : ~~+Math.ceil( + : ~~+Math.ceil( (tempDouble - +(~~tempDouble >>> 0)) / 4294967296.0 ) >>> 0 - : 0), + : 0), ]), (HEAP32[newOffset >> 2] = tempI64[0]), (HEAP32[(newOffset + 4) >> 2] = tempI64[1]); @@ -3216,12 +3216,12 @@ var TreeSitter = (function () { assert( false, "Character code " + - chr + - " (" + - String.fromCharCode(chr) + - ") at offset " + - i + - " not in 0x00-0xFF." + chr + + " (" + + String.fromCharCode(chr) + + ") at offset " + + i + + " not in 0x00-0xFF." ); } chr &= 0xff; @@ -3245,36 +3245,36 @@ var TreeSitter = (function () { typeof atob === "function" ? atob : function (input) { - var keyStr = - "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; - - var output = ""; - var chr1, chr2, chr3; - var enc1, enc2, enc3, enc4; - var i = 0; - // remove all characters that are not A-Z, a-z, 0-9, +, /, or = - input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); - do { - enc1 = keyStr.indexOf(input.charAt(i++)); - enc2 = keyStr.indexOf(input.charAt(i++)); - enc3 = keyStr.indexOf(input.charAt(i++)); - enc4 = keyStr.indexOf(input.charAt(i++)); - - chr1 = (enc1 << 2) | (enc2 >> 4); - chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); - chr3 = ((enc3 & 3) << 6) | enc4; - - output = output + String.fromCharCode(chr1); - - if (enc3 !== 64) { - output = output + String.fromCharCode(chr2); - } - if (enc4 !== 64) { - output = output + String.fromCharCode(chr3); - } - } while (i < input.length); - return output; - }; + var keyStr = + "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; + + var output = ""; + var chr1, chr2, chr3; + var enc1, enc2, enc3, enc4; + var i = 0; + // remove all characters that are not A-Z, a-z, 0-9, +, /, or = + input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); + do { + enc1 = keyStr.indexOf(input.charAt(i++)); + enc2 = keyStr.indexOf(input.charAt(i++)); + enc3 = keyStr.indexOf(input.charAt(i++)); + enc4 = keyStr.indexOf(input.charAt(i++)); + + chr1 = (enc1 << 2) | (enc2 >> 4); + chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); + chr3 = ((enc3 & 3) << 6) | enc4; + + output = output + String.fromCharCode(chr1); + + if (enc3 !== 64) { + output = output + String.fromCharCode(chr2); + } + if (enc4 !== 64) { + output = output + String.fromCharCode(chr3); + } + } while (i < input.length); + return output; + }; // Converts a string of base64 into a byte array. // Throws error on invalid input. @@ -3744,9 +3744,9 @@ var TreeSitter = (function () { "_emscripten_stack_set_limits" ] = Module["asm"]["emscripten_stack_set_limits"]).apply( - null, - arguments - ); + null, + arguments + ); }); /** @type {function(...*):?} */ @@ -3756,9 +3756,9 @@ var TreeSitter = (function () { "_emscripten_stack_get_free" ] = Module["asm"]["emscripten_stack_get_free"]).apply( - null, - arguments - ); + null, + arguments + ); }); /** @type {function(...*):?} */ @@ -5578,7 +5578,7 @@ var TreeSitter = (function () { // it doesn't matter if it fails var flush = Module["_fflush"]; if (flush) flush(0); - } catch (e) { } + } catch (e) {} out = oldOut; err = oldErr; if (has) { @@ -5694,7 +5694,7 @@ var TreeSitter = (function () { if (version < MIN_COMPATIBLE_VERSION || VERSION < version) { throw new Error( `Incompatible language version ${version}. ` + - `Compatibility range ${MIN_COMPATIBLE_VERSION} through ${VERSION}.` + `Compatibility range ${MIN_COMPATIBLE_VERSION} through ${VERSION}.` ); } } else { @@ -6462,7 +6462,8 @@ var TreeSitter = (function () { case "eq?": if (steps.length !== 3) throw new Error( - `Wrong number of arguments to \`#eq?\` predicate. Expected 2, got ${steps.length - 1 + `Wrong number of arguments to \`#eq?\` predicate. Expected 2, got ${ + steps.length - 1 }` ); if (steps[1].type !== "capture") @@ -6503,7 +6504,8 @@ var TreeSitter = (function () { case "match?": if (steps.length !== 3) throw new Error( - `Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${steps.length - 1 + `Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${ + steps.length - 1 }.` ); if (steps[1].type !== "capture") @@ -6528,7 +6530,8 @@ var TreeSitter = (function () { case "set!": if (steps.length < 2 || steps.length > 3) throw new Error( - `Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${steps.length - 1 + `Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${ + steps.length - 1 }.` ); if (steps.some((s) => s.type !== "string")) @@ -6545,7 +6548,8 @@ var TreeSitter = (function () { case "is-not?": if (steps.length < 2 || steps.length > 3) throw new Error( - `Wrong number of arguments to \`#${operator}\` predicate. Expected 1 or 2. Got ${steps.length - 1 + `Wrong number of arguments to \`#${operator}\` predicate. Expected 1 or 2. Got ${ + steps.length - 1 }.` ); if (steps.some((s) => s.type !== "string")) @@ -22966,6 +22970,7 @@ try { "The light theme name, theme scss file, or a mix of both.", "The dark theme name, theme scss file, or a mix of both.", "The dark theme name, theme scss file, or a mix of both.", + "Array of rendering names, e.g. [light, dark]", "Classes to apply to the body of the document.", "Disables the built in html features like theming, anchor sections,\ncode block behavior, and more.", "Enables inclusion of Pandoc default CSS for this document.", @@ -24070,8 +24075,7 @@ try { "Disambiguating year suffix in author-date styles (e.g. \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.", - "Array of rendering names, e.g. [light, dark]" + "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." ], "schema/external-schemas.yml": [ { @@ -24300,12 +24304,12 @@ try { mermaid: "%%" }, "handlers/mermaid/schema.yml": { - _internalId: 194632, + _internalId: 195005, type: "object", description: "be an object", properties: { "mermaid-format": { - _internalId: 194624, + _internalId: 194997, type: "enum", enum: [ "png", @@ -24321,7 +24325,7 @@ try { exhaustiveCompletions: true }, theme: { - _internalId: 194631, + _internalId: 195004, type: "anyOf", anyOf: [ { @@ -24420,7 +24424,7 @@ try { // web-worker-manager.ts function workerCallback(calls) { - return async function (e) { + return async function(e) { const { callName, args, id } = e.data; try { const result = await calls[callName](...args); @@ -24588,7 +24592,7 @@ ${heading}`; } function indexToLineCol(text) { const offsets = Array.from(lineOffsets(text)); - return function (offset) { + return function(offset) { if (offset === 0) { return { line: 0, @@ -24604,7 +24608,7 @@ ${heading}`; } function lineColToIndex(text) { const offsets = Array.from(lineOffsets(text)); - return function (position) { + return function(position) { return offsets[position.line] + position.column; }; } @@ -24860,7 +24864,7 @@ ${heading}`; return { value: str2, fileName, - map: function (index, closest) { + map: function(index, closest) { if (closest) { index = Math.min(str2.length - 1, Math.max(0, index)); } @@ -24924,7 +24928,7 @@ ${heading}`; } function mappedIndexToLineCol(eitherText) { const text = asMappedString(eitherText); - return function (offset) { + return function(offset) { const mapResult = text.map(offset, true); if (mapResult === void 0) { throw new InternalError("bad offset in mappedIndexRowCol"); @@ -25310,8 +25314,8 @@ ${heading}`; function compileStyleAliases(map2) { var result = {}; if (map2 !== null) { - Object.keys(map2).forEach(function (style) { - map2[style].forEach(function (alias) { + Object.keys(map2).forEach(function(style) { + map2[style].forEach(function(alias) { result[String(alias)] = style; }); }); @@ -25320,7 +25324,7 @@ ${heading}`; } function Type$1(tag, options) { options = options || {}; - Object.keys(options).forEach(function (name) { + Object.keys(options).forEach(function(name) { if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) { throw new exception( 'Unknown option "' + name + '" is met in definition of "' + tag + '" YAML type.' @@ -25330,10 +25334,10 @@ ${heading}`; this.options = options; this.tag = tag; this.kind = options["kind"] || null; - this.resolve = options["resolve"] || function () { + this.resolve = options["resolve"] || function() { return true; }; - this.construct = options["construct"] || function (data) { + this.construct = options["construct"] || function(data) { return data; }; this.instanceOf = options["instanceOf"] || null; @@ -25352,9 +25356,9 @@ ${heading}`; var type = Type$1; function compileList(schema2, name) { var result = []; - schema2[name].forEach(function (currentType) { + schema2[name].forEach(function(currentType) { var newIndex = result.length; - result.forEach(function (previousType, previousIndex) { + result.forEach(function(previousType, previousIndex) { if (previousType.tag === currentType.tag && previousType.kind === currentType.kind && previousType.multi === currentType.multi) { newIndex = previousIndex; } @@ -25409,7 +25413,7 @@ ${heading}`; "Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })" ); } - implicit.forEach(function (type$1) { + implicit.forEach(function(type$1) { if (!(type$1 instanceof type)) { throw new exception( "Specified list of YAML types (or a single Type object) contains a non-Type object." @@ -25426,7 +25430,7 @@ ${heading}`; ); } }); - explicit.forEach(function (type$1) { + explicit.forEach(function(type$1) { if (!(type$1 instanceof type)) { throw new exception( "Specified list of YAML types (or a single Type object) contains a non-Type object." @@ -25447,19 +25451,19 @@ ${heading}`; var schema = Schema$1; var str = new type("tag:yaml.org,2002:str", { kind: "scalar", - construct: function (data) { + construct: function(data) { return data !== null ? data : ""; } }); var seq = new type("tag:yaml.org,2002:seq", { kind: "sequence", - construct: function (data) { + construct: function(data) { return data !== null ? data : []; } }); var map = new type("tag:yaml.org,2002:map", { kind: "mapping", - construct: function (data) { + construct: function(data) { return data !== null ? data : {}; } }); @@ -25484,19 +25488,19 @@ ${heading}`; construct: constructYamlNull, predicate: isNull, represent: { - canonical: function () { + canonical: function() { return "~"; }, - lowercase: function () { + lowercase: function() { return "null"; }, - uppercase: function () { + uppercase: function() { return "NULL"; }, - camelcase: function () { + camelcase: function() { return "Null"; }, - empty: function () { + empty: function() { return ""; } }, @@ -25520,13 +25524,13 @@ ${heading}`; construct: constructYamlBoolean, predicate: isBoolean, represent: { - lowercase: function (object) { + lowercase: function(object) { return object ? "true" : "false"; }, - uppercase: function (object) { + uppercase: function(object) { return object ? "TRUE" : "FALSE"; }, - camelcase: function (object) { + camelcase: function(object) { return object ? "True" : "False"; } }, @@ -25640,16 +25644,16 @@ ${heading}`; construct: constructYamlInteger, predicate: isInteger, represent: { - binary: function (obj) { + binary: function(obj) { return obj >= 0 ? "0b" + obj.toString(2) : "-0b" + obj.toString(2).slice(1); }, - octal: function (obj) { + octal: function(obj) { return obj >= 0 ? "0o" + obj.toString(8) : "-0o" + obj.toString(8).slice(1); }, - decimal: function (obj) { + decimal: function(obj) { return obj.toString(10); }, - hexadecimal: function (obj) { + hexadecimal: function(obj) { return obj >= 0 ? "0x" + obj.toString(16).toUpperCase() : "-0x" + obj.toString(16).toUpperCase().slice(1); } }, @@ -27516,7 +27520,7 @@ ${heading}`; return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE; } function writeScalar(state, string, level, iskey, inblock) { - state.dump = function () { + state.dump = function() { if (string.length === 0) { return state.quotingType === QUOTING_TYPE_DOUBLE ? '""' : "''"; } @@ -27568,7 +27572,7 @@ ${heading}`; } function foldString(string, width) { var lineRe = /(\n+)([^\n]*)/g; - var result = function () { + var result = function() { var nextLF = string.indexOf("\n"); nextLF = nextLF !== -1 ? nextLF : string.length; lineRe.lastIndex = nextLF; @@ -27903,7 +27907,7 @@ ${heading}`; dump: dump_1 }; function renamed(from, to) { - return function () { + return function() { throw new Error( "Function yaml." + from + " is removed in js-yaml 4. Use yaml." + to + " instead, which is now safe by default." ); @@ -28691,7 +28695,7 @@ ${heading}`; const start = this.index; let inClass = false; let escaped = false; - for (; ;) { + for (; ; ) { const cp = this.currentCodePoint; if (cp === -1 || isLineTerminator(cp)) { const kind = inClass ? "character class" : "regular expression"; @@ -29092,7 +29096,7 @@ ${heading}`; } consumeClassRanges() { const strict = this.strict || this._uFlag; - for (; ;) { + for (; ; ) { const rangeStart = this.index; if (!this.consumeClassAtom()) { break; @@ -32539,7 +32543,7 @@ ${tidyverseInfo( ; glob = glob.slice(0, newLength); let regExpString = ""; - for (let j = 0; j < glob.length;) { + for (let j = 0; j < glob.length; ) { let segment = ""; const groupStack = []; let inRange = false; @@ -33556,7 +33560,7 @@ ${tidyverseInfo( sourceStartLine } = partitionCellOptionsText(language, outerSource); if (language !== "r" || // only skip validation when language === 'r' and guessChunkOptionsFormat == "knitr" - guessChunkOptionsFormat((mappedYaml || asMappedString("")).value) === "yaml") { + guessChunkOptionsFormat((mappedYaml || asMappedString("")).value) === "yaml") { const yaml = await parseAndValidateCellOptions( mappedYaml || asMappedString(""), language, diff --git a/src/resources/editor/tools/yaml/yaml-intelligence-resources.json b/src/resources/editor/tools/yaml/yaml-intelligence-resources.json index 1d70129d206..e83edbc778a 100644 --- a/src/resources/editor/tools/yaml/yaml-intelligence-resources.json +++ b/src/resources/editor/tools/yaml/yaml-intelligence-resources.json @@ -158,7 +158,9 @@ { "name": "title", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": "string", "description": { @@ -168,10 +170,15 @@ { "name": "padding", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": { - "anyOf": ["string", "number"] + "anyOf": [ + "string", + "number" + ] }, "description": { "short": "Padding around dashboard card content (default `8px`)" @@ -180,7 +187,9 @@ { "name": "expandable", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": "boolean", "default": true, @@ -191,10 +200,15 @@ { "name": "width", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": { - "anyOf": ["string", "number"] + "anyOf": [ + "string", + "number" + ] }, "description": { "short": "Percentage or absolute pixel width for dashboard card (defaults to evenly spaced across row)" @@ -203,10 +217,15 @@ { "name": "height", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": { - "anyOf": ["string", "number"] + "anyOf": [ + "string", + "number" + ] }, "description": { "short": "Percentage or absolute pixel height for dashboard card (defaults to evenly spaced across column)" @@ -215,8 +234,12 @@ { "name": "context", "tags": { - "formats": ["dashboard"], - "engine": ["jupyter"] + "formats": [ + "dashboard" + ], + "engine": [ + "jupyter" + ] }, "schema": "string", "description": { @@ -226,7 +249,9 @@ { "name": "content", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": { "enum": [ @@ -244,7 +269,9 @@ { "name": "color", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": { "anyOf": [ @@ -272,7 +299,9 @@ { "name": "eval", "tags": { - "contexts": ["document-execute"], + "contexts": [ + "document-execute" + ], "execute-only": true }, "schema": "boolean", @@ -285,14 +314,18 @@ { "name": "echo", "tags": { - "contexts": ["document-execute"], + "contexts": [ + "document-execute" + ], "execute-only": true }, "schema": { "anyOf": [ "boolean", { - "enum": ["fenced"] + "enum": [ + "fenced" + ] } ], "errorDescription": "be `true`, `false`, or `fenced`" @@ -305,14 +338,20 @@ { "name": "code-fold", "tags": { - "contexts": ["document-code"], - "formats": ["$html-all"] + "contexts": [ + "document-code" + ], + "formats": [ + "$html-all" + ] }, "schema": { "anyOf": [ "boolean", { - "enum": ["show"] + "enum": [ + "show" + ] } ] }, @@ -325,8 +364,12 @@ { "name": "code-summary", "tags": { - "contexts": ["document-code"], - "formats": ["$html-all"] + "contexts": [ + "document-code" + ], + "formats": [ + "$html-all" + ] }, "schema": "string", "default": "Code", @@ -335,11 +378,18 @@ { "name": "code-overflow", "tags": { - "contexts": ["document-code"], - "formats": ["$html-all"] + "contexts": [ + "document-code" + ], + "formats": [ + "$html-all" + ] }, "schema": { - "enum": ["scroll", "wrap"] + "enum": [ + "scroll", + "wrap" + ] }, "default": "scroll", "description": { @@ -350,11 +400,20 @@ { "name": "code-line-numbers", "tags": { - "contexts": ["document-code"], - "formats": ["$html-all", "ms", "$pdf-all"] + "contexts": [ + "document-code" + ], + "formats": [ + "$html-all", + "ms", + "$pdf-all" + ] }, "schema": { - "anyOf": ["boolean", "string"], + "anyOf": [ + "boolean", + "string" + ], "tags": { "doNotNarrowError": true }, @@ -385,7 +444,10 @@ "anyOf": [ "boolean", { - "enum": ["styler", "formatR"] + "enum": [ + "styler", + "formatR" + ] } ] }, @@ -483,7 +545,9 @@ "schema": { "anyOf": [ { - "enum": [true] + "enum": [ + true + ] }, { "maybeArrayOf": "string" @@ -502,12 +566,25 @@ { "name": "fig-align", "tags": { - "contexts": ["document-figures"], - "formats": ["docx", "rtf", "$odt-all", "$pdf-all", "$html-all"] + "contexts": [ + "document-figures" + ], + "formats": [ + "docx", + "rtf", + "$odt-all", + "$pdf-all", + "$html-all" + ] }, "schema": { "maybeArrayOf": { - "enum": ["default", "left", "right", "center"] + "enum": [ + "default", + "left", + "right", + "center" + ] } }, "default": "default", @@ -516,7 +593,9 @@ { "name": "fig-alt", "tags": { - "formats": ["$html-all"] + "formats": [ + "$html-all" + ] }, "schema": { "maybeArrayOf": "string" @@ -526,8 +605,12 @@ { "name": "fig-env", "tags": { - "formats": ["$pdf-all"], - "contexts": ["document-figures"] + "formats": [ + "$pdf-all" + ], + "contexts": [ + "document-figures" + ] }, "schema": { "maybeArrayOf": "string" @@ -537,8 +620,12 @@ { "name": "fig-pos", "tags": { - "formats": ["$pdf-all"], - "contexts": ["document-figures"] + "formats": [ + "$pdf-all" + ], + "contexts": [ + "document-figures" + ] }, "schema": { "anyOf": [ @@ -546,7 +633,9 @@ "maybeArrayOf": "string" }, { - "enum": [false] + "enum": [ + false + ] } ] }, @@ -558,7 +647,9 @@ { "name": "fig-scap", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "schema": { "maybeArrayOf": "string" @@ -574,7 +665,13 @@ "engine": "knitr" }, "schema": { - "enum": ["retina", "png", "jpeg", "svg", "pdf"] + "enum": [ + "retina", + "png", + "jpeg", + "svg", + "pdf" + ] }, "description": "Default output format for figures (`retina`, `png`, `jpeg`, `svg`, or `pdf`)" }, @@ -635,7 +732,13 @@ "schema": { "anyOf": [ { - "enum": ["high", "none", "all", "first", "last"] + "enum": [ + "high", + "none", + "all", + "first", + "last" + ] }, { "maybeArrayOf": "number" @@ -654,7 +757,12 @@ "engine": "knitr" }, "schema": { - "enum": ["asis", "hold", "animate", "hide"] + "enum": [ + "asis", + "hold", + "animate", + "hide" + ] }, "default": "asis", "description": { @@ -674,7 +782,9 @@ "name": "external", "tags": { "engine": "knitr", - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "schema": "boolean", "default": true, @@ -684,7 +794,9 @@ "name": "sanitize", "tags": { "engine": "knitr", - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "schema": "boolean", "default": false, @@ -718,7 +830,10 @@ }, "schema": { "string": { - "completions": ["ffmpeg", "gifski"] + "completions": [ + "ffmpeg", + "gifski" + ] } }, "default": "ffmpeg", @@ -796,7 +911,12 @@ { "name": "layout-align", "schema": { - "enum": ["default", "left", "center", "right"] + "enum": [ + "default", + "left", + "center", + "right" + ] }, "default": "center", "description": "Horizontal alignment for layout content (`default`, `left`, `right`, or `center`)" @@ -804,7 +924,12 @@ { "name": "layout-valign", "schema": { - "enum": ["default", "top", "center", "bottom"] + "enum": [ + "default", + "top", + "center", + "bottom" + ] }, "default": "top", "description": "Vertical alignment for layout content (`default`, `top`, `center`, or `bottom`)" @@ -844,11 +969,20 @@ { "name": "cap-location", "tags": { - "contexts": ["document-layout"], - "formats": ["$html-files", "$pdf-all"] + "contexts": [ + "document-layout" + ], + "formats": [ + "$html-files", + "$pdf-all" + ] }, "schema": { - "enum": ["top", "bottom", "margin"] + "enum": [ + "top", + "bottom", + "margin" + ] }, "default": "bottom", "description": "Where to place figure and table captions (`top`, `bottom`, or `margin`)" @@ -856,11 +990,21 @@ { "name": "fig-cap-location", "tags": { - "contexts": ["document-layout", "document-figures"], - "formats": ["$html-files", "$pdf-all"] + "contexts": [ + "document-layout", + "document-figures" + ], + "formats": [ + "$html-files", + "$pdf-all" + ] }, "schema": { - "enum": ["top", "bottom", "margin"] + "enum": [ + "top", + "bottom", + "margin" + ] }, "default": "bottom", "description": "Where to place figure captions (`top`, `bottom`, or `margin`)" @@ -868,11 +1012,21 @@ { "name": "tbl-cap-location", "tags": { - "contexts": ["document-layout", "document-tables"], - "formats": ["$html-files", "$pdf-all"] + "contexts": [ + "document-layout", + "document-tables" + ], + "formats": [ + "$html-files", + "$pdf-all" + ] }, "schema": { - "enum": ["top", "bottom", "margin"] + "enum": [ + "top", + "bottom", + "margin" + ] }, "default": "top", "description": "Where to place table captions (`top`, `bottom`, or `margin`)" @@ -891,7 +1045,9 @@ "schema": { "anyOf": [ { - "enum": [true] + "enum": [ + true + ] }, { "maybeArrayOf": "string" @@ -903,15 +1059,25 @@ { "name": "tbl-colwidths", "tags": { - "contexts": ["document-tables"], - "engine": ["knitr", "jupyter"], - "formats": ["$pdf-all", "$html-all"] + "contexts": [ + "document-tables" + ], + "engine": [ + "knitr", + "jupyter" + ], + "formats": [ + "$pdf-all", + "$html-all" + ] }, "schema": { "anyOf": [ "boolean", { - "enum": ["auto"] + "enum": [ + "auto" + ] }, { "arrayOf": "number" @@ -926,7 +1092,9 @@ { "name": "html-table-processing", "schema": { - "enum": ["none"] + "enum": [ + "none" + ] }, "description": "If `none`, do not process raw HTML table in cell output and leave it as-is" } @@ -935,14 +1103,18 @@ { "name": "output", "tags": { - "contexts": ["document-execute"], + "contexts": [ + "document-execute" + ], "execute-only": true }, "schema": { "anyOf": [ "boolean", { - "enum": ["asis"] + "enum": [ + "asis" + ] }, "string", "object" @@ -956,7 +1128,9 @@ { "name": "warning", "tags": { - "contexts": ["document-execute"], + "contexts": [ + "document-execute" + ], "execute-only": true }, "schema": "boolean", @@ -965,7 +1139,9 @@ { "name": "error", "tags": { - "contexts": ["document-execute"], + "contexts": [ + "document-execute" + ], "execute-only": true }, "schema": "boolean", @@ -975,7 +1151,9 @@ { "name": "include", "tags": { - "contexts": ["document-execute"], + "contexts": [ + "document-execute" + ], "execute-only": true }, "schema": "boolean", @@ -985,17 +1163,31 @@ { "name": "panel", "schema": { - "enum": ["tabset", "input", "sidebar", "fill", "center"] + "enum": [ + "tabset", + "input", + "sidebar", + "fill", + "center" + ] }, "description": "Panel type for cell output (`tabset`, `input`, `sidebar`, `fill`, `center`)" }, { "name": "output-location", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": ["default", "fragment", "slide", "column", "column-fragment"] + "enum": [ + "default", + "fragment", + "slide", + "column", + "column-fragment" + ] }, "description": { "short": "Location of output relative to the code that generated it (`default`, `fragment`, `slide`, `column`, or `column-location`)", @@ -1008,7 +1200,11 @@ "engine": "knitr" }, "schema": { - "enum": [true, false, "NA"] + "enum": [ + true, + false, + "NA" + ] }, "default": true, "description": { @@ -1022,7 +1218,13 @@ "engine": "knitr" }, "schema": { - "enum": ["markup", "asis", "hold", "hide", false] + "enum": [ + "markup", + "asis", + "hold", + "hide", + false + ] }, "default": "markup", "description": { @@ -1134,7 +1336,9 @@ "value": "string", "format": "string" }, - "required": ["value"] + "required": [ + "value" + ] } } ] @@ -1142,7 +1346,14 @@ { "id": "math-methods", "enum": { - "values": ["plain", "webtex", "gladtex", "mathml", "mathjax", "katex"] + "values": [ + "plain", + "webtex", + "gladtex", + "mathml", + "mathjax", + "katex" + ] } }, { @@ -1160,7 +1371,9 @@ "path", { "enum": { - "values": [null], + "values": [ + null + ], "hidden": true } } @@ -1177,7 +1390,9 @@ "type": "string", "path": "path" }, - "required": ["path"] + "required": [ + "path" + ] } }, { @@ -1196,13 +1411,18 @@ ] } }, - "required": ["path", "at"] + "required": [ + "path", + "at" + ] } }, { "record": { "type": { - "enum": ["citeproc"] + "enum": [ + "citeproc" + ] } } } @@ -1355,7 +1575,9 @@ "id": "comments", "anyOf": [ { - "enum": [false] + "enum": [ + false + ] }, { "object": { @@ -1399,11 +1621,18 @@ "short": "How posts should be mapped to Github issues", "long": "How posts should be mapped to Github issues\n(`pathname`, `url`, `title` or `og:title`)\n" }, - "completions": ["pathname", "url", "title", "og:title"] + "completions": [ + "pathname", + "url", + "title", + "og:title" + ] } } }, - "required": ["repo"] + "required": [ + "repo" + ] } }, "giscus": { @@ -1445,7 +1674,12 @@ "mapping": { "anyOf": [ { - "enum": ["pathname", "url", "title", "og:title"] + "enum": [ + "pathname", + "url", + "title", + "og:title" + ] }, "string" ], @@ -1460,11 +1694,16 @@ } }, "loading": { - "enum": ["lazy"], + "enum": [ + "lazy" + ], "description": "Specify `loading: lazy` to defer loading comments until the user scrolls near the comments container." }, "input-position": { - "enum": ["top", "bottom"], + "enum": [ + "top", + "bottom" + ], "description": "Place the comment input box above or below the comments." }, "theme": { @@ -1510,7 +1749,9 @@ } } }, - "required": ["repo"] + "required": [ + "repo" + ] } }, "hypothesis": { @@ -1535,14 +1776,21 @@ "anyOf": [ "boolean", { - "enum": ["always", "whenSidebarOpen", "never"] + "enum": [ + "always", + "whenSidebarOpen", + "never" + ] } ], "default": "always", "description": "Controls whether the in-document highlights are shown by default (`always`, `whenSidebarOpen` or `never`)" }, "theme": { - "enum": ["classic", "clean"], + "enum": [ + "classic", + "clean" + ], "default": "classic", "description": "Controls the overall look of the sidebar (`classic` or `clean`)" }, @@ -1590,7 +1838,9 @@ "groups": { "anyOf": [ { - "enum": ["$rpc:requestGroups"] + "enum": [ + "$rpc:requestGroups" + ] }, { "arrayOf": "string" @@ -1604,7 +1854,11 @@ } } }, - "required": ["apiUrl", "authority", "grantToken"] + "required": [ + "apiUrl", + "authority", + "grantToken" + ] }, "description": "Alternative annotation services which the client should \nconnect to instead of connecting to the public Hypothesis \nservice at hypothes.is.\n" } @@ -1671,7 +1925,9 @@ } } }, - "required": ["user"] + "required": [ + "user" + ] }, "description": "Defines a focused filter set for the available annotations on a page." }, @@ -1792,7 +2048,10 @@ "closed": true, "properties": { "section": { - "anyOf": ["string", null] + "anyOf": [ + "string", + null + ] }, "contents": { "ref": "sidebar-contents" @@ -1878,7 +2137,10 @@ } } }, - "required": ["cmd", "ready"] + "required": [ + "cmd", + "ready" + ] } }, { @@ -1925,7 +2187,10 @@ "closed": true, "properties": { "card-style": { - "enum": ["summary", "summary_large_image"], + "enum": [ + "summary", + "summary_large_image" + ], "description": { "short": "Card style", "long": "Card style (`summary` or `summary_large_image`).\n\nIf this is not provided, the best style will automatically\nselected based upon other metadata. You can learn more about Twitter Card\nstyles [here](https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/abouts-cards).\n" @@ -1985,7 +2250,10 @@ "description": "Footer center content" }, "border": { - "anyOf": ["boolean", "string"], + "anyOf": [ + "boolean", + "string" + ], "description": "Footer border (`true`, `false`, or a border color)" }, "background": { @@ -2062,7 +2330,12 @@ }, "repo-actions": { "maybeArrayOf": { - "enum": ["none", "edit", "source", "issue"], + "enum": [ + "none", + "edit", + "source", + "issue" + ], "description": { "short": "Links to source repository actions", "long": "Links to source repository actions (`none` or one or more of `edit`, `source`, `issue`)" @@ -2085,7 +2358,10 @@ "description": "The Google tracking Id or measurement Id of this website." }, "storage": { - "enum": ["cookies", "none"], + "enum": [ + "cookies", + "none" + ], "description": { "short": "Storage options for Google Analytics data", "long": "Storage option for Google Analytics data using on of these two values:\n\n`cookies`: Use cookies to store unique user and session identification (default).\n\n`none`: Do not use cookies to store unique user and session identification.\n\nFor more about choosing storage options see [Storage](https://quarto.org/docs/websites/website-tools.html#storage).\n" @@ -2099,7 +2375,10 @@ } }, "version": { - "enum": [3, 4], + "enum": [ + 3, + 4 + ], "description": { "short": "The version number of Google Analytics to use.", "long": "The version number of Google Analytics to use. \n\n- `3`: Use analytics.js\n- `4`: use gtag. \n\nThis is automatically detected based upon the `tracking-id`, but you may specify it.\n" @@ -2134,7 +2413,10 @@ }, "position": { "schema": { - "enum": ["above-navbar", "below-navbar"] + "enum": [ + "above-navbar", + "below-navbar" + ] }, "description": { "short": "The position of the announcement.", @@ -2168,14 +2450,20 @@ "cookie-consent": { "anyOf": [ { - "enum": ["express", "implied"] + "enum": [ + "express", + "implied" + ] }, "boolean", { "object": { "properties": { "type": { - "enum": ["implied", "express"], + "enum": [ + "implied", + "express" + ], "description": { "short": "The type of consent that should be requested", "long": "The type of consent that should be requested, using one of these two values:\n\n- `implied` (default): This will notify the user that the site uses cookies and permit them to change preferences, but not block cookies unless the user changes their preferences.\n\n- `express`: This will block cookies until the user expressly agrees to allow them (or continue blocking them if the user doesn’t agree).\n" @@ -2194,7 +2482,10 @@ } }, "palette": { - "enum": ["light", "dark"], + "enum": [ + "light", + "dark" + ], "description": "Whether to use a dark or light appearance for the consent banner (`light` or `dark`)." }, "policy-url": { @@ -2230,11 +2521,17 @@ "object": { "properties": { "location": { - "enum": ["navbar", "sidebar"], + "enum": [ + "navbar", + "sidebar" + ], "description": "Location for search widget (`navbar` or `sidebar`)" }, "type": { - "enum": ["overlay", "textbox"], + "enum": [ + "overlay", + "textbox" + ], "description": "Type of search UI (`overlay` or `textbox`)" }, "limit": { @@ -2265,7 +2562,11 @@ "schema": { "anyOf": [ { - "enum": ["tree", "parent", "root"] + "enum": [ + "tree", + "parent", + "root" + ] }, "boolean" ] @@ -2344,7 +2645,10 @@ "object": { "properties": { "title": { - "anyOf": ["string", "boolean"], + "anyOf": [ + "string", + "boolean" + ], "description": "The navbar title. Uses the project title if none is specified." }, "logo": { @@ -2416,7 +2720,13 @@ } }, "collapse-below": { - "enum": ["sm", "md", "lg", "xl", "xxl"], + "enum": [ + "sm", + "md", + "lg", + "xl", + "xxl" + ], "description": "The responsive breakpoint below which the navbar will collapse into a menu (`sm`, `md`, `lg` (default), `xl`, `xxl`).", "default": "lg" }, @@ -2434,7 +2744,10 @@ }, "toggle-position": { "schema": { - "enum": ["left", "right"] + "enum": [ + "left", + "right" + ] }, "description": "The position of the collapsed navbar toggle when in responsive mode", "default": "left" @@ -2464,7 +2777,10 @@ } }, "title": { - "anyOf": ["string", "boolean"], + "anyOf": [ + "string", + "boolean" + ], "description": "The sidebar title. Uses the project title if none is specified." }, "logo": { @@ -2498,7 +2814,10 @@ "description": "List of items for the sidebar" }, "style": { - "enum": ["docked", "floating"], + "enum": [ + "docked", + "floating" + ], "description": "The style of sidebar (`docked` or `floating`).", "default": "floating" }, @@ -2544,7 +2863,11 @@ } }, "alignment": { - "enum": ["left", "right", "center"], + "enum": [ + "left", + "right", + "center" + ], "description": "Alignment of the items within the sidebar (`left`, `right`, or `center`)" }, "collapse-level": { @@ -2653,7 +2976,9 @@ "ref": "other-links" }, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "A list of other links to appear below the TOC." }, @@ -2667,7 +2992,9 @@ ] }, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "A list of code links to appear with this document." }, @@ -2679,7 +3006,11 @@ }, "draft-mode": { "schema": { - "enum": ["visible", "unlinked", "gone"] + "enum": [ + "visible", + "unlinked", + "gone" + ] }, "description": { "short": "How to handle drafts that are encountered.", @@ -2710,7 +3041,10 @@ }, "author": { "maybeArrayOf": { - "anyOf": ["string", "object"], + "anyOf": [ + "string", + "object" + ], "description": "Author or authors of the book" } }, @@ -2770,13 +3104,21 @@ }, "sharing": { "maybeArrayOf": { - "enum": ["twitter", "facebook", "linkedin"], + "enum": [ + "twitter", + "facebook", + "linkedin" + ], "description": "Sharing buttons to include on navbar or sidebar\n(one or more of `twitter`, `facebook`, `linkedin`)\n" } }, "downloads": { "maybeArrayOf": { - "enum": ["pdf", "epub", "docx"], + "enum": [ + "pdf", + "epub", + "docx" + ], "description": "Download buttons for other formats to include on navbar or sidebar\n(one or more of `pdf`, `epub`, and `docx`)\n" } }, @@ -2791,7 +3133,9 @@ "doi": { "string": { "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "The Digital Object Identifier for this book." } @@ -2821,7 +3165,9 @@ "description": "Path to chapter input file" } }, - "required": ["part"] + "required": [ + "part" + ] } } ] @@ -2863,14 +3209,21 @@ } } }, - "required": ["text", "href"] + "required": [ + "text", + "href" + ] } } }, { "id": "crossref-labels-schema", "string": { - "completions": ["alpha", "arabic", "roman"] + "completions": [ + "alpha", + "arabic", + "roman" + ] } }, { @@ -2980,7 +3333,9 @@ "id": "website-about", "object": { "closed": true, - "required": ["template"], + "required": [ + "template" + ], "properties": { "id": { "string": { @@ -2993,7 +3348,13 @@ "template": { "anyOf": [ { - "enum": ["jolla", "trestles", "solana", "marquee", "broadside"] + "enum": [ + "jolla", + "trestles", + "solana", + "marquee", + "broadside" + ] }, "path" ], @@ -3029,7 +3390,11 @@ } }, "image-shape": { - "enum": ["rectangle", "round", "rounded"], + "enum": [ + "rectangle", + "round", + "rounded" + ], "description": { "short": "The shape of the image on the about page.", "long": "The shape of the image on the about page.\n\n- `rectangle`\n- `round`\n- `rounded`\n" @@ -3057,7 +3422,12 @@ } }, "type": { - "enum": ["default", "table", "grid", "custom"], + "enum": [ + "default", + "table", + "grid", + "custom" + ], "description": { "short": "The type of listing to create.", "long": "The type of listing to create. Choose one of:\n\n- `default`: A blog style list of items\n- `table`: A table of items\n- `grid`: A grid of item cards\n- `custom`: A custom template, provided by the `template` field\n" @@ -3124,7 +3494,11 @@ "anyOf": [ "boolean", { - "enum": ["numbered", "unnumbered", "cloud"] + "enum": [ + "numbered", + "unnumbered", + "cloud" + ] } ], "description": { @@ -3145,7 +3519,11 @@ } }, "type": { - "enum": ["full", "partial", "metadata"], + "enum": [ + "full", + "partial", + "metadata" + ], "description": { "short": "Whether to include full or partial content in the feed.", "long": "Whether to include full or partial content in the feed.\n\n- `full` (default): Include the complete content of the document in the feed.\n- `partial`: Include only the first paragraph of the document in the feed.\n- `metadata`: Use only the title, description, and other document metadata in the feed.\n" @@ -3229,7 +3607,10 @@ } }, "image-align": { - "enum": ["left", "right"], + "enum": [ + "left", + "right" + ], "description": "In `default` type listings, whether to place the image on the right or left side of the post content (`left` or `right`)." }, "image-height": { @@ -3257,7 +3638,11 @@ } }, "grid-item-align": { - "enum": ["left", "right", "center"], + "enum": [ + "left", + "right", + "center" + ], "description": { "short": "In `grid` type listings, the alignment of the content within the card.", "long": "In grid type listings, the alignment of the content within the card (`left` (default), `right`, or `center`).\n" @@ -3410,7 +3795,10 @@ }, { "id": "csl-number", - "anyOf": ["number", "string"] + "anyOf": [ + "number", + "string" + ] }, { "id": "csl-item-shared", @@ -3647,7 +4035,10 @@ "description": "Host of the item (e.g. of a TV show or podcast)." }, "id": { - "anyOf": ["string", "number"], + "anyOf": [ + "string", + "number" + ], "description": "A value which uniquely identifies this item." }, "illustrator": { @@ -4035,7 +4426,10 @@ } }, "id": { - "anyOf": ["string", "number"], + "anyOf": [ + "string", + "number" + ], "description": "Citation identifier for the item (e.g. \"item1\"). Will be autogenerated if not provided." } } @@ -4186,7 +4580,9 @@ "format": "string", "value": "string" }, - "required": ["value"] + "required": [ + "value" + ] } } ] @@ -4254,7 +4650,10 @@ }, "title": { "description": "The title of the notebook when viewed.", - "anyOf": ["string", "boolean"] + "anyOf": [ + "string", + "boolean" + ] }, "url": { "string": { @@ -4267,7 +4666,9 @@ } } }, - "required": ["notebook"] + "required": [ + "notebook" + ] } } }, @@ -4311,7 +4712,11 @@ } }, { - "enum": ["repo", "binder", "devcontainer"] + "enum": [ + "repo", + "binder", + "devcontainer" + ] } ] } @@ -4342,7 +4747,10 @@ } }, "meca-bundle": { - "anyOf": ["boolean", "string"], + "anyOf": [ + "boolean", + "string" + ], "description": "Whether to generate a MECA bundle for this manuscript" }, "notebooks": { @@ -4481,7 +4889,9 @@ "description": "Alternative text for the logo, used for accessibility.\n" } }, - "required": ["path"] + "required": [ + "path" + ] } }, { @@ -4535,7 +4945,11 @@ { "id": "brand-named-logo", "description": "Names of customizeable logos", - "enum": ["small", "medium", "large"] + "enum": [ + "small", + "medium", + "large" + ] }, { "id": "brand-color-value", @@ -4805,7 +5219,10 @@ { "id": "line-height-number-string", "description": "Line height", - "anyOf": ["number", "string"] + "anyOf": [ + "number", + "string" + ] }, { "id": "brand-typography-options-monospace-block", @@ -4862,7 +5279,11 @@ { "id": "brand-named-font", "description": "Names of customizeable fonts", - "enum": ["base", "headings", "monospace"] + "enum": [ + "base", + "headings", + "monospace" + ] }, { "id": "brand-font", @@ -4917,7 +5338,11 @@ { "id": "brand-font-style", "description": "A font style.", - "enum": ["normal", "italic", "oblique"], + "enum": [ + "normal", + "italic", + "oblique" + ], "default": "normal" }, { @@ -4935,18 +5360,30 @@ "maybeArrayOf": { "ref": "brand-font-weight" }, - "default": [400, 700] + "default": [ + 400, + 700 + ] }, "style": { "description": "The font styles to include.", "maybeArrayOf": { "ref": "brand-font-style" }, - "default": ["normal", "italic"] + "default": [ + "normal", + "italic" + ] }, "display": { "description": "The font display method, determines how a font face is font face is shown depending on its download status and readiness for use.\n", - "enum": ["auto", "block", "swap", "fallback", "optional"], + "enum": [ + "auto", + "block", + "swap", + "fallback", + "optional" + ], "default": "swap" } } @@ -4963,7 +5400,9 @@ "closed": true, "properties": { "source": { - "enum": ["system"] + "enum": [ + "system" + ] } } } @@ -4978,7 +5417,9 @@ "closed": true, "properties": { "source": { - "enum": ["google"] + "enum": [ + "google" + ] } } } @@ -4993,7 +5434,9 @@ "closed": true, "properties": { "source": { - "enum": ["bunny"] + "enum": [ + "bunny" + ] } } } @@ -5005,7 +5448,9 @@ "closed": true, "properties": { "source": { - "enum": ["file"] + "enum": [ + "file" + ] }, "family": { "description": "The font family name.", @@ -5030,7 +5475,9 @@ "ref": "brand-font-style" } }, - "required": ["path"] + "required": [ + "path" + ] } } } @@ -5039,7 +5486,11 @@ "description": "The font files to include. These can be local or online. Local file paths should be relative to the `brand.yml` file. Online paths should be complete URLs.\n" } }, - "required": ["files", "family", "source"] + "required": [ + "files", + "family", + "source" + ] } }, { @@ -5128,7 +5579,11 @@ "object": { "additionalProperties": { "schema": { - "anyOf": ["string", "boolean", "number"] + "anyOf": [ + "string", + "boolean", + "number" + ] } } } @@ -5142,12 +5597,20 @@ { "name": "about", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { "anyOf": [ { - "enum": ["jolla", "trestles", "solana", "marquee", "broadside"] + "enum": [ + "jolla", + "trestles", + "solana", + "marquee", + "broadside" + ] }, { "ref": "website-about" @@ -5170,7 +5633,14 @@ "name": "subtitle", "schema": "string", "tags": { - "formats": ["$pdf-all", "$html-all", "context", "muse", "odt", "docx"] + "formats": [ + "$pdf-all", + "$html-all", + "context", + "muse", + "odt", + "docx" + ] }, "description": "Identifies the subtitle of the document." }, @@ -5184,7 +5654,9 @@ { "name": "date-modified", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { "ref": "date" @@ -5195,7 +5667,10 @@ "name": "author", "schema": { "maybeArrayOf": { - "anyOf": ["object", "string"] + "anyOf": [ + "object", + "string" + ] } }, "description": "Author or authors of the document" @@ -5204,11 +5679,16 @@ "name": "affiliation", "schema": { "maybeArrayOf": { - "anyOf": ["object", "string"] + "anyOf": [ + "object", + "string" + ] } }, "tags": { - "formats": ["$jats-all"] + "formats": [ + "$jats-all" + ] }, "description": { "short": "The list of organizations with which contributors are affiliated.", @@ -5219,7 +5699,9 @@ "name": "copyright", "schema": "object", "tags": { - "formats": ["$jats-all"] + "formats": [ + "$jats-all" + ] }, "description": { "short": "Licensing and copyright information.", @@ -5230,7 +5712,9 @@ "name": "article", "schema": "object", "tags": { - "formats": ["$jats-all"] + "formats": [ + "$jats-all" + ] }, "description": { "short": "Information concerning the article that identifies or describes it.", @@ -5241,7 +5725,9 @@ "name": "journal", "schema": "object", "tags": { - "formats": ["$jats-all"] + "formats": [ + "$jats-all" + ] }, "description": { "short": "Information on the journal in which the article is published.", @@ -5252,11 +5738,17 @@ "name": "institute", "schema": { "maybeArrayOf": { - "anyOf": ["object", "string"] + "anyOf": [ + "object", + "string" + ] } }, "tags": { - "formats": ["$html-pres", "beamer"] + "formats": [ + "$html-pres", + "beamer" + ] }, "description": "Author affiliations for the presentation." }, @@ -5282,7 +5774,12 @@ "name": "abstract-title", "schema": "string", "tags": { - "formats": ["$html-doc", "$epub-all", "docx", "typst"] + "formats": [ + "$html-doc", + "$epub-all", + "docx", + "typst" + ] }, "description": "Title used to label document abstract" }, @@ -5290,7 +5787,9 @@ "name": "notes", "schema": "string", "tags": { - "formats": ["$jats-all"] + "formats": [ + "$jats-all" + ] }, "description": "Additional notes concerning the whole article. Added to the\narticle's frontmatter via the [``](https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/notes.html) element.\n" }, @@ -5300,7 +5799,9 @@ "arrayOf": "string" }, "tags": { - "formats": ["$jats-all"] + "formats": [ + "$jats-all" + ] }, "description": "List of keywords. Items are used as contents of the [``](https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/kwd.html) element; the elements are grouped in a [``](https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/kwd-group.html) with the [`kwd-group-type`](https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/kwd-group-type.html) value `author`." }, @@ -5308,7 +5809,9 @@ "name": "doi", "schema": "string", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "Displays the document Digital Object Identifier in the header." }, @@ -5316,7 +5819,9 @@ "name": "thanks", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": "The contents of an acknowledgments footnote after the document title." }, @@ -5349,13 +5854,17 @@ "schema": { "anyOf": [ { - "enum": ["hover"] + "enum": [ + "hover" + ] }, "boolean" ] }, "tags": { - "formats": ["$html-all"] + "formats": [ + "$html-all" + ] }, "default": "hover", "description": { @@ -5368,7 +5877,9 @@ "schema": "boolean", "tags": { "engine": "knitr", - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "default": false, "description": { @@ -5382,7 +5893,12 @@ "anyOf": [ "boolean", { - "enum": ["hover", "select", "below", "none"] + "enum": [ + "hover", + "select", + "below", + "none" + ] } ] }, @@ -5395,7 +5911,9 @@ { "name": "code-tools", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { "anyOf": [ @@ -5405,7 +5923,10 @@ "closed": true, "properties": { "source": { - "anyOf": ["boolean", "string"] + "anyOf": [ + "boolean", + "string" + ] }, "toggle": "boolean", "caption": "string" @@ -5423,10 +5944,16 @@ { "name": "code-block-border-left", "tags": { - "formats": ["$html-doc", "$pdf-all"] + "formats": [ + "$html-doc", + "$pdf-all" + ] }, "schema": { - "anyOf": ["string", "boolean"] + "anyOf": [ + "string", + "boolean" + ] }, "description": { "short": "Show a thick left border on code blocks.", @@ -5436,10 +5963,16 @@ { "name": "code-block-bg", "tags": { - "formats": ["$html-doc", "$pdf-all"] + "formats": [ + "$html-doc", + "$pdf-all" + ] }, "schema": { - "anyOf": ["string", "boolean"] + "anyOf": [ + "string", + "boolean" + ] }, "description": { "short": "Show a background color for code blocks.", @@ -5449,7 +5982,12 @@ { "name": "highlight-style", "tags": { - "formats": ["$html-all", "docx", "ms", "$pdf-all"] + "formats": [ + "$html-all", + "docx", + "ms", + "$pdf-all" + ] }, "schema": { "anyOf": [ @@ -5501,7 +6039,12 @@ { "name": "syntax-definition", "tags": { - "formats": ["$html-all", "docx", "ms", "$pdf-all"] + "formats": [ + "$html-all", + "docx", + "ms", + "$pdf-all" + ] }, "schema": "path", "hidden": true, @@ -5510,7 +6053,12 @@ { "name": "syntax-definitions", "tags": { - "formats": ["$html-all", "docx", "ms", "$pdf-all"] + "formats": [ + "$html-all", + "docx", + "ms", + "$pdf-all" + ] }, "schema": { "arrayOf": "path" @@ -5520,7 +6068,9 @@ { "name": "listings", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "schema": "boolean", "description": { @@ -5531,7 +6081,12 @@ { "name": "indented-code-classes", "tags": { - "formats": ["$html-all", "docx", "ms", "$pdf-all"] + "formats": [ + "$html-all", + "docx", + "ms", + "$pdf-all" + ] }, "schema": { "arrayOf": "string" @@ -5544,7 +6099,9 @@ "name": "fontcolor", "schema": "string", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "Sets the CSS `color` property." }, @@ -5552,7 +6109,11 @@ "name": "linkcolor", "schema": "string", "tags": { - "formats": ["$html-doc", "context", "$pdf-all"] + "formats": [ + "$html-doc", + "context", + "$pdf-all" + ] }, "description": { "short": "Sets the color of hyperlinks in the document.", @@ -5579,7 +6140,9 @@ "name": "backgroundcolor", "schema": "string", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "Sets the CSS `background-color` property on the html element.\n" }, @@ -5587,7 +6150,9 @@ "name": "filecolor", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "The color used for external links using color options allowed by `xcolor`", @@ -5598,7 +6163,9 @@ "name": "citecolor", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "The color used for citation links using color options allowed by `xcolor`", @@ -5609,7 +6176,9 @@ "name": "urlcolor", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "The color used for linked URLs using color options allowed by `xcolor`", @@ -5620,7 +6189,9 @@ "name": "toccolor", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "The color used for links in the Table of Contents using color options allowed by `xcolor`", @@ -5631,7 +6202,9 @@ "name": "colorlinks", "schema": "boolean", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "default": true, "description": "Add color to link text, automatically enabled if any of \n`linkcolor`, `filecolor`, `citecolor`, `urlcolor`, or `toccolor` are set.\n" @@ -5640,7 +6213,9 @@ "name": "contrastcolor", "schema": "string", "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": { "short": "Color for links to other content within the document.", @@ -5652,7 +6227,9 @@ { "name": "comments", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "schema": { "ref": "comments" @@ -5670,7 +6247,9 @@ "schema": { "anyOf": [ { - "enum": [false] + "enum": [ + false + ] }, { "object": { @@ -5681,10 +6260,16 @@ "object": { "description": "A custom cross reference type. See [Custom](https://quarto.org/docs/reference/metadata/crossref.html#custom) for more details.", "closed": true, - "required": ["kind", "reference-prefix", "key"], + "required": [ + "kind", + "reference-prefix", + "key" + ], "properties": { "kind": { - "enum": ["float"], + "enum": [ + "float" + ], "description": "The kind of cross reference (currently only \"float\" is supported)." }, "reference-prefix": { @@ -5724,7 +6309,11 @@ } }, "caption-location": { - "enum": ["top", "bottom", "margin"], + "enum": [ + "top", + "bottom", + "margin" + ], "default": "bottom", "description": "The location of the caption relative to the crossreferenceable content." } @@ -5969,7 +6558,9 @@ "name": "crossrefs-hover", "schema": "boolean", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "default": true, "description": "Enables a hover popup for cross references that shows the item being referenced." @@ -5979,7 +6570,9 @@ { "name": "logo", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": "path", "description": "Logo image (placed on the left side of the navigation bar)" @@ -5987,17 +6580,24 @@ { "name": "orientation", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": { - "enum": ["rows", "columns"] + "enum": [ + "rows", + "columns" + ] }, "description": "Default orientation for dashboard content (default `rows`)" }, { "name": "scrolling", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": "boolean", "default": false, @@ -6006,7 +6606,9 @@ { "name": "expandable", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": "boolean", "default": true, @@ -6015,7 +6617,9 @@ { "name": "nav-buttons", "tags": { - "formats": ["dashboard"] + "formats": [ + "dashboard" + ] }, "schema": { "maybeArrayOf": { @@ -6046,14 +6650,20 @@ "schema": { "anyOf": [ { - "enum": ["source", "visual"] + "enum": [ + "source", + "visual" + ] }, { "object": { "hidden": true, "properties": { "mode": { - "enum": ["source", "visual"], + "enum": [ + "source", + "visual" + ], "description": "Default editing mode for document" }, "markdown": { @@ -6062,7 +6672,10 @@ "wrap": { "anyOf": [ { - "enum": ["sentence", "none"] + "enum": [ + "sentence", + "none" + ] }, "number" ], @@ -6078,7 +6691,11 @@ "properties": { "location": { "schema": { - "enum": ["block", "section", "document"], + "enum": [ + "block", + "section", + "document" + ], "description": "Location to write references (`block`, `section`, or `document`)" } }, @@ -6102,7 +6719,9 @@ }, "render-on-save": { "tags": { - "engine": ["jupyter"] + "engine": [ + "jupyter" + ] }, "schema": "boolean", "description": "Automatically re-render for preview whenever document is saved (note that this requires a preview\nfor the saved document be already running). This option currently works only within VS Code.\n" @@ -6131,7 +6750,9 @@ { "name": "identifier", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": { "anyOf": [ @@ -6175,7 +6796,9 @@ { "name": "creator", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": { "ref": "epub-contributor" @@ -6185,7 +6808,9 @@ { "name": "contributor", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": { "ref": "epub-contributor" @@ -6195,7 +6820,9 @@ { "name": "subject", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": { "anyOf": [ @@ -6229,7 +6856,9 @@ { "name": "type", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": "string", "description": { @@ -6240,7 +6869,9 @@ { "name": "format", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": "string", "description": "Text describing the format of this publication." @@ -6248,7 +6879,9 @@ { "name": "relation", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": "string", "description": "Text describing the relation of this publication." @@ -6256,7 +6889,9 @@ { "name": "coverage", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": "string", "description": "Text describing the coverage of this publication." @@ -6264,7 +6899,9 @@ { "name": "rights", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": "string", "description": "Text describing the rights of this publication." @@ -6272,7 +6909,9 @@ { "name": "belongs-to-collection", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": "string", "description": "Identifies the name of a collection to which the EPUB Publication belongs." @@ -6280,7 +6919,9 @@ { "name": "group-position", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": "number", "description": "Indicates the numeric position in which this publication \nbelongs relative to other works belonging to the same \n`belongs-to-collection` field.\n" @@ -6288,10 +6929,15 @@ { "name": "page-progression-direction", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": { - "enum": ["ltr", "rtl"] + "enum": [ + "ltr", + "rtl" + ] }, "description": "Sets the global direction in which content flows (`ltr` or `rtl`)" }, @@ -6299,7 +6945,9 @@ "name": "ibooks", "description": "iBooks specific metadata options.", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": { "object": { @@ -6316,7 +6964,11 @@ } }, "scroll-axis": { - "enum": ["vertical", "horizontal", "default"], + "enum": [ + "vertical", + "horizontal", + "default" + ], "description": "The scroll direction for this book (`vertical`, `horizontal`, or `default`)" } } @@ -6326,7 +6978,9 @@ { "name": "epub-metadata", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": "path", "description": { @@ -6337,10 +6991,15 @@ { "name": "epub-subdirectory", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": { - "anyOf": ["path", null] + "anyOf": [ + "path", + null + ] }, "default": "EPUB", "description": "Specify the subdirectory in the OCF container that is to hold the\nEPUB-specific contents. The default is `EPUB`. To put the EPUB \ncontents in the top level, use an empty string.\n" @@ -6348,7 +7007,9 @@ { "name": "epub-fonts", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": { "arrayOf": "path" @@ -6361,7 +7022,9 @@ { "name": "epub-chapter-level", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": "number", "default": 1, @@ -6373,7 +7036,9 @@ { "name": "epub-cover-image", "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "schema": "path", "description": "Use the specified image as the EPUB cover. It is recommended\nthat the image be less than 1000px in width and height.\n" @@ -6383,7 +7048,9 @@ "schema": "boolean", "default": true, "tags": { - "formats": ["$epub-all"] + "formats": [ + "$epub-all" + ] }, "description": "If false, disables the generation of a title page." } @@ -6393,7 +7060,10 @@ "name": "engine", "schema": { "string": { - "completions": ["jupyter", "knitr"] + "completions": [ + "jupyter", + "knitr" + ] } }, "description": "Engine used for executable code blocks." @@ -6494,7 +7164,9 @@ "anyOf": [ "boolean", { - "enum": ["refresh"] + "enum": [ + "refresh" + ] } ] }, @@ -6513,7 +7185,9 @@ "anyOf": [ "boolean", { - "enum": ["auto"] + "enum": [ + "auto" + ] } ] }, @@ -6529,13 +7203,17 @@ "schema": { "anyOf": [ { - "enum": ["shiny"] + "enum": [ + "shiny" + ] }, { "object": { "properties": { "type": { - "enum": ["shiny"], + "enum": [ + "shiny" + ], "description": "Type of server to run behind the document (e.g. `shiny`)" }, "ojs-export": { @@ -6557,7 +7235,10 @@ "name": "daemon", "hidden": true, "schema": { - "anyOf": ["number", "boolean"] + "anyOf": [ + "number", + "boolean" + ] }, "default": 300, "description": { @@ -6614,7 +7295,13 @@ { "name": "fig-format", "schema": { - "enum": ["retina", "png", "jpeg", "svg", "pdf"] + "enum": [ + "retina", + "png", + "jpeg", + "svg", + "pdf" + ] }, "description": "Default format for figures generated by Matplotlib or R graphics (`retina`, `png`, `jpeg`, `svg`, or `pdf`)" }, @@ -6640,7 +7327,9 @@ { "name": "fig-responsive", "tags": { - "formats": ["$html-all"] + "formats": [ + "$html-all" + ] }, "schema": "boolean", "default": true, @@ -6652,7 +7341,12 @@ "name": "mainfont", "schema": "string", "tags": { - "formats": ["$html-doc", "context", "$pdf-all", "typst"] + "formats": [ + "$html-doc", + "context", + "$pdf-all", + "typst" + ] }, "description": { "short": "Sets the main font for the document.", @@ -6663,7 +7357,11 @@ "name": "monofont", "schema": "string", "tags": { - "formats": ["$html-doc", "context", "$pdf-all"] + "formats": [ + "$html-doc", + "context", + "$pdf-all" + ] }, "description": { "short": "Sets the font used for when displaying code.", @@ -6674,7 +7372,12 @@ "name": "fontsize", "schema": "string", "tags": { - "formats": ["$html-doc", "context", "$pdf-all", "typst"] + "formats": [ + "$html-doc", + "context", + "$pdf-all", + "typst" + ] }, "description": { "short": "Sets the main font size for the document.", @@ -6685,7 +7388,9 @@ "name": "fontenc", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "default": "T1", "description": { @@ -6697,7 +7402,10 @@ "name": "fontfamily", "schema": "string", "tags": { - "formats": ["$pdf-all", "ms"] + "formats": [ + "$pdf-all", + "ms" + ] }, "default": "Latin Modern", "description": { @@ -6711,7 +7419,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "Options for the package used as `fontfamily`.", @@ -6722,7 +7432,9 @@ "name": "sansfont", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "The sans serif font family for use with `xelatex` or `lualatex`.", @@ -6733,7 +7445,9 @@ "name": "mathfont", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "The math font family for use with `xelatex` or `lualatex`.", @@ -6744,7 +7458,9 @@ "name": "CJKmainfont", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "The CJK main font family for use with `xelatex` or `lualatex`.", @@ -6757,7 +7473,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "The main font options for use with `xelatex` or `lualatex`.", @@ -6770,7 +7488,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "The sans serif font options for use with `xelatex` or `lualatex`.", @@ -6783,7 +7503,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "The monospace font options for use with `xelatex` or `lualatex`.", @@ -6796,7 +7518,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "The math font options for use with `xelatex` or `lualatex`.", @@ -6809,7 +7533,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["typst"] + "formats": [ + "typst" + ] }, "description": { "short": "Adds additional directories to search for fonts when compiling with Typst.", @@ -6822,8 +7548,10 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$pdf-all"] - }, + "formats": [ + "$pdf-all" + ] + }, "description": { "short": "The CJK font options for use with `xelatex` or `lualatex`.", "long": "The CJK font options for use with `xelatex` or `lualatex` allowing\nany options available through [`fontspec`](https://ctan.org/pkg/fontspec).\n" @@ -6835,7 +7563,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "Options to pass to the microtype package.", @@ -6846,7 +7576,9 @@ "name": "pointsize", "schema": "string", "tags": { - "formats": ["ms"] + "formats": [ + "ms" + ] }, "description": "The point size, for example, `10p`." }, @@ -6854,17 +7586,26 @@ "name": "lineheight", "schema": "string", "tags": { - "formats": ["ms"] + "formats": [ + "ms" + ] }, "description": "The line height, for example, `12p`." }, { "name": "linestretch", "schema": { - "anyOf": ["string", "number"] + "anyOf": [ + "string", + "number" + ] }, "tags": { - "formats": ["$html-doc", "context", "$pdf-all"] + "formats": [ + "$html-doc", + "context", + "$pdf-all" + ] }, "description": { "short": "Sets the line height or spacing for text in the document.", @@ -6877,7 +7618,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": "Adjusts line spacing using the `\\setupinterlinespace` command." }, @@ -6897,7 +7640,9 @@ } }, "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": "The typeface style for links in the document." }, @@ -6905,7 +7650,9 @@ "name": "whitespace", "schema": "string", "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": { "short": "Set the spacing between paragraphs, for example `none`, `small.", @@ -6918,7 +7665,9 @@ "name": "footnotes-hover", "schema": "boolean", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "default": true, "description": "Enables a hover popup for footnotes that shows the footnote contents." @@ -6927,7 +7676,9 @@ "name": "links-as-notes", "schema": "boolean", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "default": false, "description": "Causes links to be printed as footnotes." @@ -6935,10 +7686,20 @@ { "name": "reference-location", "tags": { - "formats": ["$markdown-all", "muse", "$html-files", "pdf"] + "formats": [ + "$markdown-all", + "muse", + "$html-files", + "pdf" + ] }, "schema": { - "enum": ["block", "section", "margin", "document"] + "enum": [ + "block", + "section", + "margin", + "document" + ] }, "default": "document", "description": { @@ -6970,7 +7731,9 @@ } }, "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": { "short": "Set the indentation of paragraphs with one or more options.", @@ -6980,10 +7743,17 @@ { "name": "adjusting", "schema": { - "enum": ["l", "r", "c", "b"] + "enum": [ + "l", + "r", + "c", + "b" + ] }, "tags": { - "formats": ["man"] + "formats": [ + "man" + ] }, "description": "Adjusts text to the left, right, center, or both margins (`l`, `r`, `c`, or `b`)." }, @@ -6992,7 +7762,9 @@ "schema": "boolean", "default": true, "tags": { - "formats": ["man"] + "formats": [ + "man" + ] }, "description": { "short": "Whether to hyphenate text at line breaks even in words that do not contain hyphens.", @@ -7004,14 +7776,19 @@ "schema": "boolean", "default": false, "tags": { - "formats": ["rst"] + "formats": [ + "rst" + ] }, "description": "If true, tables are formatted as RST list tables." }, { "name": "split-level", "tags": { - "formats": ["$epub-all", "chunkedhtml"] + "formats": [ + "$epub-all", + "chunkedhtml" + ] }, "schema": "number", "default": 1, @@ -7122,7 +7899,10 @@ "closed": true, "properties": { "institution": { - "anyOf": ["string", "object"], + "anyOf": [ + "string", + "object" + ], "description": "The institution that was the recipient of the funding." } } @@ -7165,7 +7945,10 @@ "closed": true, "properties": { "institution": { - "anyOf": ["string", "object"], + "anyOf": [ + "string", + "object" + ], "description": "The institution that was responsible for the intellectual content of the work reported in the document." } } @@ -7284,7 +8067,11 @@ { "name": "verbosity", "schema": { - "enum": ["ERROR", "WARNING", "INFO"] + "enum": [ + "ERROR", + "WARNING", + "INFO" + ] }, "default": "WARNING", "hidden": true, @@ -7299,11 +8086,17 @@ { "name": "track-changes", "tags": { - "formats": ["docx"] + "formats": [ + "docx" + ] }, "hidden": true, "schema": { - "enum": ["accept", "reject", "all"] + "enum": [ + "accept", + "reject", + "all" + ] }, "default": "accept", "description": { @@ -7314,7 +8107,9 @@ { "name": "keep-source", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": "boolean", "default": false, @@ -7327,7 +8122,9 @@ { "name": "keep-hidden", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": "boolean", "default": false, @@ -7337,7 +8134,9 @@ { "name": "prefer-html", "tags": { - "formats": ["$markdown-all"] + "formats": [ + "$markdown-all" + ] }, "schema": "boolean", "default": false, @@ -7365,7 +8164,11 @@ "schema/document-includes.yml": [ { "name": "header-includes", - "disabled": ["$office-all", "$jats-all", "ipynb"], + "disabled": [ + "$office-all", + "$jats-all", + "ipynb" + ], "hidden": true, "schema": { "maybeArrayOf": "string" @@ -7374,7 +8177,11 @@ }, { "name": "include-before", - "disabled": ["$office-all", "$jats-all", "ipynb"], + "disabled": [ + "$office-all", + "$jats-all", + "ipynb" + ], "hidden": true, "schema": { "maybeArrayOf": "string" @@ -7383,7 +8190,11 @@ }, { "name": "include-after", - "disabled": ["$office-all", "$jats-all", "ipynb"], + "disabled": [ + "$office-all", + "$jats-all", + "ipynb" + ], "hidden": true, "schema": { "maybeArrayOf": "string" @@ -7392,7 +8203,11 @@ }, { "name": "include-before-body", - "disabled": ["$office-all", "$jats-all", "ipynb"], + "disabled": [ + "$office-all", + "$jats-all", + "ipynb" + ], "schema": { "maybeArrayOf": { "anyOf": [ @@ -7407,7 +8222,11 @@ }, { "name": "include-after-body", - "disabled": ["$office-all", "$jats-all", "ipynb"], + "disabled": [ + "$office-all", + "$jats-all", + "ipynb" + ], "schema": { "maybeArrayOf": { "anyOf": [ @@ -7422,7 +8241,11 @@ }, { "name": "include-in-header", - "disabled": ["$office-all", "$jats-all", "ipynb"], + "disabled": [ + "$office-all", + "$jats-all", + "ipynb" + ], "schema": { "maybeArrayOf": { "anyOf": [ @@ -7441,7 +8264,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$html-all"] + "formats": [ + "$html-all" + ] }, "description": "Path (or glob) to files to publish with this document." }, @@ -7451,7 +8276,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": { "short": "Text to be in a running header.", @@ -7464,7 +8291,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": { "short": "Text to be in a running footer.", @@ -7475,7 +8304,9 @@ "name": "includesource", "schema": "boolean", "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "default": false, "description": "Whether to include all source documents as file attachments in the PDF file." @@ -7484,7 +8315,9 @@ "name": "footer", "schema": "string", "tags": { - "formats": ["man"] + "formats": [ + "man" + ] }, "description": "The footer for man pages." }, @@ -7492,7 +8325,9 @@ "name": "header", "schema": "string", "tags": { - "formats": ["man"] + "formats": [ + "man" + ] }, "description": "The header for man pages." }, @@ -7528,14 +8363,20 @@ { "name": "language", "schema": { - "anyOf": ["path", "object"] + "anyOf": [ + "path", + "object" + ] }, "description": "YAML file containing custom language translations" }, { "name": "dir", "schema": { - "enum": ["rtl", "ltr"] + "enum": [ + "rtl", + "ltr" + ] }, "description": { "short": "The base script direction for the document (`rtl` or `ltr`).", @@ -7547,7 +8388,10 @@ { "name": "latex-auto-mk", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": "boolean", "default": true, @@ -7559,7 +8403,10 @@ { "name": "latex-auto-install", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": "boolean", "default": true, @@ -7568,7 +8415,10 @@ { "name": "latex-min-runs", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": "number", "default": 1, @@ -7577,7 +8427,10 @@ { "name": "latex-max-runs", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": "number", "default": 10, @@ -7586,7 +8439,10 @@ { "name": "latex-clean", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": "boolean", "default": true, @@ -7595,7 +8451,10 @@ { "name": "latex-makeindex", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": "string", "default": "makeindex", @@ -7604,7 +8463,10 @@ { "name": "latex-makeindex-opts", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": { "arrayOf": "string" @@ -7614,7 +8476,10 @@ { "name": "latex-tlmgr-opts", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": { "arrayOf": "string" @@ -7624,7 +8489,10 @@ { "name": "latex-output-dir", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": "string", "description": "Output directory for intermediates and PDF." @@ -7632,7 +8500,10 @@ { "name": "latex-tinytex", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": "boolean", "description": "Set to `false` to prevent an installation of TinyTex from being used to compile PDF documents." @@ -7640,7 +8511,10 @@ { "name": "latex-input-paths", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": { "arrayOf": "string" @@ -7666,7 +8540,9 @@ } }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "default": "scrartcl", "description": "The document class." @@ -7677,7 +8553,10 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$html-files", "$pdf-all"] + "formats": [ + "$html-files", + "$pdf-all" + ] }, "description": { "short": "Options for the document class,", @@ -7688,11 +8567,17 @@ "name": "pagestyle", "schema": { "string": { - "completions": ["plain", "empty", "headings"] + "completions": [ + "plain", + "empty", + "headings" + ] } }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "default": "plain", "description": "Control the `\\pagestyle{}` for the document." @@ -7701,18 +8586,26 @@ "name": "papersize", "schema": "string", "tags": { - "formats": ["$pdf-all", "typst"] + "formats": [ + "$pdf-all", + "typst" + ] }, "description": "The paper size for the document.\n" }, { "name": "brand-mode", "schema": { - "enum": ["light", "dark"] + "enum": [ + "light", + "dark" + ] }, "default": "light", "tags": { - "formats": ["typst"] + "formats": [ + "typst" + ] }, "description": "The brand mode to use for rendering the Typst document, `light` or `dark`.\n" }, @@ -7722,7 +8615,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": { "short": "The options for margins and text layout for this document.", @@ -7732,18 +8627,27 @@ { "name": "page-layout", "schema": { - "enum": ["article", "full", "custom"] + "enum": [ + "article", + "full", + "custom" + ] }, "default": "article", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "The page layout to use for this document (`article`, `full`, or `custom`)" }, { "name": "page-width", "tags": { - "formats": ["docx", "$odt-all"] + "formats": [ + "docx", + "$odt-all" + ] }, "schema": "number", "description": { @@ -7758,7 +8662,12 @@ "closed": true, "properties": { "content-mode": { - "enum": ["auto", "standard", "full", "slim"], + "enum": [ + "auto", + "standard", + "full", + "slim" + ], "description": "Defines whether to use the standard, slim, or full content grid or to automatically select the most appropriate content grid." }, "sidebar-width": { @@ -7793,13 +8702,19 @@ "schema": { "anyOf": [ { - "enum": ["default", "plain", "none"] + "enum": [ + "default", + "plain", + "none" + ] } ] }, "default": "default", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": { "short": "The layout of the appendix for this document (`none`, `plain`, or `default`)", @@ -7813,13 +8728,18 @@ "boolean", { "maybeArrayOf": { - "enum": ["display", "bibtex"] + "enum": [ + "display", + "bibtex" + ] } } ] }, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": { "short": "Controls the formats which are provided in the citation section of the appendix (`false`, `display`, or `bibtex`).", @@ -7831,13 +8751,20 @@ "schema": { "anyOf": [ { - "enum": ["default", "plain", "manuscript", "none"] + "enum": [ + "default", + "plain", + "manuscript", + "none" + ] } ] }, "default": "default", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": { "short": "The layout of the title block for this document (`none`, `plain`, or `default`).", @@ -7847,10 +8774,15 @@ { "name": "title-block-banner", "schema": { - "anyOf": ["string", "boolean"] + "anyOf": [ + "string", + "boolean" + ] }, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": { "short": "Apply a banner style treatment to the title block.", @@ -7861,7 +8793,9 @@ "name": "title-block-banner-color", "schema": "string", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": { "short": "Sets the color of text elements in a banner style title block.", @@ -7873,7 +8807,9 @@ "schema": "boolean", "default": true, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": { "short": "Enables or disables the display of categories in the title block." @@ -7883,7 +8819,9 @@ "name": "max-width", "schema": "string", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "description": "Adds a css `max-width` to the body Element." }, @@ -7891,7 +8829,11 @@ "name": "margin-left", "schema": "string", "tags": { - "formats": ["$html-files", "context", "$pdf-all"] + "formats": [ + "$html-files", + "context", + "$pdf-all" + ] }, "description": { "short": "Sets the left margin of the document.", @@ -7902,7 +8844,11 @@ "name": "margin-right", "schema": "string", "tags": { - "formats": ["$html-files", "context", "$pdf-all"] + "formats": [ + "$html-files", + "context", + "$pdf-all" + ] }, "description": { "short": "Sets the right margin of the document.", @@ -7913,7 +8859,11 @@ "name": "margin-top", "schema": "string", "tags": { - "formats": ["$html-files", "context", "$pdf-all"] + "formats": [ + "$html-files", + "context", + "$pdf-all" + ] }, "description": { "short": "Sets the top margin of the document.", @@ -7924,7 +8874,11 @@ "name": "margin-bottom", "schema": "string", "tags": { - "formats": ["$html-files", "context", "$pdf-all"] + "formats": [ + "$html-files", + "context", + "$pdf-all" + ] }, "description": { "short": "Sets the bottom margin of the document.", @@ -7937,7 +8891,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "Options for the geometry package.", @@ -7950,7 +8906,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "Additional non-color options for the hyperref package.", @@ -7960,10 +8918,16 @@ { "name": "indent", "schema": { - "anyOf": ["boolean", "string"] + "anyOf": [ + "boolean", + "string" + ] }, "tags": { - "formats": ["$pdf-all", "ms"] + "formats": [ + "$pdf-all", + "ms" + ] }, "default": false, "description": { @@ -7975,7 +8939,9 @@ "name": "block-headings", "schema": "boolean", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": { "short": "Make `\\paragraph` and `\\subparagraph` free-standing rather than run-in.", @@ -7988,7 +8954,9 @@ "name": "revealjs-url", "schema": "path", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "description": "Directory containing reveal.js files." }, @@ -7996,7 +8964,9 @@ "name": "s5-url", "schema": "string", "tags": { - "formats": ["s5"] + "formats": [ + "s5" + ] }, "description": "The base url for s5 presentations." }, @@ -8004,7 +8974,9 @@ "name": "slidy-url", "schema": "string", "tags": { - "formats": ["slidy"] + "formats": [ + "slidy" + ] }, "description": "The base url for Slidy presentations." }, @@ -8012,7 +8984,9 @@ "name": "slideous-url", "schema": "string", "tags": { - "formats": ["slideous"] + "formats": [ + "slideous" + ] }, "description": "The base url for Slideous presentations." } @@ -8024,7 +8998,9 @@ "anyOf": [ "boolean", { - "enum": ["auto"] + "enum": [ + "auto" + ] }, { "object": { @@ -8032,7 +9008,9 @@ "properties": { "match": { "schema": { - "enum": ["auto"] + "enum": [ + "auto" + ] }, "description": { "short": "Set this to `auto` if you'd like any image to be given lightbox treatment.", @@ -8041,13 +9019,22 @@ }, "effect": { "schema": { - "enum": ["fade", "zoom", "none"] + "enum": [ + "fade", + "zoom", + "none" + ] }, "description": "The effect that should be used when opening and closing the lightbox. One of `fade`, `zoom`, `none`. Defaults to `zoom`." }, "desc-position": { "schema": { - "enum": ["top", "bottom", "left", "right"] + "enum": [ + "top", + "bottom", + "left", + "right" + ] }, "description": "The position of the title and description when displaying a lightbox. One of `top`, `bottom`, `left`, `right`. Defaults to `bottom`." }, @@ -8067,7 +9054,9 @@ ] }, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "Enable or disable lightbox treatment for images in this document. See [Lightbox Figures](https://quarto.org/docs/output-formats/html-lightbox-figures.html) for more details." } @@ -8076,7 +9065,10 @@ { "name": "link-external-icon", "tags": { - "formats": ["$html-doc", "revealjs"] + "formats": [ + "$html-doc", + "revealjs" + ] }, "schema": "boolean", "description": "Show a special icon next to links that leave the current site." @@ -8084,7 +9076,10 @@ { "name": "link-external-newwindow", "tags": { - "formats": ["$html-doc", "revealjs"] + "formats": [ + "$html-doc", + "revealjs" + ] }, "schema": "boolean", "description": "Open external links in a new browser window or tab (rather than navigating the current tab)." @@ -8092,7 +9087,10 @@ { "name": "link-external-filter", "tags": { - "formats": ["$html-doc", "revealjs"] + "formats": [ + "$html-doc", + "revealjs" + ] }, "schema": "string", "description": { @@ -8103,7 +9101,9 @@ { "name": "format-links", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { "anyOf": [ @@ -8131,7 +9131,10 @@ } } }, - "required": ["text", "href"] + "required": [ + "text", + "href" + ] } }, { @@ -8153,7 +9156,10 @@ } } }, - "required": ["text", "format"] + "required": [ + "text", + "format" + ] } } ] @@ -8169,13 +9175,18 @@ { "name": "notebook-links", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { "anyOf": [ "boolean", { - "enum": ["inline", "global"] + "enum": [ + "inline", + "global" + ] } ] }, @@ -8187,12 +9198,16 @@ { "name": "other-links", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { "anyOf": [ { - "enum": [false] + "enum": [ + false + ] }, { "ref": "other-links" @@ -8204,12 +9219,16 @@ { "name": "code-links", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { "anyOf": [ { - "enum": [false] + "enum": [ + false + ] }, { "ref": "code-links-schema" @@ -8221,7 +9240,9 @@ { "name": "notebook-subarticles", "tags": { - "formats": ["$jats-all"] + "formats": [ + "$jats-all" + ] }, "schema": "boolean", "description": { @@ -8232,7 +9253,9 @@ { "name": "notebook-view", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { "anyOf": [ @@ -8254,10 +9277,15 @@ { "name": "notebook-view-style", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { - "enum": ["document", "notebook"] + "enum": [ + "document", + "notebook" + ] }, "hidden": true, "description": "The style of document to render. Setting this to `notebook` will create additional notebook style affordances." @@ -8265,7 +9293,9 @@ { "name": "notebook-preview-options", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { "object": { @@ -8283,10 +9313,15 @@ { "name": "canonical-url", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { - "anyOf": ["boolean", "string"] + "anyOf": [ + "boolean", + "string" + ] }, "description": { "short": "Include a canonical link tag in website pages", @@ -8298,7 +9333,9 @@ { "name": "listing", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": { "anyOf": [ @@ -8322,13 +9359,20 @@ { "name": "mermaid", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "schema": { "object": { "properties": { "theme": { - "enum": ["default", "dark", "forest", "neutral"], + "enum": [ + "default", + "dark", + "forest", + "neutral" + ], "description": "The mermaid built-in theme to use." } } @@ -8359,7 +9403,11 @@ "name": "subject", "schema": "string", "tags": { - "formats": ["$pdf-all", "$office-all", "odt"] + "formats": [ + "$pdf-all", + "$office-all", + "odt" + ] }, "description": "The document subject" }, @@ -8367,7 +9415,10 @@ "name": "description", "schema": "string", "tags": { - "formats": ["odt", "$office-all"] + "formats": [ + "odt", + "$office-all" + ] }, "description": "The document description. Some applications show this as `Comments` metadata." }, @@ -8375,7 +9426,9 @@ "name": "category", "schema": "string", "tags": { - "formats": ["$office-all"] + "formats": [ + "$office-all" + ] }, "description": "The document category." }, @@ -8388,7 +9441,10 @@ "properties": { "year": { "maybeArrayOf": { - "anyOf": ["string", "number"] + "anyOf": [ + "string", + "number" + ] }, "description": "The year for this copyright" }, @@ -8413,8 +9469,11 @@ ] }, "tags": { - "formats": ["$html-doc", "$jats-all"] - }, + "formats": [ + "$html-doc", + "$jats-all" + ] + }, "description": "The copyright for this document, if any." }, { @@ -8448,7 +9507,10 @@ } }, "tags": { - "formats": ["$html-doc", "$jats-all"] + "formats": [ + "$html-doc", + "$jats-all" + ] }, "description": { "short": "The License for this document, if any. (e.g. `CC BY`)", @@ -8459,14 +9521,18 @@ "name": "title-meta", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": "Sets the title metadata for the document" }, { "name": "pagetitle", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "schema": "string", "description": "Sets the title metadata for the document" @@ -8474,7 +9540,9 @@ { "name": "title-prefix", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "schema": "string", "description": "Specify STRING as a prefix at the beginning of the title that appears in \nthe HTML header (but not in the title as it appears at the beginning of the body)\n" @@ -8483,7 +9551,9 @@ "name": "description-meta", "schema": "string", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "description": "Sets the description metadata for the document" }, @@ -8491,7 +9561,10 @@ "name": "author-meta", "schema": "string", "tags": { - "formats": ["$pdf-all", "$html-files"] + "formats": [ + "$pdf-all", + "$html-files" + ] }, "description": "Sets the author metadata for the document" }, @@ -8499,7 +9572,10 @@ "name": "date-meta", "schema": "string", "tags": { - "formats": ["$html-all", "$pdf-all"] + "formats": [ + "$html-all", + "$pdf-all" + ] }, "description": "Sets the date metadata for the document" } @@ -8518,7 +9594,11 @@ "name": "number-depth", "schema": "number", "tags": { - "formats": ["$html-all", "$pdf-all", "docx"] + "formats": [ + "$html-all", + "$pdf-all", + "docx" + ] }, "description": { "short": "The depth to which sections should be numbered.", @@ -8530,19 +9610,30 @@ "schema": "number", "hidden": true, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": "The numbering depth for sections. (Use `number-depth` instead)." }, { "name": "number-offset", "tags": { - "formats": ["$html-all"] + "formats": [ + "$html-all" + ] }, "schema": { "maybeArrayOf": "number" }, - "default": [0, 0, 0, 0, 0, 0], + "default": [ + 0, + 0, + 0, + 0, + 0, + 0 + ], "description": { "short": "Offset for section headings in output (offsets are 0 by default)", "long": "Offset for section headings in output (offsets are 0 by default)\nThe first number is added to the section number for\ntop-level headings, the second for second-level headings, and so on.\nSo, for example, if you want the first top-level heading in your\ndocument to be numbered \"6\", specify `number-offset: 5`. If your\ndocument starts with a level-2 heading which you want to be numbered\n\"1.5\", specify `number-offset: [1,4]`. Implies `number-sections`\n" @@ -8551,7 +9642,9 @@ { "name": "section-numbering", "tags": { - "formats": ["typst"] + "formats": [ + "typst" + ] }, "schema": "string", "description": "Schema to use for numbering sections, e.g. `1.A.1`" @@ -8570,7 +9663,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": { "short": "Sets the page numbering style and location for the document.", @@ -8580,10 +9675,20 @@ { "name": "top-level-division", "tags": { - "formats": ["$pdf-all", "context", "$docbook-all", "tei"] + "formats": [ + "$pdf-all", + "context", + "$docbook-all", + "tei" + ] }, "schema": { - "enum": ["default", "section", "chapter", "part"] + "enum": [ + "default", + "section", + "chapter", + "part" + ] }, "description": { "short": "Treat top-level headings as the given division type (`default`, `section`, `chapter`, or `part`). The hierarchy\norder is part, chapter, then section; all headings are shifted such \nthat the top-level heading becomes the specified type.\n", @@ -8595,7 +9700,9 @@ { "name": "ojs-engine", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "schema": "boolean", "description": "If `true`, force the presence of the OJS runtime. If `false`, force the absence instead.\nIf unset, the OJS runtime is included only if OJS cells are present in the document.\n" @@ -8605,7 +9712,10 @@ { "name": "reference-doc", "tags": { - "formats": ["$office-all", "odt"] + "formats": [ + "$office-all", + "odt" + ] }, "schema": "path", "description": "Use the specified file as a style reference in producing a docx, \npptx, or odt file.\n" @@ -8620,7 +9730,12 @@ { "name": "theme", "tags": { - "formats": ["$html-doc", "revealjs", "beamer", "dashboard"] + "formats": [ + "$html-doc", + "revealjs", + "beamer", + "dashboard" + ] }, "schema": { "anyOf": [ @@ -8663,7 +9778,9 @@ { "name": "body-classes", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": "string", "description": "Classes to apply to the body of the document.\n" @@ -8673,7 +9790,9 @@ "schema": "boolean", "default": false, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "Disables the built in html features like theming, anchor sections, code block behavior, and more." }, @@ -8683,14 +9802,18 @@ "hidden": true, "default": true, "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "description": "Enables inclusion of Pandoc default CSS for this document." }, { "name": "css", "tags": { - "formats": ["$html-all"] + "formats": [ + "$html-all" + ] }, "schema": { "maybeArrayOf": "path" @@ -8702,7 +9825,9 @@ "schema": "boolean", "default": true, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "Enables hover over a section title to see an anchor link." }, @@ -8711,7 +9836,9 @@ "schema": "boolean", "default": true, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "Enables tabsets to present content." }, @@ -8720,7 +9847,9 @@ "schema": "boolean", "default": false, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "Enables smooth scrolling within the page." }, @@ -8729,7 +9858,9 @@ "schema": "boolean", "default": false, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": { "short": "Enables setting dark mode based on the `prefers-color-scheme` media query.", @@ -8739,7 +9870,11 @@ { "name": "html-math-method", "tags": { - "formats": ["$html-doc", "$epub-all", "gfm"] + "formats": [ + "$html-doc", + "$epub-all", + "gfm" + ] }, "schema": { "anyOf": [ @@ -8754,7 +9889,9 @@ }, "url": "string" }, - "required": ["method"] + "required": [ + "method" + ] } } ] @@ -8767,7 +9904,9 @@ { "name": "section-divs", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "schema": "boolean", "default": true, @@ -8776,7 +9915,12 @@ { "name": "identifier-prefix", "tags": { - "formats": ["$html-files", "$docbook-all", "$markdown-all", "haddock"] + "formats": [ + "$html-files", + "$docbook-all", + "$markdown-all", + "haddock" + ] }, "schema": "string", "description": { @@ -8787,10 +9931,16 @@ { "name": "email-obfuscation", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "schema": { - "enum": ["none", "references", "javascript"] + "enum": [ + "none", + "references", + "javascript" + ] }, "default": "none", "description": { @@ -8801,7 +9951,9 @@ { "name": "html-q-tags", "tags": { - "formats": ["$html-all"] + "formats": [ + "$html-all" + ] }, "schema": "boolean", "default": false, @@ -8810,7 +9962,11 @@ { "name": "pdf-engine", "tags": { - "formats": ["$pdf-all", "ms", "context"] + "formats": [ + "$pdf-all", + "ms", + "context" + ] }, "schema": { "enum": [ @@ -8836,7 +9992,11 @@ { "name": "pdf-engine-opt", "tags": { - "formats": ["$pdf-all", "ms", "context"] + "formats": [ + "$pdf-all", + "ms", + "context" + ] }, "schema": "string", "description": { @@ -8847,7 +10007,11 @@ { "name": "pdf-engine-opts", "tags": { - "formats": ["$pdf-all", "ms", "context"] + "formats": [ + "$pdf-all", + "ms", + "context" + ] }, "schema": { "arrayOf": "string" @@ -8861,7 +10025,9 @@ "name": "beamerarticle", "schema": "boolean", "tags": { - "formats": ["pdf"] + "formats": [ + "pdf" + ] }, "description": "Whether to produce a Beamer article from this presentation." }, @@ -8871,17 +10037,29 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["beamer"] + "formats": [ + "beamer" + ] }, "description": "Add an extra Beamer option using `\\setbeameroption{}`." }, { "name": "aspectratio", "schema": { - "enum": [43, 169, 1610, 149, 141, 54, 32] + "enum": [ + 43, + 169, + 1610, + 149, + 141, + 54, + 32 + ] }, "tags": { - "formats": ["beamer"] + "formats": [ + "beamer" + ] }, "description": "The aspect ratio for this presentation." }, @@ -8889,7 +10067,9 @@ "name": "logo", "schema": "path", "tags": { - "formats": ["beamer"] + "formats": [ + "beamer" + ] }, "description": "The logo image." }, @@ -8897,17 +10077,26 @@ "name": "titlegraphic", "schema": "path", "tags": { - "formats": ["beamer"] + "formats": [ + "beamer" + ] }, "description": "The image for the title slide." }, { "name": "navigation", "schema": { - "enum": ["empty", "frame", "vertical", "horizontal"] + "enum": [ + "empty", + "frame", + "vertical", + "horizontal" + ] }, "tags": { - "formats": ["beamer"] + "formats": [ + "beamer" + ] }, "description": "Controls navigation symbols for the presentation (`empty`, `frame`, `vertical`, or `horizontal`)" }, @@ -8915,7 +10104,9 @@ "name": "section-titles", "schema": "boolean", "tags": { - "formats": ["beamer"] + "formats": [ + "beamer" + ] }, "default": true, "description": "Whether to enable title pages for new sections." @@ -8924,7 +10115,9 @@ "name": "colortheme", "schema": "string", "tags": { - "formats": ["beamer"] + "formats": [ + "beamer" + ] }, "description": "The Beamer color theme for this presentation." }, @@ -8932,7 +10125,9 @@ "name": "fonttheme", "schema": "string", "tags": { - "formats": ["beamer"] + "formats": [ + "beamer" + ] }, "description": "The Beamer font theme for this presentation." }, @@ -8940,7 +10135,9 @@ "name": "innertheme", "schema": "string", "tags": { - "formats": ["beamer"] + "formats": [ + "beamer" + ] }, "description": "The Beamer inner theme for this presentation." }, @@ -8948,7 +10145,9 @@ "name": "outertheme", "schema": "string", "tags": { - "formats": ["beamer"] + "formats": [ + "beamer" + ] }, "description": "The Beamer outer theme for this presentation." }, @@ -8958,7 +10157,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["beamer"] + "formats": [ + "beamer" + ] }, "description": "Options passed to LaTeX Beamer themes." }, @@ -8966,14 +10167,18 @@ "name": "section", "schema": "number", "tags": { - "formats": ["man"] + "formats": [ + "man" + ] }, "description": "The section number in man pages." }, { "name": "variant", "tags": { - "formats": ["$markdown-all"] + "formats": [ + "$markdown-all" + ] }, "schema": "string", "description": "Enable and disable extensions for markdown output (e.g. \"+emoji\")\n" @@ -8981,10 +10186,16 @@ { "name": "markdown-headings", "tags": { - "formats": ["$markdown-all", "ipynb"] + "formats": [ + "$markdown-all", + "ipynb" + ] }, "schema": { - "enum": ["setext", "atx"] + "enum": [ + "setext", + "atx" + ] }, "default": "atx", "description": "Specify whether to use `atx` (`#`-prefixed) or\n`setext` (underlined) headings for level 1 and 2\nheadings (`atx` or `setext`).\n" @@ -8992,10 +10203,16 @@ { "name": "ipynb-output", "tags": { - "formats": ["ipynb"] + "formats": [ + "ipynb" + ] }, "schema": { - "enum": ["none", "all", "best"] + "enum": [ + "none", + "all", + "best" + ] }, "default": "best", "description": { @@ -9015,7 +10232,10 @@ "name": "preview-mode", "schema": "string", "tags": { - "formats": ["$jats-all", "gfm"] + "formats": [ + "$jats-all", + "gfm" + ] }, "description": { "short": "The mode to use when previewing this document.", @@ -9027,10 +10247,15 @@ { "name": "pdfa", "schema": { - "anyOf": ["boolean", "string"] + "anyOf": [ + "boolean", + "string" + ] }, "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": { "short": "Adds the necessary setup to the document preamble to generate PDF/A of the type specified.", @@ -9043,7 +10268,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": { "short": "When used in conjunction with `pdfa`, specifies the ICC profile to use \nin the PDF, e.g. `default.cmyk`.\n", @@ -9054,7 +10281,9 @@ "name": "pdfaintent", "schema": "string", "tags": { - "formats": ["context"] + "formats": [ + "context" + ] }, "description": { "short": "When used in conjunction with `pdfa`, specifies the output intent for the colors.", @@ -9079,7 +10308,9 @@ "name": "citations-hover", "schema": "boolean", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "default": true, "description": "Enables a hover popup for citation that shows the reference information." @@ -9087,10 +10318,15 @@ { "name": "citation-location", "schema": { - "enum": ["document", "margin"] + "enum": [ + "document", + "margin" + ] }, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "default": "document", "description": "Where citation information should be displayed (`document` or `margin`)" @@ -9098,10 +10334,16 @@ { "name": "cite-method", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "schema": { - "enum": ["citeproc", "natbib", "biblatex"] + "enum": [ + "citeproc", + "natbib", + "biblatex" + ] }, "default": "citeproc", "description": "Method used to format citations (`citeproc`, `natbib`, or `biblatex`).\n" @@ -9121,7 +10363,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": "A list of options for BibLaTeX." }, @@ -9131,7 +10375,9 @@ "maybeArrayOf": "string" }, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": "One or more options to provide for `natbib` when generating a bibliography." }, @@ -9139,7 +10385,9 @@ "name": "biblio-style", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": "The bibliography style to use (e.g. `\\bibliographystyle{dinat}`) when using `natbib` or `biblatex`." }, @@ -9147,7 +10395,9 @@ "name": "bibliographystyle", "schema": "string", "tags": { - "formats": ["typst"] + "formats": [ + "typst" + ] }, "description": "The bibliography style to use (e.g. `#set bibliography(style: \"apa\")`) when using typst built-in citation system (e.g when not `citeproc: true`)." }, @@ -9155,7 +10405,9 @@ "name": "biblio-title", "schema": "string", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": "The bibliography title to use when using `natbib` or `biblatex`." }, @@ -9163,7 +10415,9 @@ "name": "biblio-config", "schema": "boolean", "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": "Controls whether to output bibliography configuration for `natbib` or `biblatex` when cite method is not `citeproc`." }, @@ -9179,7 +10433,10 @@ "name": "link-citations", "schema": "boolean", "tags": { - "formats": ["$pdf-all", "docx"] + "formats": [ + "$pdf-all", + "docx" + ] }, "description": "If true, citations will be hyperlinked to the corresponding bibliography entries (for author-date and numerical styles only). Defaults to false." }, @@ -9187,7 +10444,10 @@ "name": "link-bibliography", "schema": "boolean", "tags": { - "formats": ["$pdf-all", "docx"] + "formats": [ + "$pdf-all", + "docx" + ] }, "description": { "short": "If true, DOIs, PMCIDs, PMID, and URLs in bibliographies will be rendered as hyperlinks.", @@ -9198,7 +10458,10 @@ "name": "notes-after-punctuation", "schema": "boolean", "tags": { - "formats": ["$pdf-all", "docx"] + "formats": [ + "$pdf-all", + "docx" + ] }, "description": { "short": "Places footnote references or superscripted numerical citations after following punctuation.", @@ -9232,13 +10495,19 @@ }, { "name": "template", - "disabled": ["$office-all", "ipynb"], + "disabled": [ + "$office-all", + "ipynb" + ], "schema": "path", "description": "Use the specified file as a custom template for the generated document.\n" }, { "name": "template-partials", - "disabled": ["$office-all", "ipynb"], + "disabled": [ + "$office-all", + "ipynb" + ], "schema": { "maybeArrayOf": "path" }, @@ -9247,7 +10516,9 @@ { "name": "embed-resources", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "schema": "boolean", "default": false, @@ -9259,7 +10530,9 @@ { "name": "self-contained", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "schema": "boolean", "default": false, @@ -9272,7 +10545,9 @@ { "name": "self-contained-math", "tags": { - "formats": ["$html-files"] + "formats": [ + "$html-files" + ] }, "schema": "boolean", "default": false, @@ -9300,7 +10575,9 @@ "schema": "boolean", "default": false, "tags": { - "contexts": ["document-execute"] + "contexts": [ + "document-execute" + ] }, "description": "Keep the markdown file generated by executing code" }, @@ -9309,7 +10586,9 @@ "schema": "boolean", "default": false, "tags": { - "contexts": ["document-execute"] + "contexts": [ + "document-execute" + ] }, "description": "Keep the notebook file generated from executing code." }, @@ -9319,7 +10598,9 @@ "arrayOf": "string" }, "tags": { - "contexts": ["document-execute"] + "contexts": [ + "document-execute" + ] }, "description": "Filters to pre-process ipynb files before rendering to markdown" }, @@ -9336,7 +10617,9 @@ ] }, "tags": { - "contexts": ["document-execute"], + "contexts": [ + "document-execute" + ], "engine": "jupyter" }, "description": "Specify which nodes should be run interactively (displaying output from expressions)\n" @@ -9346,7 +10629,9 @@ "schema": "boolean", "default": false, "tags": { - "contexts": ["document-execute"], + "contexts": [ + "document-execute" + ], "engine": "jupyter" }, "description": "If true, use the \"notebook_connected\" plotly renderer, which downloads\nits dependencies from a CDN and requires an internet connection to view.\n" @@ -9354,7 +10639,9 @@ { "name": "keep-typ", "tags": { - "formats": ["typst"] + "formats": [ + "typst" + ] }, "schema": "boolean", "default": false, @@ -9363,7 +10650,10 @@ { "name": "keep-tex", "tags": { - "formats": ["pdf", "beamer"] + "formats": [ + "pdf", + "beamer" + ] }, "schema": "boolean", "default": false, @@ -9382,7 +10672,9 @@ "schema": { "arrayOf": "path" }, - "default": ["."], + "default": [ + "." + ], "description": "List of paths to search for images and other resources.\n" }, { @@ -9413,27 +10705,39 @@ { "name": "html-table-processing", "schema": { - "enum": ["none"] + "enum": [ + "none" + ] }, "description": "If `none`, do not process tables in HTML input." }, { "name": "html-pre-tag-processing", "tags": { - "formats": ["typst"] + "formats": [ + "typst" + ] }, "schema": { - "enum": ["none", "parse"] + "enum": [ + "none", + "parse" + ] }, "description": "If `none`, ignore any divs with `html-pre-tag-processing=parse` enabled." }, { "name": "css-property-processing", "tags": { - "formats": ["typst"] + "formats": [ + "typst" + ] }, "schema": { - "enum": ["none", "translate"] + "enum": [ + "none", + "translate" + ] }, "default": "translate", "description": { @@ -9446,7 +10750,9 @@ "schema": "boolean", "default": true, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": "If `true`, attempt to use `rsvg-convert` to convert SVG images to PDF." } @@ -9455,17 +10761,25 @@ { "name": "logo", "tags": { - "formats": ["revealjs", "typst"] + "formats": [ + "revealjs", + "typst" + ] }, "schema": { - "anyOf": ["string", "object"] + "anyOf": [ + "string", + "object" + ] }, "description": "Logo image (placed in bottom right corner of slides)" }, { "name": "footer", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "string", "description": { @@ -9476,7 +10790,9 @@ { "name": "scrollable", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -9488,7 +10804,9 @@ { "name": "smaller", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -9500,10 +10818,18 @@ { "name": "output-location", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": ["default", "fragment", "slide", "column", "column-fragment"] + "enum": [ + "default", + "fragment", + "slide", + "column", + "column-fragment" + ] }, "description": { "short": "Location of output relative to the code that generated it (`default`, `fragment`, `slide`, `column`, or `column-location`)", @@ -9515,7 +10841,9 @@ { "name": "embedded", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "hidden": true, @@ -9525,7 +10853,9 @@ { "name": "display", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "string", "hidden": true, @@ -9537,7 +10867,9 @@ { "name": "auto-stretch", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -9546,10 +10878,15 @@ { "name": "width", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "anyOf": ["number", "string"] + "anyOf": [ + "number", + "string" + ] }, "default": 1050, "description": { @@ -9560,10 +10897,15 @@ { "name": "height", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "anyOf": ["number", "string"] + "anyOf": [ + "number", + "string" + ] }, "default": 700, "description": { @@ -9574,7 +10916,10 @@ { "name": "margin", "tags": { - "formats": ["revealjs", "typst"] + "formats": [ + "revealjs", + "typst" + ] }, "schema": { "anyOf": [ @@ -9624,7 +10969,9 @@ { "name": "min-scale", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "number", "default": 0.2, @@ -9633,7 +10980,9 @@ { "name": "max-scale", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "number", "default": 2, @@ -9642,7 +10991,9 @@ { "name": "center", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -9651,7 +11002,9 @@ { "name": "disable-layout", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -9660,7 +11013,9 @@ { "name": "code-block-height", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "string", "default": "500px", @@ -9671,12 +11026,16 @@ { "name": "preview-links", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { "anyOf": [ { - "enum": ["auto"] + "enum": [ + "auto" + ] }, "boolean" ] @@ -9690,10 +11049,16 @@ { "name": "auto-play-media", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": [null, true, false] + "enum": [ + null, + true, + false + ] }, "default": null, "description": "Autoplay embedded media (`null`, `true`, or `false`). Default is `null` (only when `autoplay` \nattribute is specified)\n" @@ -9701,10 +11066,16 @@ { "name": "preload-iframes", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": [null, true, false] + "enum": [ + null, + true, + false + ] }, "default": null, "description": { @@ -9715,7 +11086,9 @@ { "name": "view-distance", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "number", "default": 3, @@ -9724,7 +11097,9 @@ { "name": "mobile-view-distance", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "number", "default": 2, @@ -9733,7 +11108,9 @@ { "name": "parallax-background-image", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "path", "description": "Parallax background image" @@ -9741,7 +11118,9 @@ { "name": "parallax-background-size", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "string", "description": "Parallax background size (e.g. '2100px 900px')" @@ -9749,7 +11128,9 @@ { "name": "parallax-background-horizontal", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "number", "default": 200, @@ -9758,7 +11139,9 @@ { "name": "parallax-background-vertical", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "number", "default": 50, @@ -9769,7 +11152,9 @@ { "name": "progress", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -9778,7 +11163,9 @@ { "name": "history", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -9787,10 +11174,16 @@ { "name": "navigation-mode", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": ["linear", "vertical", "grid"] + "enum": [ + "linear", + "vertical", + "grid" + ] }, "default": "linear", "description": { @@ -9801,7 +11194,9 @@ { "name": "touch", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -9810,7 +11205,9 @@ { "name": "keyboard", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -9819,7 +11216,9 @@ { "name": "mouse-wheel", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -9828,7 +11227,9 @@ { "name": "hide-inactive-cursor", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -9837,7 +11238,9 @@ { "name": "hide-cursor-time", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "number", "default": 5000, @@ -9846,7 +11249,9 @@ { "name": "loop", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -9855,7 +11260,9 @@ { "name": "shuffle", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -9864,13 +11271,17 @@ { "name": "controls", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { "anyOf": [ "boolean", { - "enum": ["auto"] + "enum": [ + "auto" + ] } ] }, @@ -9883,10 +11294,15 @@ { "name": "controls-layout", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": ["edges", "bottom-right"] + "enum": [ + "edges", + "bottom-right" + ] }, "default": "edges", "description": "Location for navigation controls (`edges` or `bottom-right`)" @@ -9894,7 +11310,9 @@ { "name": "controls-tutorial", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -9903,10 +11321,16 @@ { "name": "controls-back-arrows", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": ["faded", "hidden", "visible"] + "enum": [ + "faded", + "hidden", + "visible" + ] }, "default": "faded", "description": "Visibility rule for backwards navigation arrows (`faded`, `hidden`, or `visible`).\n" @@ -9914,13 +11338,17 @@ { "name": "auto-slide", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { "anyOf": [ "number", { - "enum": [false] + "enum": [ + false + ] } ] }, @@ -9930,7 +11358,9 @@ { "name": "auto-slide-stoppable", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -9939,7 +11369,9 @@ { "name": "auto-slide-method", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "string", "default": "navigateNext", @@ -9948,7 +11380,9 @@ { "name": "default-timing", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "number", "description": "Expected average seconds per slide (used by pacing timer in speaker view)" @@ -9956,7 +11390,9 @@ { "name": "pause", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -9965,7 +11401,9 @@ { "name": "help", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -9974,7 +11412,9 @@ { "name": "hash", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -9983,10 +11423,15 @@ { "name": "hash-type", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": ["number", "title"] + "enum": [ + "number", + "title" + ] }, "default": "title", "description": "URL hash type (`number` or `title`)" @@ -9994,7 +11439,9 @@ { "name": "hash-one-based-index", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -10003,7 +11450,9 @@ { "name": "respond-to-hash-changes", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -10012,7 +11461,9 @@ { "name": "fragment-in-url", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -10021,7 +11472,9 @@ { "name": "slide-tone", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -10030,7 +11483,9 @@ { "name": "jump-to-slide", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -10041,7 +11496,9 @@ { "name": "pdf-max-pages-per-slide", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "number", "description": { @@ -10052,7 +11509,9 @@ { "name": "pdf-separate-fragments", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -10061,7 +11520,9 @@ { "name": "pdf-page-height-offset", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "number", "default": -1, @@ -10075,7 +11536,9 @@ { "name": "overview", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -10085,7 +11548,9 @@ "name": "menu", "description": "Configuration for revealjs menu.", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { "anyOf": [ @@ -10094,13 +11559,22 @@ "object": { "properties": { "side": { - "enum": ["left", "right"], + "enum": [ + "left", + "right" + ], "default": "left", "description": "Side of the presentation where the menu will be shown (`left` or `right`)" }, "width": { "string": { - "completions": ["normal", "wide", "third", "half", "full"] + "completions": [ + "normal", + "wide", + "third", + "half", + "full" + ] }, "default": "normal", "description": "Width of the menu" @@ -10127,7 +11601,9 @@ "name": "chalkboard", "description": "Configuration for revealjs chalkboard.", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { "anyOf": [ @@ -10136,7 +11612,10 @@ "object": { "properties": { "theme": { - "enum": ["chalkboard", "whiteboard"], + "enum": [ + "chalkboard", + "whiteboard" + ], "default": "chalkboard", "description": "Visual theme for drawing surface (`chalkboard` or `whiteboard`)" }, @@ -10184,7 +11663,9 @@ "name": "multiplex", "description": "Configuration for reveal presentation multiplexing.", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { "anyOf": [ @@ -10218,7 +11699,9 @@ "name": "scroll-view", "description": "Control the scroll view feature of Revealjs", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { "anyOf": [ @@ -10236,19 +11719,28 @@ "anyOf": [ "boolean", { - "enum": ["auto"] + "enum": [ + "auto" + ] } ], "default": "auto", "description": "Show the scrollbar while scrolling, hide while idle (default `auto`). Set to 'true' to always show, `false` to always hide." }, "snap": { - "enum": ["mandatory", "proximity", false], + "enum": [ + "mandatory", + "proximity", + false + ], "default": "mandatory", "description": "When scrolling, it will automatically snap to the closest slide. Only snap when close to the top of a slide using `proximity`. Disable snapping altogether by setting to `false`.\n" }, "layout": { - "enum": ["compact", "full"], + "enum": [ + "compact", + "full" + ], "default": "full", "description": "By default each slide will be sized to be as tall as the viewport. If you prefer a more dense layout with multiple slides visible in parallel, set to `compact`.\n" }, @@ -10268,10 +11760,19 @@ { "name": "transition", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": ["none", "fade", "slide", "convex", "concave", "zoom"] + "enum": [ + "none", + "fade", + "slide", + "convex", + "concave", + "zoom" + ] }, "default": "none", "description": { @@ -10282,10 +11783,16 @@ { "name": "transition-speed", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": ["default", "fast", "slow"] + "enum": [ + "default", + "fast", + "slow" + ] }, "default": "default", "description": "Slide transition speed (`default`, `fast`, or `slow`)" @@ -10293,10 +11800,19 @@ { "name": "background-transition", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": ["none", "fade", "slide", "convex", "concave", "zoom"] + "enum": [ + "none", + "fade", + "slide", + "convex", + "concave", + "zoom" + ] }, "default": "none", "description": { @@ -10307,7 +11823,9 @@ { "name": "fragments", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -10316,7 +11834,9 @@ { "name": "auto-animate", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -10325,7 +11845,9 @@ { "name": "auto-animate-easing", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "string", "default": "ease", @@ -10337,7 +11859,9 @@ { "name": "auto-animate-duration", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "number", "default": 1, @@ -10349,7 +11873,9 @@ { "name": "auto-animate-unmatched", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -10361,7 +11887,9 @@ { "name": "auto-animate-styles", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { "arrayOf": { @@ -10390,7 +11918,11 @@ { "name": "incremental", "tags": { - "formats": ["pptx", "beamer", "$html-pres"] + "formats": [ + "pptx", + "beamer", + "$html-pres" + ] }, "schema": "boolean", "default": false, @@ -10399,7 +11931,11 @@ { "name": "slide-level", "tags": { - "formats": ["pptx", "beamer", "$html-pres"] + "formats": [ + "pptx", + "beamer", + "$html-pres" + ] }, "schema": "number", "default": 2, @@ -10411,13 +11947,20 @@ { "name": "slide-number", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { "anyOf": [ "boolean", { - "enum": ["h.v", "h/v", "c", "c/t"] + "enum": [ + "h.v", + "h/v", + "c", + "c/t" + ] } ] }, @@ -10430,10 +11973,16 @@ { "name": "show-slide-number", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": ["all", "print", "speaker"] + "enum": [ + "all", + "print", + "speaker" + ] }, "default": "all", "description": "Contexts in which the slide number appears (`all`, `print`, or `speaker`)" @@ -10477,7 +12026,9 @@ } }, "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "description": { "short": "Additional attributes for the title slide of a reveal.js presentation.", @@ -10487,10 +12038,15 @@ { "name": "title-slide-style", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { - "enum": ["pandoc", "default"] + "enum": [ + "pandoc", + "default" + ] }, "default": "default", "description": "The title slide style. Use `pandoc` to select the Pandoc default title slide style." @@ -10498,7 +12054,9 @@ { "name": "center-title-slide", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": true, @@ -10507,13 +12065,17 @@ { "name": "show-notes", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": { "anyOf": [ "boolean", { - "enum": ["separate-page"] + "enum": [ + "separate-page" + ] } ] }, @@ -10523,7 +12085,9 @@ { "name": "rtl", "tags": { - "formats": ["revealjs"] + "formats": [ + "revealjs" + ] }, "schema": "boolean", "default": false, @@ -10534,7 +12098,12 @@ { "name": "df-print", "schema": { - "enum": ["default", "kable", "tibble", "paged"] + "enum": [ + "default", + "kable", + "tibble", + "paged" + ] }, "tags": { "engine": "knitr" @@ -10559,7 +12128,11 @@ ] }, "schema": { - "enum": ["auto", "none", "preserve"] + "enum": [ + "auto", + "none", + "preserve" + ] }, "default": "auto", "description": { @@ -10632,7 +12205,11 @@ ] }, "schema": { - "enum": ["lf", "crlf", "native"] + "enum": [ + "lf", + "crlf", + "native" + ] }, "description": { "short": "Manually specify line endings (`lf`, `crlf`, or `native`).", @@ -10643,7 +12220,11 @@ "name": "strip-comments", "schema": "boolean", "tags": { - "formats": ["$markdown-all", "textile", "$html-files"] + "formats": [ + "$markdown-all", + "textile", + "$html-files" + ] }, "description": { "short": "Strip out HTML comments in source, rather than passing them on to output.", @@ -10653,7 +12234,12 @@ { "name": "ascii", "tags": { - "formats": ["$html-all", "$pdf-all", "$markdown-all", "ms"] + "formats": [ + "$html-all", + "$pdf-all", + "$markdown-all", + "ms" + ] }, "schema": "boolean", "description": { @@ -10667,7 +12253,11 @@ "name": "toc", "alias": "table-of-contents", "tags": { - "formats": ["!man", "!$docbook-all", "!$jats-all"] + "formats": [ + "!man", + "!$docbook-all", + "!$jats-all" + ] }, "schema": "boolean", "description": { @@ -10678,7 +12268,9 @@ { "name": "toc-indent", "tags": { - "formats": ["typst"] + "formats": [ + "typst" + ] }, "schema": "string", "description": "The amount of indentation to use for each level of the table of contents.\nThe default is \"1.5em\".\n" @@ -10686,7 +12278,12 @@ { "name": "toc-depth", "tags": { - "formats": ["!man", "!$docbook-all", "!$jats-all", "!beamer"] + "formats": [ + "!man", + "!$docbook-all", + "!$jats-all", + "!beamer" + ] }, "schema": "number", "description": "Specify the number of section levels to include in the table of contents.\nThe default is 3\n" @@ -10694,11 +12291,19 @@ { "name": "toc-location", "schema": { - "enum": ["body", "left", "right", "left-body", "right-body"] + "enum": [ + "body", + "left", + "right", + "left-body", + "right-body" + ] }, "default": "right", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": { "short": "Location for table of contents (`body`, `left`, `right` (default), `left-body`, `right-body`).\n", @@ -10723,11 +12328,16 @@ { "name": "toc-expand", "schema": { - "anyOf": ["number", "boolean"] + "anyOf": [ + "number", + "boolean" + ] }, "default": 1, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "Specifies the depth of items in the table of contents that should be displayed as expanded in HTML output. Use `true` to expand all or `false` to collapse all.\n" }, @@ -10736,7 +12346,9 @@ "schema": "boolean", "default": false, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": "Print a list of figures in the document." }, @@ -10745,7 +12357,9 @@ "schema": "boolean", "default": false, "tags": { - "formats": ["$pdf-all"] + "formats": [ + "$pdf-all" + ] }, "description": "Print a list of tables in the document." } @@ -10755,7 +12369,9 @@ "name": "search", "schema": "boolean", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "default": true, "description": "Setting this to false prevents this document from being included in searches." @@ -10767,7 +12383,12 @@ "boolean", { "maybeArrayOf": { - "enum": ["none", "edit", "source", "issue"], + "enum": [ + "none", + "edit", + "source", + "issue" + ], "description": { "short": "Links to source repository actions", "long": "Links to source repository actions (`none` or one or more of `edit`, `source`, `issue`)" @@ -10777,7 +12398,9 @@ ] }, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "Setting this to false prevents the `repo-actions` from appearing on this page.\nOther possible values are `none` or one or more of `edit`, `source`, and `issue`, *e.g.* `[edit, source, issue]`.\n" }, @@ -10787,17 +12410,24 @@ "arrayOf": "string" }, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "URLs that alias this document, when included in a website." }, { "name": "image", "schema": { - "anyOf": ["path", "boolean"] + "anyOf": [ + "path", + "boolean" + ] }, "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": { "short": "The path to a preview image for this document.", @@ -10808,7 +12438,9 @@ "name": "image-height", "schema": "string", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "The height of the preview image for this document." }, @@ -10816,7 +12448,9 @@ "name": "image-width", "schema": "string", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "The width of the preview image for this document." }, @@ -10824,7 +12458,9 @@ "name": "image-alt", "schema": "string", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": "The alt text for preview image on this page." }, @@ -10832,7 +12468,9 @@ "name": "image-lazy-loading", "schema": "boolean", "tags": { - "formats": ["$html-doc"] + "formats": [ + "$html-doc" + ] }, "description": { "short": "If true, the preview image will only load when it comes into view.", @@ -10885,8 +12523,16 @@ ], "schema/format-aliases.yml": { "aliases": { - "epub-all": ["epub", "epub2", "epub3"], - "pdf-all": ["latex", "pdf", "beamer"], + "epub-all": [ + "epub", + "epub2", + "epub3" + ], + "pdf-all": [ + "latex", + "pdf", + "beamer" + ], "markdown-all": [ "markdown", "gfm", @@ -10895,15 +12541,49 @@ "markua", "md" ], - "office-all": ["docx", "pptx"], - "docbook-all": ["docbook", "docbook4", "docbook5"], - "odt-all": ["odt", "opendocument"], - "html-doc": ["html", "html4", "html5"], - "html-pres": ["slidy", "slideous", "s5", "revealjs", "dzslides"], - "pres-all": ["pptx", "beamer", "$html-pres"], - "html-files": ["$html-doc", "$html-pres", "dashboard"], - "html-all": ["$html-files", "$epub-all"], - "asciidoc-all": ["asciidoc", "asciidoctor"], + "office-all": [ + "docx", + "pptx" + ], + "docbook-all": [ + "docbook", + "docbook4", + "docbook5" + ], + "odt-all": [ + "odt", + "opendocument" + ], + "html-doc": [ + "html", + "html4", + "html5" + ], + "html-pres": [ + "slidy", + "slideous", + "s5", + "revealjs", + "dzslides" + ], + "pres-all": [ + "pptx", + "beamer", + "$html-pres" + ], + "html-files": [ + "$html-doc", + "$html-pres", + "dashboard" + ], + "html-all": [ + "$html-files", + "$epub-all" + ], + "asciidoc-all": [ + "asciidoc", + "asciidoctor" + ], "jats-all": [ "jats", "jats_archiving", @@ -11153,7 +12833,12 @@ }, "type": { "string": { - "completions": ["default", "website", "book", "manuscript"], + "completions": [ + "default", + "website", + "book", + "manuscript" + ], "description": "Project type (`default`, `website`, `book`, or `manuscript`)" } }, @@ -11162,7 +12847,10 @@ "description": "Files to render (defaults to all files)" }, "execute-dir": { - "enum": ["file", "project"], + "enum": [ + "file", + "project" + ], "description": { "short": "Working directory for computations", "long": "Control the working directory for computations. \n\n- `file`: Use the directory of the file that is currently executing.\n- `project`: Use the root directory of the project.\n" @@ -11249,7 +12937,9 @@ "name": "type", "hidden": true, "schema": { - "enum": ["cd93424f-d5ba-4e95-91c6-1890eab59fc7"] + "enum": [ + "cd93424f-d5ba-4e95-91c6-1890eab59fc7" + ] }, "errorMessage": "type key not supported at project type-level. Use `project: type: ...` instead.", "description": "internal-schema-hack" @@ -11270,7 +12960,9 @@ "boolean", "string", { - "enum": [null] + "enum": [ + null + ] } ] }, @@ -11318,7 +13010,9 @@ "super": { "resolveRef": "schema/base" }, - "required": ["enum"], + "required": [ + "enum" + ], "properties": { "enum": { "anyOf": [ @@ -11351,12 +13045,16 @@ "id": "schema/null", "anyOf": [ { - "enum": ["null"] + "enum": [ + "null" + ] }, { "object": { "closed": true, - "required": ["null"], + "required": [ + "null" + ], "properties": { "null": { "anyOf": [ @@ -11374,7 +13072,9 @@ "id": "schema/explicit-schema", "object": { "closed": true, - "required": ["schema"], + "required": [ + "schema" + ], "super": { "resolveRef": "schema/base" }, @@ -11392,7 +13092,9 @@ "super": { "resolveRef": "schema/base" }, - "required": ["pattern"], + "required": [ + "pattern" + ], "properties": { "pattern": "string" } @@ -11402,7 +13104,10 @@ "id": "schema/string", "anyOf": [ { - "enum": ["string", "path"] + "enum": [ + "string", + "path" + ] }, { "ref": "schema/explicit-pattern-string" @@ -11413,7 +13118,9 @@ "super": { "resolveRef": "schema/base" }, - "required": ["path"], + "required": [ + "path" + ], "properties": { "path": { "anyOf": [ @@ -11434,7 +13141,9 @@ "super": { "resolveRef": "schema/base" }, - "required": ["string"], + "required": [ + "string" + ], "properties": { "string": { "anyOf": [ @@ -11455,7 +13164,9 @@ "id": "schema/number", "anyOf": [ { - "enum": ["number"] + "enum": [ + "number" + ] }, { "object": { @@ -11463,7 +13174,9 @@ "super": { "resolveRef": "schema/base" }, - "required": ["number"], + "required": [ + "number" + ], "properties": { "number": { "anyOf": [ @@ -11484,12 +13197,16 @@ "id": "schema/boolean", "anyOf": [ { - "enum": ["boolean"] + "enum": [ + "boolean" + ] }, { "object": { "closed": true, - "required": ["boolean"], + "required": [ + "boolean" + ], "super": { "resolveRef": "schema/base" }, @@ -11513,7 +13230,9 @@ "id": "schema/resolve-ref", "object": { "closed": true, - "required": ["resolveRef"], + "required": [ + "resolveRef" + ], "properties": { "resolveRef": "string" } @@ -11523,7 +13242,9 @@ "id": "schema/ref", "object": { "closed": true, - "required": ["ref"], + "required": [ + "ref" + ], "properties": { "ref": "string", "description": { @@ -11536,7 +13257,9 @@ "id": "schema/maybe-array-of", "object": { "closed": true, - "required": ["maybeArrayOf"], + "required": [ + "maybeArrayOf" + ], "super": { "resolveRef": "schema/base" }, @@ -11554,7 +13277,9 @@ "super": { "resolveRef": "schema/base" }, - "required": ["arrayOf"], + "required": [ + "arrayOf" + ], "properties": { "arrayOf": { "anyOf": [ @@ -11587,7 +13312,9 @@ "super": { "resolveRef": "schema/base" }, - "required": ["allOf"], + "required": [ + "allOf" + ], "properties": { "allOf": { "anyOf": [ @@ -11622,7 +13349,9 @@ "super": { "resolveRef": "schema/base" }, - "required": ["anyOf"], + "required": [ + "anyOf" + ], "properties": { "anyOf": { "anyOf": [ @@ -11657,7 +13386,9 @@ "super": { "resolveRef": "schema/base" }, - "required": ["record"], + "required": [ + "record" + ], "properties": { "record": { "anyOf": [ @@ -11683,7 +13414,9 @@ } } }, - "required": ["properties"] + "required": [ + "properties" + ] } } ] @@ -11695,7 +13428,9 @@ "id": "schema/object", "anyOf": [ { - "enum": ["object"] + "enum": [ + "object" + ] }, { "object": { @@ -11703,7 +13438,9 @@ "super": { "resolveRef": "schema/base" }, - "required": ["object"], + "required": [ + "object" + ], "properties": { "object": { "object": { @@ -11715,7 +13452,9 @@ "namingConvention": { "anyOf": [ { - "enum": ["ignore"] + "enum": [ + "ignore" + ] }, { "arrayOf": { @@ -11771,7 +13510,9 @@ "required": { "anyOf": [ { - "enum": ["all"] + "enum": [ + "all" + ] }, { "arrayOf": "string" @@ -11839,7 +13580,10 @@ "ref": "schema/object" }, { - "enum": [null, "any"] + "enum": [ + null, + "any" + ] } ], "description": "be a yaml schema" @@ -11867,7 +13611,11 @@ "errorMessage": "string" }, "namingConvention": "ignore", - "required": ["name", "schema", "description"], + "required": [ + "name", + "schema", + "description" + ], "propertyNames": { "enum": [ "name", @@ -14193,6 +15941,7 @@ "The light theme name, theme scss file, or a mix of both.", "The dark theme name, theme scss file, or a mix of both.", "The dark theme name, theme scss file, or a mix of both.", + "Array of rendering names, e.g. [light, dark]", "Classes to apply to the body of the document.", "Disables the built in html features like theming, anchor sections,\ncode block behavior, and more.", "Enables inclusion of Pandoc default CSS for this document.", @@ -15297,7 +17046,6 @@ "Disambiguating year suffix in author-date styles (e.g. “a” in “Doe,\n1999a”).", "Manuscript configuration", "internal-schema-hack", - "Array of rendering names", "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’." ], "schema/external-schemas.yml": [ @@ -15317,7 +17065,10 @@ "register": { "type": "boolean", "description": "be `true` or `false`", - "completions": ["true", "false"], + "completions": [ + "true", + "false" + ], "exhaustiveCompletions": true }, "script": { @@ -15344,12 +17095,17 @@ "async": { "type": "boolean", "description": "be `true` or `false`", - "completions": ["true", "false"], + "completions": [ + "true", + "false" + ], "exhaustiveCompletions": true } }, "patternProperties": {}, - "required": ["path"] + "required": [ + "path" + ] } ], "description": "be at least one of: a string, an object" @@ -15378,12 +17134,17 @@ "async": { "type": "boolean", "description": "be `true` or `false`", - "completions": ["true", "false"], + "completions": [ + "true", + "false" + ], "exhaustiveCompletions": true } }, "patternProperties": {}, - "required": ["path"] + "required": [ + "path" + ] } ], "description": "be at least one of: a string, an object" @@ -15415,31 +17176,43 @@ "self-contained": { "type": "boolean", "description": "be `true` or `false`", - "completions": ["true", "false"], + "completions": [ + "true", + "false" + ], "exhaustiveCompletions": true } }, "patternProperties": {}, - "required": ["name"], + "required": [ + "name" + ], "propertyNames": { "errorMessage": "property ${value} does not match case convention path,name,register,script,stylesheet,self-contained", "type": "string", "pattern": "(?!(^self_contained$|^selfContained$))", "tags": { - "case-convention": ["dash-case"], + "case-convention": [ + "dash-case" + ], "error-importance": -5, "case-detection": true } }, "tags": { - "case-convention": ["dash-case"], + "case-convention": [ + "dash-case" + ], "error-importance": -5, "case-detection": true }, "$id": "plugin-reveal" } ], - "handlers/languages.yml": ["mermaid", "dot"], + "handlers/languages.yml": [ + "mermaid", + "dot" + ], "handlers/lang-comment-chars.yml": { "r": "#", "python": "#", @@ -15448,9 +17221,18 @@ "matlab": "%", "csharp": "//", "fsharp": "//", - "c": ["/*", "*/"], - "css": ["/*", "*/"], - "sas": ["*", ";"], + "c": [ + "/*", + "*/" + ], + "css": [ + "/*", + "*/" + ], + "sas": [ + "*", + ";" + ], "powershell": "#", "bash": "#", "sql": "--", @@ -15485,31 +17267,44 @@ "dot": "//", "ojs": "//", "apl": "⍝", - "ocaml": ["(*", "*)"], + "ocaml": [ + "(*", + "*)" + ], "rust": "//", "mermaid": "%%" }, "handlers/mermaid/schema.yml": { - "_internalId": 194327, + "_internalId": 195005, "type": "object", "description": "be an object", "properties": { "mermaid-format": { - "_internalId": 194319, + "_internalId": 194997, "type": "enum", - "enum": ["png", "svg", "js"], + "enum": [ + "png", + "svg", + "js" + ], "description": "be one of: `png`, `svg`, `js`", - "completions": ["png", "svg", "js"], + "completions": [ + "png", + "svg", + "js" + ], "exhaustiveCompletions": true }, "theme": { - "_internalId": 194326, + "_internalId": 195004, "type": "anyOf", "anyOf": [ { "type": "null", "description": "be the null value", - "completions": ["null"], + "completions": [ + "null" + ], "exhaustiveCompletions": true }, { @@ -15526,13 +17321,17 @@ "type": "string", "pattern": "(?!(^mermaid_format$|^mermaidFormat$))", "tags": { - "case-convention": ["dash-case"], + "case-convention": [ + "dash-case" + ], "error-importance": -5, "case-detection": true } }, "tags": { - "case-convention": ["dash-case"], + "case-convention": [ + "dash-case" + ], "error-importance": -5, "case-detection": true }, @@ -15542,13 +17341,17 @@ { "name": "page-numbering", "tags": { - "formats": ["typst"] + "formats": [ + "typst" + ] }, "schema": { "anyOf": [ "string", { - "enum": [false] + "enum": [ + false + ] } ] }, @@ -15559,7 +17362,9 @@ { "name": "smart", "tags": { - "formats": ["typst"] + "formats": [ + "typst" + ] }, "schema": "boolean", "description": { @@ -15567,4 +17372,4 @@ } } ] -} +} \ No newline at end of file From d950177387d6ba9ed2a58effb29f78b35a5ea4d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Canouil?= <8896044+mcanouil@users.noreply.github.com> Date: Tue, 8 Apr 2025 00:05:59 +0200 Subject: [PATCH 5/6] chore: restore from main --- src/resources/editor/tools/vs-code.mjs | 15 +++++---------- src/resources/editor/tools/yaml/web-worker.js | 15 +++++---------- .../tools/yaml/yaml-intelligence-resources.json | 15 +++++---------- 3 files changed, 15 insertions(+), 30 deletions(-) diff --git a/src/resources/editor/tools/vs-code.mjs b/src/resources/editor/tools/vs-code.mjs index 14ec3ca9fd9..3301bab381f 100644 --- a/src/resources/editor/tools/vs-code.mjs +++ b/src/resources/editor/tools/vs-code.mjs @@ -16646,11 +16646,6 @@ var require_yaml_intelligence_resources = __commonJS({ }, { name: "number-offset", - tags: { - formats: [ - "$html-all" - ] - }, schema: { maybeArrayOf: "number" }, @@ -22969,7 +22964,6 @@ var require_yaml_intelligence_resources = __commonJS({ "The light theme name, theme scss file, or a mix of both.", "The dark theme name, theme scss file, or a mix of both.", "The dark theme name, theme scss file, or a mix of both.", - "Array of rendering names, e.g. [light, dark]", "Classes to apply to the body of the document.", "Disables the built in html features like theming, anchor sections,\ncode block behavior, and more.", "Enables inclusion of Pandoc default CSS for this document.", @@ -24074,7 +24068,8 @@ var require_yaml_intelligence_resources = __commonJS({ "Disambiguating year suffix in author-date styles (e.g. \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.", + "Array of rendering names, e.g. [light, dark]" ], "schema/external-schemas.yml": [ { @@ -24303,12 +24298,12 @@ var require_yaml_intelligence_resources = __commonJS({ mermaid: "%%" }, "handlers/mermaid/schema.yml": { - _internalId: 195005, + _internalId: 194632, type: "object", description: "be an object", properties: { "mermaid-format": { - _internalId: 194997, + _internalId: 194624, type: "enum", enum: [ "png", @@ -24324,7 +24319,7 @@ var require_yaml_intelligence_resources = __commonJS({ exhaustiveCompletions: true }, theme: { - _internalId: 195004, + _internalId: 194631, type: "anyOf", anyOf: [ { diff --git a/src/resources/editor/tools/yaml/web-worker.js b/src/resources/editor/tools/yaml/web-worker.js index 6594046dfb9..49cb572456d 100644 --- a/src/resources/editor/tools/yaml/web-worker.js +++ b/src/resources/editor/tools/yaml/web-worker.js @@ -16647,11 +16647,6 @@ try { }, { name: "number-offset", - tags: { - formats: [ - "$html-all" - ] - }, schema: { maybeArrayOf: "number" }, @@ -22970,7 +22965,6 @@ try { "The light theme name, theme scss file, or a mix of both.", "The dark theme name, theme scss file, or a mix of both.", "The dark theme name, theme scss file, or a mix of both.", - "Array of rendering names, e.g. [light, dark]", "Classes to apply to the body of the document.", "Disables the built in html features like theming, anchor sections,\ncode block behavior, and more.", "Enables inclusion of Pandoc default CSS for this document.", @@ -24075,7 +24069,8 @@ try { "Disambiguating year suffix in author-date styles (e.g. \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.", + "Array of rendering names, e.g. [light, dark]" ], "schema/external-schemas.yml": [ { @@ -24304,12 +24299,12 @@ try { mermaid: "%%" }, "handlers/mermaid/schema.yml": { - _internalId: 195005, + _internalId: 194632, type: "object", description: "be an object", properties: { "mermaid-format": { - _internalId: 194997, + _internalId: 194624, type: "enum", enum: [ "png", @@ -24325,7 +24320,7 @@ try { exhaustiveCompletions: true }, theme: { - _internalId: 195004, + _internalId: 194631, type: "anyOf", anyOf: [ { diff --git a/src/resources/editor/tools/yaml/yaml-intelligence-resources.json b/src/resources/editor/tools/yaml/yaml-intelligence-resources.json index e83edbc778a..d2b33eb5bf7 100644 --- a/src/resources/editor/tools/yaml/yaml-intelligence-resources.json +++ b/src/resources/editor/tools/yaml/yaml-intelligence-resources.json @@ -9618,11 +9618,6 @@ }, { "name": "number-offset", - "tags": { - "formats": [ - "$html-all" - ] - }, "schema": { "maybeArrayOf": "number" }, @@ -15941,7 +15936,6 @@ "The light theme name, theme scss file, or a mix of both.", "The dark theme name, theme scss file, or a mix of both.", "The dark theme name, theme scss file, or a mix of both.", - "Array of rendering names, e.g. [light, dark]", "Classes to apply to the body of the document.", "Disables the built in html features like theming, anchor sections,\ncode block behavior, and more.", "Enables inclusion of Pandoc default CSS for this document.", @@ -17046,7 +17040,8 @@ "Disambiguating year suffix in author-date styles (e.g. “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’.", + "Array of rendering names, e.g. [light, dark]" ], "schema/external-schemas.yml": [ { @@ -17275,12 +17270,12 @@ "mermaid": "%%" }, "handlers/mermaid/schema.yml": { - "_internalId": 195005, + "_internalId": 194632, "type": "object", "description": "be an object", "properties": { "mermaid-format": { - "_internalId": 194997, + "_internalId": 194624, "type": "enum", "enum": [ "png", @@ -17296,7 +17291,7 @@ "exhaustiveCompletions": true }, "theme": { - "_internalId": 195004, + "_internalId": 194631, "type": "anyOf", "anyOf": [ { From 4f2f7ac60d3f9f436dc22b8ade0d69e474eca623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Canouil?= <8896044+mcanouil@users.noreply.github.com> Date: Tue, 8 Apr 2025 00:07:05 +0200 Subject: [PATCH 6/6] chore: clean quarto build-js --- src/resources/editor/tools/vs-code.mjs | 17 +++++++++++------ src/resources/editor/tools/yaml/web-worker.js | 17 +++++++++++------ .../tools/yaml/yaml-intelligence-resources.json | 17 +++++++++++------ 3 files changed, 33 insertions(+), 18 deletions(-) diff --git a/src/resources/editor/tools/vs-code.mjs b/src/resources/editor/tools/vs-code.mjs index 3301bab381f..d1dcdcdc5a1 100644 --- a/src/resources/editor/tools/vs-code.mjs +++ b/src/resources/editor/tools/vs-code.mjs @@ -16646,6 +16646,11 @@ var require_yaml_intelligence_resources = __commonJS({ }, { name: "number-offset", + tags: { + formats: [ + "$html-all" + ] + }, schema: { maybeArrayOf: "number" }, @@ -22964,6 +22969,7 @@ var require_yaml_intelligence_resources = __commonJS({ "The light theme name, theme scss file, or a mix of both.", "The dark theme name, theme scss file, or a mix of both.", "The dark theme name, theme scss file, or a mix of both.", + "Array of rendering names, e.g. [light, dark]", "Classes to apply to the body of the document.", "Disables the built in html features like theming, anchor sections,\ncode block behavior, and more.", "Enables inclusion of Pandoc default CSS for this document.", @@ -23980,7 +23986,7 @@ var require_yaml_intelligence_resources = __commonJS({ "A url to the full text for this item.", { short: "Type, class, or subtype of the item", - long: "Type, class, or subtype of the item (e.g. \u201CDoctoral dissertation\u201D for\na PhD thesis; \u201CNIH Publication\u201D for an NIH technical report);\nDo not use for topical descriptions or categories (e.g. \u201Cadventure\u201D\nfor an adventure movie)" + long: "Type, class, or subtype of the item (e.g. \u201CDoctoral dissertation\u201D for\na PhD thesis; \u201CNIH Publication\u201D for an NIH technical report);\nDo not use for topical descriptions or categories (e.g. \uFFFD\uFFFDadventure\u201D\nfor an adventure movie)" }, "Guest (e.g. on a TV show or podcast).", "Host of the item (e.g. of a TV show or podcast).", @@ -24068,8 +24074,7 @@ var require_yaml_intelligence_resources = __commonJS({ "Disambiguating year suffix in author-date styles (e.g. \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.", - "Array of rendering names, e.g. [light, dark]" + "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." ], "schema/external-schemas.yml": [ { @@ -24298,12 +24303,12 @@ var require_yaml_intelligence_resources = __commonJS({ mermaid: "%%" }, "handlers/mermaid/schema.yml": { - _internalId: 194632, + _internalId: 195064, type: "object", description: "be an object", properties: { "mermaid-format": { - _internalId: 194624, + _internalId: 195056, type: "enum", enum: [ "png", @@ -24319,7 +24324,7 @@ var require_yaml_intelligence_resources = __commonJS({ exhaustiveCompletions: true }, theme: { - _internalId: 194631, + _internalId: 195063, type: "anyOf", anyOf: [ { diff --git a/src/resources/editor/tools/yaml/web-worker.js b/src/resources/editor/tools/yaml/web-worker.js index 49cb572456d..a163a964220 100644 --- a/src/resources/editor/tools/yaml/web-worker.js +++ b/src/resources/editor/tools/yaml/web-worker.js @@ -16647,6 +16647,11 @@ try { }, { name: "number-offset", + tags: { + formats: [ + "$html-all" + ] + }, schema: { maybeArrayOf: "number" }, @@ -22965,6 +22970,7 @@ try { "The light theme name, theme scss file, or a mix of both.", "The dark theme name, theme scss file, or a mix of both.", "The dark theme name, theme scss file, or a mix of both.", + "Array of rendering names, e.g. [light, dark]", "Classes to apply to the body of the document.", "Disables the built in html features like theming, anchor sections,\ncode block behavior, and more.", "Enables inclusion of Pandoc default CSS for this document.", @@ -23981,7 +23987,7 @@ try { "A url to the full text for this item.", { short: "Type, class, or subtype of the item", - long: "Type, class, or subtype of the item (e.g. \u201CDoctoral dissertation\u201D for\na PhD thesis; \u201CNIH Publication\u201D for an NIH technical report);\nDo not use for topical descriptions or categories (e.g. \u201Cadventure\u201D\nfor an adventure movie)" + long: "Type, class, or subtype of the item (e.g. \u201CDoctoral dissertation\u201D for\na PhD thesis; \u201CNIH Publication\u201D for an NIH technical report);\nDo not use for topical descriptions or categories (e.g. \uFFFD\uFFFDadventure\u201D\nfor an adventure movie)" }, "Guest (e.g. on a TV show or podcast).", "Host of the item (e.g. of a TV show or podcast).", @@ -24069,8 +24075,7 @@ try { "Disambiguating year suffix in author-date styles (e.g. \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.", - "Array of rendering names, e.g. [light, dark]" + "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." ], "schema/external-schemas.yml": [ { @@ -24299,12 +24304,12 @@ try { mermaid: "%%" }, "handlers/mermaid/schema.yml": { - _internalId: 194632, + _internalId: 195064, type: "object", description: "be an object", properties: { "mermaid-format": { - _internalId: 194624, + _internalId: 195056, type: "enum", enum: [ "png", @@ -24320,7 +24325,7 @@ try { exhaustiveCompletions: true }, theme: { - _internalId: 194631, + _internalId: 195063, type: "anyOf", anyOf: [ { diff --git a/src/resources/editor/tools/yaml/yaml-intelligence-resources.json b/src/resources/editor/tools/yaml/yaml-intelligence-resources.json index d2b33eb5bf7..a67b04a4c8e 100644 --- a/src/resources/editor/tools/yaml/yaml-intelligence-resources.json +++ b/src/resources/editor/tools/yaml/yaml-intelligence-resources.json @@ -9618,6 +9618,11 @@ }, { "name": "number-offset", + "tags": { + "formats": [ + "$html-all" + ] + }, "schema": { "maybeArrayOf": "number" }, @@ -15936,6 +15941,7 @@ "The light theme name, theme scss file, or a mix of both.", "The dark theme name, theme scss file, or a mix of both.", "The dark theme name, theme scss file, or a mix of both.", + "Array of rendering names, e.g. [light, dark]", "Classes to apply to the body of the document.", "Disables the built in html features like theming, anchor sections,\ncode block behavior, and more.", "Enables inclusion of Pandoc default CSS for this document.", @@ -16952,7 +16958,7 @@ "A url to the full text for this item.", { "short": "Type, class, or subtype of the item", - "long": "Type, class, or subtype of the item (e.g. “Doctoral dissertation” for\na PhD thesis; “NIH Publication” for an NIH technical report);\nDo not use for topical descriptions or categories (e.g. “adventure”\nfor an adventure movie)" + "long": "Type, class, or subtype of the item (e.g. “Doctoral dissertation” for\na PhD thesis; “NIH Publication” for an NIH technical report);\nDo not use for topical descriptions or categories (e.g. ��adventure”\nfor an adventure movie)" }, "Guest (e.g. on a TV show or podcast).", "Host of the item (e.g. of a TV show or podcast).", @@ -17040,8 +17046,7 @@ "Disambiguating year suffix in author-date styles (e.g. “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’.", - "Array of rendering names, e.g. [light, dark]" + "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’." ], "schema/external-schemas.yml": [ { @@ -17270,12 +17275,12 @@ "mermaid": "%%" }, "handlers/mermaid/schema.yml": { - "_internalId": 194632, + "_internalId": 195064, "type": "object", "description": "be an object", "properties": { "mermaid-format": { - "_internalId": 194624, + "_internalId": 195056, "type": "enum", "enum": [ "png", @@ -17291,7 +17296,7 @@ "exhaustiveCompletions": true }, "theme": { - "_internalId": 194631, + "_internalId": 195063, "type": "anyOf", "anyOf": [ {