Skip to content

Commit edcd34a

Browse files
committed
Rebuild artifacts
1 parent a784e37 commit edcd34a

4 files changed

Lines changed: 488 additions & 50 deletions

File tree

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

Lines changed: 163 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8540,8 +8540,8 @@ var require_yaml_intelligence_resources = __commonJS({
85408540
icon: {
85418541
string: {
85428542
description: {
8543-
short: "Name of bootstrap icon (e.g. `github`, `twitter`, `share`)",
8544-
long: "Name of bootstrap icon (e.g. `github`, `twitter`, `share`)\nSee <https://icons.getbootstrap.com/> for a list of available icons\n"
8543+
short: "Name of bootstrap icon (e.g. `github`, `bluesky`, `share`)",
8544+
long: "Name of bootstrap icon (e.g. `github`, `bluesky`, `share`)\nSee <https://icons.getbootstrap.com/> for a list of available icons\n"
85458545
}
85468546
}
85478547
},
@@ -8724,6 +8724,25 @@ var require_yaml_intelligence_resources = __commonJS({
87248724
]
87258725
}
87268726
},
8727+
{
8728+
id: "external-engine",
8729+
schema: {
8730+
object: {
8731+
closed: true,
8732+
properties: {
8733+
path: {
8734+
path: {
8735+
description: "Path to the TypeScript module for the execution engine"
8736+
}
8737+
}
8738+
},
8739+
required: [
8740+
"path"
8741+
]
8742+
},
8743+
description: "An execution engine not pre-loaded in Quarto"
8744+
}
8745+
},
87278746
{
87288747
id: "document-comments-configuration",
87298748
anyOf: [
@@ -9427,6 +9446,30 @@ var require_yaml_intelligence_resources = __commonJS({
94279446
],
94289447
description: "Enable Google Analytics for this website"
94299448
},
9449+
"plausible-analytics": {
9450+
anyOf: [
9451+
"string",
9452+
{
9453+
object: {
9454+
closed: true,
9455+
properties: {
9456+
path: {
9457+
path: {
9458+
description: "Path to a file containing the Plausible Analytics script snippet"
9459+
}
9460+
}
9461+
},
9462+
required: [
9463+
"path"
9464+
]
9465+
}
9466+
}
9467+
],
9468+
description: {
9469+
short: "Enable Plausible Analytics for this website by providing a script snippet or path to snippet file",
9470+
long: 'Enable Plausible Analytics for this website by pasting the script snippet from your Plausible dashboard,\nor by providing a path to a file containing the snippet.\n\nPlausible is a privacy-friendly, GDPR-compliant web analytics service that does not use cookies and does not require cookie consent.\n\n**Option 1: Inline snippet**\n\n```yaml\nwebsite:\n plausible-analytics: |\n <script async src="https://plausible.io/js/script.js"><\/script>\n```\n\n**Option 2: File path**\n\n```yaml\nwebsite:\n plausible-analytics:\n path: _plausible_snippet.html\n```\n\nTo get your script snippet:\n\n1. Log into your Plausible account at <https://plausible.io>\n2. Go to your site settings\n3. Copy the JavaScript snippet provided\n4. Either paste it directly in your configuration or save it to a file\n\nFor more information, see <https://plausible.io/docs/plausible-script>\n'
9471+
}
9472+
},
94309473
announcement: {
94319474
anyOf: [
94329475
"string",
@@ -9498,12 +9541,12 @@ var require_yaml_intelligence_resources = __commonJS({
94989541
properties: {
94999542
type: {
95009543
enum: [
9501-
"implied",
9502-
"express"
9544+
"express",
9545+
"implied"
95039546
],
95049547
description: {
95059548
short: "The type of consent that should be requested",
9506-
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\u2019t agree).\n"
9549+
long: "The type of consent that should be requested, using one of these two values:\n\n- `express` (default): This will block cookies until the user expressly agrees to allow them (or continue blocking them if the user doesn\u2019t agree).\n\n- `implied`: 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"
95079550
}
95089551
},
95099552
style: {
@@ -11651,7 +11694,67 @@ var require_yaml_intelligence_resources = __commonJS({
1165111694
object: {
1165211695
properties: {
1165311696
"trace-filters": "string",
11654-
tests: "object"
11697+
tests: {
11698+
object: {
11699+
properties: {
11700+
run: {
11701+
object: {
11702+
description: "Control when tests should run",
11703+
properties: {
11704+
ci: {
11705+
boolean: {
11706+
description: "Run tests on CI (true = run, false = skip)",
11707+
default: true
11708+
}
11709+
},
11710+
os: {
11711+
description: "Run tests ONLY on these platforms (whitelist)",
11712+
anyOf: [
11713+
{
11714+
enum: [
11715+
"linux",
11716+
"darwin",
11717+
"windows"
11718+
]
11719+
},
11720+
{
11721+
arrayOf: {
11722+
enum: [
11723+
"linux",
11724+
"darwin",
11725+
"windows"
11726+
]
11727+
}
11728+
}
11729+
]
11730+
},
11731+
not_os: {
11732+
description: "Don't run tests on these platforms (blacklist)",
11733+
anyOf: [
11734+
{
11735+
enum: [
11736+
"linux",
11737+
"darwin",
11738+
"windows"
11739+
]
11740+
},
11741+
{
11742+
arrayOf: {
11743+
enum: [
11744+
"linux",
11745+
"darwin",
11746+
"windows"
11747+
]
11748+
}
11749+
}
11750+
]
11751+
}
11752+
}
11753+
}
11754+
}
11755+
}
11756+
}
11757+
}
1165511758
}
1165611759
}
1165711760
}
@@ -17235,8 +17338,8 @@ var require_yaml_intelligence_resources = __commonJS({
1723517338
]
1723617339
},
1723717340
description: {
17238-
short: "Schema to use for numbering pages, e.g. `1` or `i`, or `false` to omit page numbering.\n",
17239-
long: "Schema to use for numbering pages, e.g. `1` or `i`, or `false` to omit page numbering.\n\nSee [Typst Numbering](https://typst.app/docs/reference/model/numbering/) \nfor additional information.\n"
17341+
short: "Schema to use for numbering pages, e.g. `1` or `i`, or `false` to omit page numbering.\n",
17342+
long: "Schema to use for numbering pages, e.g. `1` or `i`, or `false` to omit page numbering.\n\nSee [Typst Numbering](https://typst.app/docs/reference/model/numbering/) \nfor additional information.\n"
1724017343
}
1724117344
},
1724217345
{
@@ -19294,7 +19397,7 @@ var require_yaml_intelligence_resources = __commonJS({
1929419397
properties: {
1929519398
url: {
1929619399
string: {
19297-
default: "https://reveal-multiplex.glitch.me/",
19400+
default: "https://multiplex.up.railway.app/",
1929819401
description: "Multiplex token server (defaults to Reveal-hosted server)\n"
1929919402
}
1930019403
},
@@ -20134,6 +20237,16 @@ var require_yaml_intelligence_resources = __commonJS({
2013420237
},
2013520238
formats: {
2013620239
schema: "object"
20240+
},
20241+
engines: {
20242+
arrayOf: {
20243+
anyOf: [
20244+
"string",
20245+
{
20246+
ref: "external-engine"
20247+
}
20248+
]
20249+
}
2013720250
}
2013820251
}
2013920252
}
@@ -20572,7 +20685,14 @@ var require_yaml_intelligence_resources = __commonJS({
2057220685
{
2057320686
name: "engines",
2057420687
schema: {
20575-
arrayOf: "string"
20688+
arrayOf: {
20689+
anyOf: [
20690+
"string",
20691+
{
20692+
ref: "external-engine"
20693+
}
20694+
]
20695+
}
2057620696
},
2057720697
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'."
2057820698
}
@@ -21336,8 +21456,8 @@ var require_yaml_intelligence_resources = __commonJS({
2133621456
"Alias for href",
2133721457
"Link to file contained with the project or external URL",
2133821458
{
21339-
short: "Name of bootstrap icon (e.g.&nbsp;<code>github</code>,\n<code>twitter</code>, <code>share</code>)",
21340-
long: 'Name of bootstrap icon (e.g.&nbsp;<code>github</code>,\n<code>twitter</code>, <code>share</code>) See <a href="https://icons.getbootstrap.com/" class="uri">https://icons.getbootstrap.com/</a> for a list of available\nicons'
21459+
short: "Name of bootstrap icon (e.g.&nbsp;<code>github</code>,\n<code>bluesky</code>, <code>share</code>)",
21460+
long: 'Name of bootstrap icon (e.g.&nbsp;<code>github</code>,\n<code>bluesky</code>, <code>share</code>) See <a href="https://icons.getbootstrap.com/" class="uri">https://icons.getbootstrap.com/</a> for a list of available\nicons'
2134121461
},
2134221462
"Text to display for item (defaults to the document title if not\nprovided)",
2134321463
"Alias for href",
@@ -21373,6 +21493,8 @@ var require_yaml_intelligence_resources = __commonJS({
2137321493
"The light theme name.",
2137421494
"The dark theme name.",
2137521495
"The language that should be used when displaying the commenting\ninterface.",
21496+
"An execution engine not pre-loaded in Quarto",
21497+
"Path to the TypeScript module for the execution engine",
2137621498
"The Github repo that will be used to store comments.",
2137721499
"The label that will be assigned to issues created by Utterances.",
2137821500
{
@@ -21531,6 +21653,11 @@ var require_yaml_intelligence_resources = __commonJS({
2153121653
short: "The version number of Google Analytics to use.",
2153221654
long: "The version number of Google Analytics to use."
2153321655
},
21656+
{
21657+
short: "Enable Plausible Analytics for this website by providing a script\nsnippet or path to snippet file",
21658+
long: "Enable Plausible Analytics for this website by pasting the script\nsnippet from your Plausible dashboard, or by providing a path to a file\ncontaining the snippet.\nPlausible is a privacy-friendly, GDPR-compliant web analytics service\nthat does not use cookies and does not require cookie consent.\n<strong>Option 1: Inline snippet</strong>"
21659+
},
21660+
"Path to a file containing the Plausible Analytics script snippet",
2153421661
"Provides an announcement displayed at the top of the page.",
2153521662
"The content of the announcement",
2153621663
"Whether this announcement may be dismissed by the user.",
@@ -21692,6 +21819,11 @@ var require_yaml_intelligence_resources = __commonJS({
2169221819
short: "The version number of Google Analytics to use.",
2169321820
long: "The version number of Google Analytics to use."
2169421821
},
21822+
{
21823+
short: "Enable Plausible Analytics for this website by providing a script\nsnippet or path to snippet file",
21824+
long: "Enable Plausible Analytics for this website by pasting the script\nsnippet from your Plausible dashboard, or by providing a path to a file\ncontaining the snippet.\nPlausible is a privacy-friendly, GDPR-compliant web analytics service\nthat does not use cookies and does not require cookie consent.\n<strong>Option 1: Inline snippet</strong>"
21825+
},
21826+
"Path to a file containing the Plausible Analytics script snippet",
2169521827
"Provides an announcement displayed at the top of the page.",
2169621828
"The content of the announcement",
2169721829
"Whether this announcement may be dismissed by the user.",
@@ -22484,6 +22616,10 @@ var require_yaml_intelligence_resources = __commonJS({
2248422616
"Specify a default profile and profile groups",
2248522617
"Default profile to apply if QUARTO_PROFILE is not defined.",
2248622618
"Define a profile group for which at least one profile is always\nactive.",
22619+
"Control when tests should run",
22620+
"Run tests on CI (true = run, false = skip)",
22621+
"Run tests ONLY on these platforms (whitelist)",
22622+
"Don\u2019t run tests on these platforms (blacklist)",
2248722623
"The path to the locally referenced notebook.",
2248822624
"The title of the notebook when viewed.",
2248922625
"The url to use when viewing this notebook.",
@@ -24082,6 +24218,11 @@ var require_yaml_intelligence_resources = __commonJS({
2408224218
short: "The version number of Google Analytics to use.",
2408324219
long: "The version number of Google Analytics to use."
2408424220
},
24221+
{
24222+
short: "Enable Plausible Analytics for this website by providing a script\nsnippet or path to snippet file",
24223+
long: "Enable Plausible Analytics for this website by pasting the script\nsnippet from your Plausible dashboard, or by providing a path to a file\ncontaining the snippet.\nPlausible is a privacy-friendly, GDPR-compliant web analytics service\nthat does not use cookies and does not require cookie consent.\n<strong>Option 1: Inline snippet</strong>"
24224+
},
24225+
"Path to a file containing the Plausible Analytics script snippet",
2408524226
"Provides an announcement displayed at the top of the page.",
2408624227
"The content of the announcement",
2408724228
"Whether this announcement may be dismissed by the user.",
@@ -24432,6 +24573,11 @@ var require_yaml_intelligence_resources = __commonJS({
2443224573
short: "The version number of Google Analytics to use.",
2443324574
long: "The version number of Google Analytics to use."
2443424575
},
24576+
{
24577+
short: "Enable Plausible Analytics for this website by providing a script\nsnippet or path to snippet file",
24578+
long: "Enable Plausible Analytics for this website by pasting the script\nsnippet from your Plausible dashboard, or by providing a path to a file\ncontaining the snippet.\nPlausible is a privacy-friendly, GDPR-compliant web analytics service\nthat does not use cookies and does not require cookie consent.\n<strong>Option 1: Inline snippet</strong>"
24579+
},
24580+
"Path to a file containing the Plausible Analytics script snippet",
2443524581
"Provides an announcement displayed at the top of the page.",
2443624582
"The content of the announcement",
2443724583
"Whether this announcement may be dismissed by the user.",
@@ -24955,12 +25101,12 @@ var require_yaml_intelligence_resources = __commonJS({
2495525101
mermaid: "%%"
2495625102
},
2495725103
"handlers/mermaid/schema.yml": {
24958-
_internalId: 197624,
25104+
_internalId: 198096,
2495925105
type: "object",
2496025106
description: "be an object",
2496125107
properties: {
2496225108
"mermaid-format": {
24963-
_internalId: 197616,
25109+
_internalId: 198088,
2496425110
type: "enum",
2496525111
enum: [
2496625112
"png",
@@ -24976,7 +25122,7 @@ var require_yaml_intelligence_resources = __commonJS({
2497625122
exhaustiveCompletions: true
2497725123
},
2497825124
theme: {
24979-
_internalId: 197623,
25125+
_internalId: 198095,
2498025126
type: "anyOf",
2498125127
anyOf: [
2498225128
{
@@ -34281,7 +34427,7 @@ function parseShortcode(shortCodeCapture) {
3428134427
}
3428234428

3428334429
// ../break-quarto-md.ts
34284-
async function breakQuartoMd(src, validate2 = false, lenient = false) {
34430+
async function breakQuartoMd(src, validate2 = false, lenient = false, startCodeCellRegex) {
3428534431
if (typeof src === "string") {
3428634432
src = asMappedString(src);
3428734433
}
@@ -34290,7 +34436,7 @@ async function breakQuartoMd(src, validate2 = false, lenient = false) {
3429034436
cells: []
3429134437
};
3429234438
const yamlRegEx = /^---\s*$/;
34293-
const startCodeCellRegEx = new RegExp(
34439+
const startCodeCellRegEx = startCodeCellRegex || new RegExp(
3429434440
"^\\s*(```+)\\s*\\{([=A-Za-z]+)( *[ ,].*)?\\}\\s*$"
3429534441
);
3429634442
const startCodeRegEx = /^```/;

src/resources/editor/tools/yaml/all-schema-definitions.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)