@@ -21651,7 +21651,7 @@ var require_yaml_intelligence_resources = __commonJS({
2165121651 "Short/abbreviated form of container-title;",
2165221652 "A minor contributor to the item; typically cited using \u201Cwith\u201D before\nthe name when listed in a bibliography.",
2165321653 "Curator of an exhibit or collection (e.g. in a museum).",
21654- "Physical (e.g. size) or temporal (e.g. running time) dimensions of\nthe item.",
21654+ "Physical (e.g. size) or temporal (e.g.\uFFFD\uFFFDrunning time) dimensions of\nthe item.",
2165521655 "Director (e.g. of a film).",
2165621656 "Minor subdivision of a court with a <code>jurisdiction</code> for a\nlegal item",
2165721657 "(Container) edition holding the item (e.g. \u201C3\u201D when citing a chapter\nin the third edition of a book).",
@@ -23616,6 +23616,14 @@ var require_yaml_intelligence_resources = __commonJS({
2361623616 "Disambiguating year suffix in author-date styles (e.g. \u201Ca\u201D in \u201CDoe,\n1999a\u201D).",
2361723617 "Manuscript configuration",
2361823618 "internal-schema-hack",
23619+ {
23620+ short: "Include an automatically generated table of contents",
23621+ long: ""
23622+ },
23623+ {
23624+ short: "Use smart quotes in document output. Defaults to true.",
23625+ long: ""
23626+ },
2361923627 "Project configuration.",
2362023628 "Project type (<code>default</code>, <code>website</code>,\n<code>book</code>, or <code>manuscript</code>)",
2362123629 "Files to render (defaults to all files)",
@@ -24188,12 +24196,12 @@ var require_yaml_intelligence_resources = __commonJS({
2418824196 mermaid: "%%"
2418924197 },
2419024198 "handlers/mermaid/schema.yml": {
24191- _internalId: 193535 ,
24199+ _internalId: 194269 ,
2419224200 type: "object",
2419324201 description: "be an object",
2419424202 properties: {
2419524203 "mermaid-format": {
24196- _internalId: 193527 ,
24204+ _internalId: 194261 ,
2419724205 type: "enum",
2419824206 enum: [
2419924207 "png",
@@ -24209,7 +24217,7 @@ var require_yaml_intelligence_resources = __commonJS({
2420924217 exhaustiveCompletions: true
2421024218 },
2421124219 theme: {
24212- _internalId: 193534 ,
24220+ _internalId: 194268 ,
2421324221 type: "anyOf",
2421424222 anyOf: [
2421524223 {
@@ -24249,7 +24257,42 @@ var require_yaml_intelligence_resources = __commonJS({
2424924257 "case-detection": true
2425024258 },
2425124259 $id: "handlers/mermaid"
24252- }
24260+ },
24261+ "schema/document-typst.yml": [
24262+ {
24263+ name: "page-numbering",
24264+ tags: {
24265+ formats: [
24266+ "typst"
24267+ ]
24268+ },
24269+ schema: {
24270+ anyOf: [
24271+ "string",
24272+ {
24273+ enum: [
24274+ false
24275+ ]
24276+ }
24277+ ]
24278+ },
24279+ description: {
24280+ short: "Include an automatically generated table of contents"
24281+ }
24282+ },
24283+ {
24284+ name: "smart",
24285+ tags: {
24286+ formats: [
24287+ "typst"
24288+ ]
24289+ },
24290+ schema: "boolean",
24291+ description: {
24292+ short: "Use smart quotes in document output. Defaults to true."
24293+ }
24294+ }
24295+ ]
2425324296 };
2425424297 }
2425524298});
@@ -24774,8 +24817,8 @@ function mappedIndexToLineCol(eitherText) {
2477424817 };
2477524818}
2477624819function mappedLines(str2, keepNewLines = false) {
24777- const lines2 = rangedLines(str2.value, keepNewLines);
24778- return lines2 .map((v) => mappedString(str2, [v.range]));
24820+ const lines3 = rangedLines(str2.value, keepNewLines);
24821+ return lines3 .map((v) => mappedString(str2, [v.range]));
2477924822}
2478024823
2478124824// parsing.ts
@@ -33575,9 +33618,7 @@ async function breakQuartoMd(src, validate2 = false, lenient = false) {
3357533618 } else if (cell_type === "directive") {
3357633619 cell.source = mappedString(src, mappedChunks.slice(1, -1), fileName);
3357733620 }
33578- if (mdTrimEmptyLines(lines(cell.sourceVerbatim.value)).length > 0 || cell.options !== void 0) {
33579- nb.cells.push(cell);
33580- }
33621+ nb.cells.push(cell);
3358133622 lineBuffer.splice(0, lineBuffer.length);
3358233623 }
3358333624 };
@@ -33639,24 +33680,6 @@ async function breakQuartoMd(src, validate2 = false, lenient = false) {
3363933680 await flushLineBuffer("markdown", srcLines.length);
3364033681 return nb;
3364133682}
33642- function mdTrimEmptyLines(lines2) {
33643- const firstNonEmpty = lines2.findIndex((line) => line.trim().length > 0);
33644- if (firstNonEmpty === -1) {
33645- return [];
33646- }
33647- lines2 = lines2.slice(firstNonEmpty);
33648- let lastNonEmpty = -1;
33649- for (let i = lines2.length - 1; i >= 0; i--) {
33650- if (lines2[i].trim().length > 0) {
33651- lastNonEmpty = i;
33652- break;
33653- }
33654- }
33655- if (lastNonEmpty > -1) {
33656- lines2 = lines2.slice(0, lastNonEmpty + 1);
33657- }
33658- return lines2;
33659- }
3366033683
3366133684// ../yaml-schema/format-aliases.ts
3366233685var formatAliases = void 0;
0 commit comments