You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/resources/editor/tools/vs-code.mjs
+79-59Lines changed: 79 additions & 59 deletions
Original file line number
Diff line number
Diff line change
@@ -16697,6 +16697,55 @@ var require_yaml_intelligence_resources = __commonJS({
16697
16697
long: "For HTML output, sets the `margin-bottom` property on the Body element.\n\nFor LaTeX output, sets the bottom margin if `geometry` is not \nused (otherwise `geometry` overrides this value)\n\nFor ConTeXt output, sets the bottom margin if `layout` is not used, \notherwise `layout` overrides these.\n\nFor `wkhtmltopdf` sets the bottom page margin.\n"
16698
16698
}
16699
16699
},
16700
+
{
16701
+
name: "margin",
16702
+
tags: {
16703
+
formats: [
16704
+
"typst"
16705
+
]
16706
+
},
16707
+
schema: {
16708
+
object: {
16709
+
closed: true,
16710
+
properties: {
16711
+
x: {
16712
+
string: {
16713
+
description: "Horizontal margin (e.g. 1.5in)"
16714
+
}
16715
+
},
16716
+
y: {
16717
+
string: {
16718
+
description: "Vertical margin (e.g. 1.5in)"
16719
+
}
16720
+
},
16721
+
top: {
16722
+
string: {
16723
+
description: "Top margin (e.g. 1.5in)"
16724
+
}
16725
+
},
16726
+
bottom: {
16727
+
string: {
16728
+
description: "Bottom margin (e.g. 1.5in)"
16729
+
}
16730
+
},
16731
+
left: {
16732
+
string: {
16733
+
description: "Left margin (e.g. 1.5in)"
16734
+
}
16735
+
},
16736
+
right: {
16737
+
string: {
16738
+
description: "Right margin (e.g. 1.5in)"
16739
+
}
16740
+
}
16741
+
}
16742
+
}
16743
+
},
16744
+
description: {
16745
+
short: "Page margins for Typst output.",
16746
+
long: "A dictionary specifying page margins. Use `x` and `y` for symmetric\nhorizontal/vertical margins, or `top`, `bottom`, `left`, `right` for\nindividual sides. Values should include units (e.g. `1.5in`, `2cm`).\n"
16747
+
}
16748
+
},
16700
16749
{
16701
16750
name: "geometry",
16702
16751
schema: {
@@ -18830,54 +18879,12 @@ var require_yaml_intelligence_resources = __commonJS({
18830
18879
name: "margin",
18831
18880
tags: {
18832
18881
formats: [
18833
-
"revealjs",
18834
-
"typst"
18835
-
]
18836
-
},
18837
-
schema: {
18838
-
anyOf: [
18839
-
"number",
18840
-
{
18841
-
object: {
18842
-
closed: true,
18843
-
properties: {
18844
-
x: {
18845
-
string: {
18846
-
description: "Horizontal margin (e.g. 5cm)"
18847
-
}
18848
-
},
18849
-
y: {
18850
-
string: {
18851
-
description: "Vertical margin (e.g. 5cm)"
18852
-
}
18853
-
},
18854
-
top: {
18855
-
string: {
18856
-
description: "Top margin (e.g. 5cm)"
18857
-
}
18858
-
},
18859
-
bottom: {
18860
-
string: {
18861
-
description: "Bottom margin (e.g. 5cm)"
18862
-
}
18863
-
},
18864
-
left: {
18865
-
string: {
18866
-
description: "Left margin (e.g. 5cm)"
18867
-
}
18868
-
},
18869
-
right: {
18870
-
string: {
18871
-
description: "Right margin (e.g. 5cm)"
18872
-
}
18873
-
}
18874
-
}
18875
-
}
18876
-
}
18882
+
"revealjs"
18877
18883
]
18878
18884
},
18885
+
schema: "number",
18879
18886
default: 0.1,
18880
-
description: "For `revealjs`, the factor of the display size that should remain empty around the content (e.g. 0.1).\n\nFor `typst`, a dictionary with the fields defined in the Typst documentation:\n`x`, `y`, `top`, `bottom`, `left`, `right` (margins are specified in `cm` units,\ne.g. `5cm`).\n"
18887
+
description: "Factor of the display size that should remain empty around the content (e.g. 0.1)."
18881
18888
},
18882
18889
{
18883
18890
name: "min-scale",
@@ -20644,6 +20651,9 @@ var require_yaml_intelligence_resources = __commonJS({
20644
20651
dashboard: {
20645
20652
title: "Dashboard"
20646
20653
},
20654
+
typst: {
20655
+
title: "Typst"
20656
+
},
20647
20657
options: {
20648
20658
title: "Format Options"
20649
20659
},
@@ -23292,17 +23302,17 @@ var require_yaml_intelligence_resources = __commonJS({
23292
23302
"Sets the CSS <code>color</code> property.",
23293
23303
{
23294
23304
short: "Sets the color of hyperlinks in the document.",
23295
-
long: 'For HTML output, sets the CSS <code>color</code> property on all\nlinks.\nFor LaTeX output, The color used for internal links using color\noptions allowed by <a href="https://ctan.org/pkg/xcolor"><code>xcolor</code></a>, including\nthe <code>dvipsnames</code>, <code>svgnames</code>, and\n<code>x11names</code> lists.\nFor ConTeXt output, sets the color for both external links and links\nwithin the document.'
23305
+
long: 'For HTML output, sets the CSS <code>color</code> property on all\nlinks.\nFor LaTeX output, The color used for internal links using color\noptions allowed by <a href="https://ctan.org/pkg/xcolor"><code>xcolor</code></a>, including\nthe <code>dvipsnames</code>, <code>svgnames</code>, and\n<code>x11names</code> lists.\nFor ConTeXt output, sets the color for both external links and links\nwithin the document.\nFor Typst output, sets the color of internal hyperlinks using Typst\ncolor syntax.'
23296
23306
},
23297
23307
"Sets the CSS <code>background-color</code> property on code elements\nand adds extra padding.",
23298
23308
"Sets the CSS <code>background-color</code> property on the html\nelement.",
23299
23309
{
23300
-
short: "The color used for external links using color options allowed by\n<code>xcolor</code>",
23301
-
long: 'The color used for external links using color options allowed by <a href="https://ctan.org/pkg/xcolor"><code>xcolor</code></a>, including\nthe <code>dvipsnames</code>, <code>svgnames</code>, and\n<code>x11names</code> lists.'
23310
+
short: "The color used for external links.",
23311
+
long: 'For LaTeX output, the color used for external links using color\noptions allowed by <a href="https://ctan.org/pkg/xcolor"><code>xcolor</code></a>, including\nthe <code>dvipsnames</code>, <code>svgnames</code>, and\n<code>x11names</code> lists.\nFor Typst output, sets the color of external file links using Typst\ncolor syntax.'
23302
23312
},
23303
23313
{
23304
-
short: "The color used for citation links using color options allowed by\n<code>xcolor</code>",
23305
-
long: 'The color used for citation links using color options allowed by <a href="https://ctan.org/pkg/xcolor"><code>xcolor</code></a>, including\nthe <code>dvipsnames</code>, <code>svgnames</code>, and\n<code>x11names</code> lists.'
23314
+
short: "The color used for citation links.",
23315
+
long: 'For LaTeX output, the color used for citation links using color\noptions allowed by <a href="https://ctan.org/pkg/xcolor"><code>xcolor</code></a>, including\nthe <code>dvipsnames</code>, <code>svgnames</code>, and\n<code>x11names</code> lists.\nFor Typst output, sets the color of citation links using Typst color\nsyntax.'
23306
23316
},
23307
23317
{
23308
23318
short: "The color used for linked URLs using color options allowed by\n<code>xcolor</code>",
@@ -23498,6 +23508,10 @@ var require_yaml_intelligence_resources = __commonJS({
23498
23508
short: "Sets the font used for when displaying code.",
23499
23509
long: 'For HTML output, sets the CSS font-family property on code\nelements.\nFor PowerPoint output, sets the font used for code.\nFor LaTeX output, the monospace font family for use with\n<code>xelatex</code> or <code>lualatex</code>: take the name of any\nsystem font, using the <a href="https://ctan.org/pkg/fontspec"><code>fontspec</code></a>\npackage.\nFor ConTeXt output, the monspace font family. Use the name of any\nsystem font. See <a href="https://wiki.contextgarden.net/Fonts">ConTeXt\nFonts</a> for more information.'
23500
23510
},
23511
+
{
23512
+
short: "Sets the font used for code in Typst output.",
23513
+
long: "For Typst output, sets the font used for displaying code. Takes the\nname of any font available to Typst (system fonts or fonts in\ndirectories specified by <code>font-paths</code>)."
23514
+
},
23501
23515
{
23502
23516
short: "Sets the main font size for the document.",
23503
23517
long: "For HTML output, sets the base CSS <code>font-size</code>\nproperty.\nFor LaTeX and ConTeXt output, sets the font size for the document\nbody text."
@@ -23519,8 +23533,8 @@ var require_yaml_intelligence_resources = __commonJS({
23519
23533
long: 'The sans serif font family for use with <code>xelatex</code> or\n<code>lualatex</code>. Takes the name of any system font, using the <a href="https://ctan.org/pkg/fontspec"><code>fontspec</code></a>\npackage.'
23520
23534
},
23521
23535
{
23522
-
short: "The math font family for use with <code>xelatex</code> or\n<code>lualatex</code>.",
23523
-
long: 'The math font family for use with<code>xelatex</code> or\n<code>lualatex</code>. Takes the name of any system font, using the <a href="https://ctan.org/pkg/fontspec"><code>fontspec</code></a>\npackage.'
23536
+
short: "The math font family for use with <code>xelatex</code>,\n<code>lualatex</code>, or Typst.",
23537
+
long: 'For LaTeX output, the math font family for use with\n<code>xelatex</code> or<code>lualatex</code>. Takes the name of any\nsystem font, using the <a href="https://ctan.org/pkg/fontspec"><code>fontspec</code></a>\npackage.\nFor Typst output, sets the font used for mathematical content.'
23524
23538
},
23525
23539
{
23526
23540
short: "The CJK main font family for use with <code>xelatex</code> or\n<code>lualatex</code>.",
@@ -23558,7 +23572,7 @@ var require_yaml_intelligence_resources = __commonJS({
23558
23572
"The line height, for example, <code>12p</code>.",
23559
23573
{
23560
23574
short: "Sets the line height or spacing for text in the document.",
23561
-
long: 'For HTML output sets the CSS <code>line-height</code> property on the\nhtml element, which is preferred to be unitless.\nFor LaTeX output, adjusts line spacing using the <a href="https://ctan.org/pkg/setspace">setspace</a> package, e.g. 1.25,\n1.5.'
23575
+
long: 'For HTML output sets the CSS <code>line-height</code> property on the\nhtml element, which is preferred to be unitless.\nFor LaTeX output, adjusts line spacing using the <a href="https://ctan.org/pkg/setspace">setspace</a> package, e.g. 1.25,\n1.5.\nFor Typst output, adjusts the spacing between lines of text.'
23562
23576
},
23563
23577
"Adjusts line spacing using the <code>\\setupinterlinespace</code>\ncommand.",
23564
23578
"The typeface style for links in the document.",
@@ -25134,9 +25148,15 @@ var require_yaml_intelligence_resources = __commonJS({
25134
25148
"internal-schema-hack",
25135
25149
"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.",
25136
25150
{
25137
-
short: "Sets the font used for code in Typst output.",
25138
-
long: "For Typst output, sets the font used for displaying code. Takes the\nname of any font available to Typst (system fonts or fonts in\ndirectories specified by <code>font-paths</code>)."
25139
-
}
25151
+
short: "Page margins for Typst output.",
25152
+
long: "A dictionary specifying page margins. Use <code>x</code> and\n<code>y</code> for symmetric horizontal/vertical margins, or\n<code>top</code>, <code>bottom</code>, <code>left</code>,\n<code>right</code> for individual sides. Values should include units\n(e.g. <code>1.5in</code>, <code>2cm</code>)."
25153
+
},
25154
+
"Horizontal margin (e.g. 1.5in)",
25155
+
"Vertical margin (e.g. 1.5in)",
25156
+
"Top margin (e.g. 1.5in)",
25157
+
"Bottom margin (e.g. 1.5in)",
25158
+
"Left margin (e.g. 1.5in)",
25159
+
"Right margin (e.g. 1.5in)"
25140
25160
],
25141
25161
"schema/external-schemas.yml": [
25142
25162
{
@@ -25366,12 +25386,12 @@ var require_yaml_intelligence_resources = __commonJS({
25366
25386
mermaid: "%%"
25367
25387
},
25368
25388
"handlers/mermaid/schema.yml": {
25369
-
_internalId: 222606,
25389
+
_internalId: 222771,
25370
25390
type: "object",
25371
25391
description: "be an object",
25372
25392
properties: {
25373
25393
"mermaid-format": {
25374
-
_internalId: 222598,
25394
+
_internalId: 222763,
25375
25395
type: "enum",
25376
25396
enum: [
25377
25397
"png",
@@ -25387,7 +25407,7 @@ var require_yaml_intelligence_resources = __commonJS({
0 commit comments