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: editors/vscode/package.json
+12-2
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@
73
73
]
74
74
},
75
75
"tinymist.noSystemFonts": {
76
-
"title": "whether to load system fonts for Typst compiler",
76
+
"title": "Whether to load system fonts for Typst compiler",
77
77
"description": "A flag that determines whether to load system fonts for Typst compiler, which is useful for ensuring reproducible compilation. If set to null or not set, the extension will use the default behavior of the Typst compiler.",
78
78
"type": [
79
79
"boolean",
@@ -83,13 +83,23 @@
83
83
},
84
84
"tinymist.fontPaths": {
85
85
"title": "Font paths for Typst compiler",
86
-
"description": "Font paths, which doesn't allow for dynamic configuration",
86
+
"description": "Font paths, which doesn't allow for dynamic configuration. Note: you can use vscode variables in the path, e.g. `${workspaceFolder}/fonts`.",
87
87
"type": [
88
88
"array",
89
89
"null"
90
90
],
91
91
"default": null
92
92
},
93
+
"tinymist.typstExtraArgs": {
94
+
"title": "Specifies the arguments for Typst as same as typst-cli",
95
+
"description": "You can pass any arguments as you like, and we will try to follow behaviors of the **same version** of typst-cli. Note: the arguments may be overridden by other settings. For example, `--font-path` will be overridden by `tinymist.fontPaths`.",
96
+
"type": "array",
97
+
"items": {
98
+
"type": "string",
99
+
"title": "arguments in order"
100
+
},
101
+
"default": []
102
+
},
93
103
"tinymist.serverPath": {
94
104
"title": "Path to server executable",
95
105
"description": "The extension can use a local tinymist executable instead of the one bundled with the extension. This setting controls the path to the executable.",
0 commit comments