Skip to content

Commit e272bc3

Browse files
committed
update from on quarto dev-call build-artifacts
1 parent dc9a723 commit e272bc3

4 files changed

Lines changed: 93 additions & 21 deletions

File tree

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

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25075,7 +25075,11 @@ var require_yaml_intelligence_resources = __commonJS({
2507525075
"Disambiguating year suffix in author-date styles (e.g. \u201Ca\u201D in \u201CDoe,\n1999a\u201D).",
2507625076
"Manuscript configuration",
2507725077
"internal-schema-hack",
25078-
"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."
25078+
"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.",
25079+
{
25080+
short: "Email format version",
25081+
long: "Specifies which email format version to use."
25082+
}
2507925083
],
2508025084
"schema/external-schemas.yml": [
2508125085
{
@@ -25305,12 +25309,12 @@ var require_yaml_intelligence_resources = __commonJS({
2530525309
mermaid: "%%"
2530625310
},
2530725311
"handlers/mermaid/schema.yml": {
25308-
_internalId: 221789,
25312+
_internalId: 221792,
2530925313
type: "object",
2531025314
description: "be an object",
2531125315
properties: {
2531225316
"mermaid-format": {
25313-
_internalId: 221781,
25317+
_internalId: 221784,
2531425318
type: "enum",
2531525319
enum: [
2531625320
"png",
@@ -25326,7 +25330,7 @@ var require_yaml_intelligence_resources = __commonJS({
2532625330
exhaustiveCompletions: true
2532725331
},
2532825332
theme: {
25329-
_internalId: 221788,
25333+
_internalId: 221791,
2533025334
type: "anyOf",
2533125335
anyOf: [
2533225336
{
@@ -25463,6 +25467,26 @@ var require_yaml_intelligence_resources = __commonJS({
2546325467
long: "Controls how theorems, lemmas, definitions, etc. are rendered:\n- `simple`: Plain text with bold title and italic body (default)\n- `fancy`: Colored boxes using brand colors\n- `clouds`: Rounded colored background boxes\n- `rainbow`: Colored left border with colored title\n"
2546425468
}
2546525469
}
25470+
],
25471+
"schema/document-email.yml": [
25472+
{
25473+
name: "email-version",
25474+
tags: {
25475+
formats: [
25476+
"email"
25477+
]
25478+
},
25479+
schema: {
25480+
enum: [
25481+
1,
25482+
2
25483+
]
25484+
},
25485+
description: {
25486+
short: "Email format version",
25487+
long: "Specifies which email format version to use.\n\n- `1`: Legacy email format with document-level metadata (compatible with older Connect versions)\n- `2`: New email format with multiple individual emails and v2 markers (requires Posit Connect 2026.03 or later)\n"
25488+
}
25489+
}
2546625490
]
2546725491
};
2546825492
}
@@ -25623,7 +25647,7 @@ function locationString(loc) {
2562325647

2562425648
// ../text.ts
2562525649
function lines(text) {
25626-
return text.split(/\r?\n/);
25650+
return text.split(/\r\n?|\n/);
2562725651
}
2562825652
function* matchAll(text, regexp) {
2562925653
if (!regexp.global) {
@@ -25636,7 +25660,7 @@ function* matchAll(text, regexp) {
2563625660
}
2563725661
function* lineOffsets(text) {
2563825662
yield 0;
25639-
for (const match of matchAll(text, /\r?\n/g)) {
25663+
for (const match of matchAll(text, /\r\n?|\n/g)) {
2564025664
yield match.index + match[0].length;
2564125665
}
2564225666
}
@@ -25822,7 +25846,7 @@ function matchAll2(str2, regex) {
2582225846
return result;
2582325847
}
2582425848
function rangedLines(text, includeNewLines = false) {
25825-
const regex = /\r?\n/g;
25849+
const regex = /\r\n?|\n/g;
2582625850
const result = [];
2582725851
let startOffset = 0;
2582825852
if (!includeNewLines) {
@@ -34695,7 +34719,7 @@ async function breakQuartoMd(src, validate2 = false, lenient = false, startCodeC
3469534719
};
3469634720
const yamlRegEx = /^---\s*$/;
3469734721
const startCodeCellRegEx = startCodeCellRegex || new RegExp(
34698-
"^\\s*(```+)\\s*\\{([=A-Za-z]+)( *[ ,].*)?\\}\\s*$"
34722+
"^\\s*(```+)\\s*\\{([=A-Za-z][=A-Za-z0-9._]*)( *[ ,].*)?\\}\\s*$"
3469934723
);
3470034724
const startCodeRegEx = /^```/;
3470134725
const endCodeRegEx = /^\s*(```+)\s*$/;

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

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

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

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

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

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18047,7 +18047,11 @@
1804718047
"Disambiguating year suffix in author-date styles (e.g. “a” in “Doe,\n1999a”).",
1804818048
"Manuscript configuration",
1804918049
"internal-schema-hack",
18050-
"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’."
18050+
"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’.",
18051+
{
18052+
"short": "Email format version",
18053+
"long": "Specifies which email format version to use."
18054+
}
1805118055
],
1805218056
"schema/external-schemas.yml": [
1805318057
{
@@ -18277,12 +18281,12 @@
1827718281
"mermaid": "%%"
1827818282
},
1827918283
"handlers/mermaid/schema.yml": {
18280-
"_internalId": 221789,
18284+
"_internalId": 221792,
1828118285
"type": "object",
1828218286
"description": "be an object",
1828318287
"properties": {
1828418288
"mermaid-format": {
18285-
"_internalId": 221781,
18289+
"_internalId": 221784,
1828618290
"type": "enum",
1828718291
"enum": [
1828818292
"png",
@@ -18298,7 +18302,7 @@
1829818302
"exhaustiveCompletions": true
1829918303
},
1830018304
"theme": {
18301-
"_internalId": 221788,
18305+
"_internalId": 221791,
1830218306
"type": "anyOf",
1830318307
"anyOf": [
1830418308
{
@@ -18435,5 +18439,25 @@
1843518439
"long": "Controls how theorems, lemmas, definitions, etc. are rendered:\n- `simple`: Plain text with bold title and italic body (default)\n- `fancy`: Colored boxes using brand colors\n- `clouds`: Rounded colored background boxes\n- `rainbow`: Colored left border with colored title\n"
1843618440
}
1843718441
}
18442+
],
18443+
"schema/document-email.yml": [
18444+
{
18445+
"name": "email-version",
18446+
"tags": {
18447+
"formats": [
18448+
"email"
18449+
]
18450+
},
18451+
"schema": {
18452+
"enum": [
18453+
1,
18454+
2
18455+
]
18456+
},
18457+
"description": {
18458+
"short": "Email format version",
18459+
"long": "Specifies which email format version to use.\n\n- `1`: Legacy email format with document-level metadata (compatible with older Connect versions)\n- `2`: New email format with multiple individual emails and v2 markers (requires Posit Connect 2026.03 or later)\n"
18460+
}
18461+
}
1843818462
]
1843918463
}

0 commit comments

Comments
 (0)