-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy pathtypst.json
More file actions
525 lines (525 loc) · 27.8 KB
/
typst.json
File metadata and controls
525 lines (525 loc) · 27.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
[
{
"name": "attributes",
"title": "Title & Author",
"options": [
{
"name": "title",
"description": "Document title"
},
{
"name": "date",
"description": "Document date"
},
{
"name": "date-format",
"description": "Date format for the document"
},
{
"name": "author",
"description": "Author or authors of the document"
},
{
"name": "abstract-title",
"description": "Title used to label document abstract"
},
{
"name": "thanks",
"description": "The contents of an acknowledgments footnote after the document title."
},
{
"name": "order",
"description": "Order for document when included in a website automatic sidebar menu."
}
]
},
{
"name": "typst",
"title": "Typst",
"options": [
{
"name": "logo",
"description": "The logo image."
},
{
"name": "margin-geometry",
"description": "Fine-grained control over marginalia package geometry. Most users should\nuse `margin` and `grid` options instead; these values are computed automatically.\n\nUser-specified values override the computed defaults.\n"
},
{
"name": "theorem-appearance",
"description": "Controls how theorems, lemmas, definitions, etc. are rendered:\n\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"
}
]
},
{
"name": "options",
"title": "Format Options",
"options": [
{
"name": "brand",
"description": "Branding information to use for this document. If a string, the path to a brand file.\nIf false, don't use branding on this document. If an object, an inline brand\ndefinition, or an object with light and dark brand paths or definitions.\n"
},
{
"name": "quarto-required",
"description": "A semver version range describing the supported quarto versions for this document\nor project.\n\nExamples:\n\n- `>= 1.1.0`: Require at least quarto version 1.1\n- `1.*`: Require any quarto versions whose major version number is 1\n"
}
]
},
{
"name": "toc",
"title": "Table of Contents",
"options": [
{
"name": "toc",
"description": "Include an automatically generated table of contents (or, in\nthe case of `latex`, `context`, `docx`, `odt`,\n`opendocument`, `rst`, or `ms`, an instruction to create\none) in the output document.\n\nNote that if you are producing a PDF via `ms`, the table\nof contents will appear at the beginning of the\ndocument, before the title. If you would prefer it to\nbe at the end of the document, use the option\n`pdf-engine-opt: --no-toc-relocation`.\n"
},
{
"name": "toc-indent",
"description": "The amount of indentation to use for each level of the table of contents.\nThe default is \"1.5em\".\n"
},
{
"name": "toc-depth",
"description": "Specify the number of section levels to include in the table of contents.\nThe default is 3\n"
},
{
"name": "lof",
"description": "Print a list of figures in the document."
},
{
"name": "lot",
"description": "Print a list of tables in the document."
}
]
},
{
"name": "numbering",
"title": "Numbering",
"options": [
{
"name": "number-sections",
"description": "Number section headings rendered output. By default, sections are not numbered.\nSections with class `.unnumbered` will never be numbered, even if `number-sections`\nis specified.\n"
},
{
"name": "section-numbering",
"description": "Schema to use for numbering sections, e.g. `1.A.1`"
},
{
"name": "shift-heading-level-by",
"description": "Shift heading levels by a positive or negative integer.\nFor example, with `shift-heading-level-by: -1`, level 2\nheadings become level 1 headings, and level 3 headings\nbecome level 2 headings. Headings cannot have a level\nless than 1, so a heading that would be shifted below level 1\nbecomes a regular paragraph. Exception: with a shift of -N,\na level-N heading at the beginning of the document\nreplaces the metadata title.\n"
},
{
"name": "page-numbering",
"description": "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"
}
]
},
{
"name": "fonts",
"title": "Fonts",
"options": [
{
"name": "mainfont",
"description": "For HTML output, sets the CSS `font-family` on the HTML element.\n\nFor LaTeX output, the main font family for use with `xelatex` or \n`lualatex`. Takes the name of any system font, using the\n[`fontspec`](https://ctan.org/pkg/fontspec) package. \n\nFor ConTeXt output, the main font family. Use the name of any \nsystem font. See [ConTeXt Fonts](https://wiki.contextgarden.net/Fonts) for more\ninformation.\n"
},
{
"name": "codefont",
"description": "For Typst output, sets the font used for displaying code. Takes\nthe name of any font available to Typst (system fonts or fonts in\ndirectories specified by `font-paths`).\n"
},
{
"name": "fontsize",
"description": "For HTML output, sets the base CSS `font-size` property.\n\nFor LaTeX and ConTeXt output, sets the font size for the document body text.\n"
},
{
"name": "mathfont",
"description": "For LaTeX output, the math font family for use with `xelatex` or\n`lualatex`. Takes the name of any system font, using the\n[`fontspec`](https://ctan.org/pkg/fontspec) package.\n\nFor Typst output, sets the font used for mathematical content.\n"
},
{
"name": "font-paths",
"description": "Locally, Typst uses installed system fonts. In addition, some custom path \ncan be specified to add directories that should be scanned for fonts.\nSetting this configuration will take precedence over any path set in TYPST_FONT_PATHS environment variable.\n"
},
{
"name": "linestretch",
"description": "For HTML output sets the CSS `line-height` property on the html\nelement, which is preferred to be unitless.\n\nFor LaTeX output, adjusts line spacing using the\n[setspace](https://ctan.org/pkg/setspace) package, e.g. 1.25, 1.5.\n\nFor Typst output, adjusts the spacing between lines of text.\n"
}
]
},
{
"name": "colors",
"title": "Colors",
"options": [
{
"name": "linkcolor",
"description": "For HTML output, sets the CSS `color` property on all links.\n\nFor LaTeX output, The color used for internal links using color options\nallowed by [`xcolor`](https://ctan.org/pkg/xcolor),\nincluding the `dvipsnames`, `svgnames`, and\n`x11names` lists.\n\nFor ConTeXt output, sets the color for both external links and links within the document.\n\nFor Typst output, sets the color of internal hyperlinks using Typst color syntax.\n"
},
{
"name": "filecolor",
"description": "For LaTeX output, the color used for external links using color options\nallowed by [`xcolor`](https://ctan.org/pkg/xcolor),\nincluding the `dvipsnames`, `svgnames`, and\n`x11names` lists.\n\nFor Typst output, sets the color of external file links using Typst color syntax.\n"
},
{
"name": "citecolor",
"description": "For LaTeX output, the color used for citation links using color options\nallowed by [`xcolor`](https://ctan.org/pkg/xcolor),\nincluding the `dvipsnames`, `svgnames`, and\n`x11names` lists.\n\nFor Typst output, sets the color of citation links using Typst color syntax.\n"
}
]
},
{
"name": "layout",
"title": "Layout",
"options": [
{
"name": "cap-location",
"description": "Where to place figure and table captions (`top`, `bottom`, or `margin`)"
},
{
"name": "fig-cap-location",
"description": "Where to place figure captions (`top`, `bottom`, or `margin`)"
},
{
"name": "tbl-cap-location",
"description": "Where to place table captions (`top`, `bottom`, or `margin`)"
},
{
"name": "papersize",
"description": "The paper size for the document.\n"
},
{
"name": "brand-mode",
"description": "The brand mode to use for rendering the document, `light` or `dark`.\n"
},
{
"name": "grid",
"description": "Properties of the grid system used to layout Quarto HTML and Typst pages."
},
{
"name": "margin",
"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 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"
}
]
},
{
"name": "code",
"title": "Code",
"options": [
{
"name": "code-annotations",
"description": "The style to use when displaying code annotations. Set this value\nto false to hide code annotations.\n"
},
{
"name": "syntax-highlighting",
"description": "Specifies the coloring style to be used in highlighted source code.\n\nValid values:\n\n- `none`: Disables syntax highlighting for code blocks.\n- `idiomatic`: Uses the format's native syntax highlighter\n (e.g., Typst's built-in highlighting, LaTeX `listings` package,\n or reveal.js highlight.js plugin).\n- A style name (e.g., `pygments`, `tango`, `github`): Uses\n Pandoc's skylighting with the specified theme.\n- A path to a `.theme` file: Uses a custom KDE syntax\n highlighting theme.\n\nFor adaptive light/dark themes, specify an object with `light`\nand `dark` properties pointing to theme files.\n"
},
{
"name": "syntax-definitions",
"description": "KDE language syntax definition files (XML)"
}
]
},
{
"name": "execute",
"title": "Execution",
"description": "Execution options should be specified within the `execute` key. For example:\n\n```yaml\nexecute:\n echo: false\n warning: false\n```\n",
"options": [
{
"name": "eval",
"description": "Evaluate code cells (if `false` just echos the code into output).\n\n- `true` (default): evaluate code cell\n- `false`: don't evaluate code cell\n- `[...]`: A list of positive or negative numbers to selectively include or exclude expressions \n (explicit inclusion/exclusion of expressions is available only when using the knitr engine)\n"
},
{
"name": "echo",
"description": "Include cell source code in rendered output.\n\n- `true` (default in most formats): include source code in output\n- `false` (default in presentation formats like `beamer`, `revealjs`, and `pptx`): do not include source code in output\n- `fenced`: in addition to echoing, include the cell delimiter as part of the output.\n- `[...]`: A list of positive or negative line numbers to selectively include or exclude lines\n (explicit inclusion/excusion of lines is available only when using the knitr engine)\n"
},
{
"name": "output",
"description": "Include the results of executing the code in the output. Possible values:\n\n- `true`: Include results.\n- `false`: Do not include results.\n- `asis`: Treat output as raw markdown with no enclosing containers.\n"
},
{
"name": "warning",
"description": "Include warnings in rendered output."
},
{
"name": "error",
"description": "Include errors in the output (note that this implies that errors executing code\nwill not halt processing of the document).\n"
},
{
"name": "include",
"description": "Catch all for preventing any output (code or results) from being included in output.\n"
},
{
"name": "cache",
"description": "Cache results of computations (using the [knitr cache](https://yihui.org/knitr/demo/cache/) \nfor R documents, and [Jupyter Cache](https://jupyter-cache.readthedocs.io/en/latest/) \nfor Jupyter documents).\n\nNote that cache invalidation is triggered by changes in chunk source code \n(or other cache attributes you've defined). \n\n- `true`: Cache results\n- `false`: Do not cache results\n- `refresh`: Force a refresh of the cache even if has not been otherwise invalidated.\n"
},
{
"name": "freeze",
"description": "Control the re-use of previous computational output when rendering.\n\n- `true`: Never recompute previously generated computational output during a global project render\n- `false` (default): Recompute previously generated computational output\n- `auto`: Re-compute previously generated computational output only in case their source file changes\n"
}
]
},
{
"name": "figures",
"title": "Figures",
"options": [
{
"name": "fig-cap-location",
"description": "Where to place figure captions (`top`, `bottom`, or `margin`)"
},
{
"name": "fig-width",
"description": "Default width for figures generated by Matplotlib or R graphics.\n\nNote that with the Jupyter engine, this option has no effect when\nprovided at the cell level; it can only be provided with\ndocument or project metadata.\n"
},
{
"name": "fig-height",
"description": "Default height for figures generated by Matplotlib or R graphics.\n\nNote that with the Jupyter engine, this option has no effect when\nprovided at the cell level; it can only be provided with\ndocument or project metadata.\n"
},
{
"name": "fig-format",
"description": "Default format for figures generated by Matplotlib or R graphics (`retina`, `png`, `jpeg`, `svg`, or `pdf`)"
},
{
"name": "fig-dpi",
"description": "Default DPI for figures generated by Matplotlib or R graphics.\n\nNote that with the Jupyter engine, this option has no effect when\nprovided at the cell level; it can only be provided with\ndocument or project metadata.\n"
},
{
"name": "fig-asp",
"description": "The aspect ratio of the plot, i.e., the ratio of height/width. When `fig-asp` is specified,\nthe height of a plot (the option `fig-height`) is calculated from `fig-width * fig-asp`.\n\nThe `fig-asp` option is only available within the knitr engine.\n"
}
]
},
{
"name": "tables",
"title": "Tables",
"options": [
{
"name": "tbl-cap-location",
"description": "Where to place table captions (`top`, `bottom`, or `margin`)"
},
{
"name": "df-print",
"description": "Method used to print tables in Knitr engine documents:\n\n- `default`: Use the default S3 method for the data frame.\n- `kable`: Markdown table using the `knitr::kable()` function.\n- `tibble`: Plain text table using the `tibble` package.\n- `paged`: HTML table with paging for row and column overflow.\n\nThe default printing method is `kable`.\n"
}
]
},
{
"name": "references",
"title": "References",
"options": [
{
"name": "bibliography",
"description": "Document bibliography (BibTeX or CSL). May be a single file or a list of files\n"
},
{
"name": "csl",
"description": "Citation Style Language file to use for formatting references."
},
{
"name": "citation-location",
"description": "Where citation information should be displayed (`document` or `margin`)"
},
{
"name": "citeproc",
"description": "Turn on built-in citation processing. To use this feature, you will need\nto have a document containing citations and a source of bibliographic data: \neither an external bibliography file or a list of `references` in the \ndocument's YAML metadata. You can optionally also include a `csl` \ncitation style file.\n"
},
{
"name": "bibliographystyle",
"description": "The bibliography style to use (e.g. `#set bibliography(style: \"apa\")`) when using typst built-in citation system (e.g when not `citeproc: true`)."
},
{
"name": "citation-abbreviations",
"description": "JSON file containing abbreviations of journals that should be\nused in formatted bibliographies when `form=\"short\"` is\nspecified. The format of the file can be illustrated with an\nexample:\n\n```json\n{ \"default\": {\n \"container-title\": {\n \"Lloyd's Law Reports\": \"Lloyd's Rep\",\n \"Estates Gazette\": \"EG\",\n \"Scots Law Times\": \"SLT\"\n }\n }\n}\n```\n"
}
]
},
{
"name": "footnotes",
"title": "Footnotes",
"options": [
{
"name": "reference-location",
"description": "Specify location for footnotes. Also controls the location of references, if `reference-links` is set.\n\n- `block`: Place at end of current top-level block\n- `section`: Place at end of current section\n- `margin`: Place at the margin\n- `document`: Place at end of document\n"
}
]
},
{
"name": "crossref",
"title": "Cross-References",
"options": [
{
"name": "crossref",
"description": "Configuration for cross-reference labels and prefixes. See [Cross-Reference Options](https://quarto.org/docs/reference/metadata/crossref.html) for more details."
}
]
},
{
"name": "citation",
"title": "Citation",
"options": [
{
"name": "citation",
"description": "Citation information for the document itself specified as [CSL](https://docs.citationstyles.org/en/stable/specification.html) \nYAML in the document front matter.\n\nFor more on supported options, see [Citation Metadata](https://quarto.org/docs/reference/metadata/citation.html).\n"
}
]
},
{
"name": "language",
"title": "Language",
"options": [
{
"name": "lang",
"description": "Identifies the main language of the document using IETF language tags \n(following the [BCP 47](https://www.rfc-editor.org/info/bcp47) standard), \nsuch as `en` or `en-GB`. The [Language subtag lookup](https://r12a.github.io/app-subtags/) \ntool can look up or verify these tags. \n\nThis affects most formats, and controls hyphenation \nin PDF output when using LaTeX (through [`babel`](https://ctan.org/pkg/babel) \nand [`polyglossia`](https://ctan.org/pkg/polyglossia)) or ConTeXt.\n"
},
{
"name": "language",
"description": "YAML file containing custom language translations"
},
{
"name": "dir",
"description": "The base script direction for the document (`rtl` or `ltr`).\n\nFor bidirectional documents, native pandoc `span`s and\n`div`s with the `dir` attribute can\nbe used to override the base direction in some output\nformats. This may not always be necessary if the final\nrenderer (e.g. the browser, when generating HTML) supports\nthe [Unicode Bidirectional Algorithm].\n\nWhen using LaTeX for bidirectional documents, only the\n`xelatex` engine is fully supported (use\n`--pdf-engine=xelatex`).\n"
}
]
},
{
"name": "includes",
"title": "Includes",
"options": [
{
"name": "include-before-body",
"description": "Include contents at the beginning of the document body\n(e.g. after the `<body>` tag in HTML, or the `\\begin{document}` command\nin LaTeX).\n\nA string value or an object with key \"file\" indicates a filename whose contents are to be included\n\nAn object with key \"text\" indicates textual content to be included\n"
},
{
"name": "include-after-body",
"description": "Include content at the end of the document body immediately after the markdown content. While it will be included before the closing `</body>` tag in HTML and the `\\end{document}` command in LaTeX, this option refers to the end of the markdown content.\n\nA string value or an object with key \"file\" indicates a filename whose contents are to be included\n\nAn object with key \"text\" indicates textual content to be included\n"
},
{
"name": "include-in-header",
"description": "Include contents at the end of the header. This can\nbe used, for example, to include special CSS or JavaScript in HTML\ndocuments.\n\nA string value or an object with key \"file\" indicates a filename whose contents are to be included\n\nAn object with key \"text\" indicates textual content to be included\n"
},
{
"name": "metadata-files",
"description": "Read metadata from the supplied YAML (or JSON) files. This\noption can be used with every input format, but string scalars\nin the YAML file will always be parsed as Markdown. Generally,\nthe input will be handled the same as in YAML metadata blocks.\nValues in files specified later in the list will be preferred\nover those specified earlier. Metadata values specified inside\nthe document, or by using `-M`, overwrite values specified with\nthis option.\n"
}
]
},
{
"name": "render",
"title": "Rendering",
"options": [
{
"name": "from",
"description": "Format to read from. Extensions can be individually enabled or disabled by appending +EXTENSION or -EXTENSION to the format name (e.g. markdown+emoji).\n"
},
{
"name": "output-file",
"description": "Output file to write to"
},
{
"name": "output-ext",
"description": "Extension to use for generated output file\n"
},
{
"name": "template",
"description": "Use the specified file as a custom template for the generated document.\n"
},
{
"name": "template-partials",
"description": "Include the specified files as partials accessible to the template for the generated content.\n"
},
{
"name": "filters",
"description": "Specify executables or Lua scripts to be used as a filter transforming\nthe pandoc AST after the input is parsed and before the output is written.\n"
},
{
"name": "shortcodes",
"description": "Specify Lua scripts that implement shortcode handlers\n"
},
{
"name": "keep-md",
"description": "Keep the markdown file generated by executing code"
},
{
"name": "keep-ipynb",
"description": "Keep the notebook file generated from executing code."
},
{
"name": "ipynb-filters",
"description": "Filters to pre-process ipynb files before rendering to markdown"
},
{
"name": "ipynb-shell-interactivity",
"description": "Specify which nodes should be run interactively (displaying output from expressions)\n"
},
{
"name": "plotly-connected",
"description": "If true, use the \"notebook_connected\" plotly renderer, which downloads\nits dependencies from a CDN and requires an internet connection to view.\n"
},
{
"name": "keep-typ",
"description": "Keep the intermediate typst file used during render."
},
{
"name": "extract-media",
"description": "Extract images and other media contained in or linked from the source document to the\npath DIR, creating it if necessary, and adjust the images references in the document\nso they point to the extracted files. Media are downloaded, read from the file\nsystem, or extracted from a binary container (e.g. docx), as needed. The original\nfile paths are used if they are relative paths not containing ... Otherwise filenames\nare constructed from the SHA1 hash of the contents.\n"
},
{
"name": "resource-path",
"description": "List of paths to search for images and other resources.\n"
},
{
"name": "default-image-extension",
"description": "Specify a default extension to use when image paths/URLs have no\nextension. This allows you to use the same source for formats that\nrequire different kinds of images. Currently this option only affects\nthe Markdown and LaTeX readers.\n"
},
{
"name": "abbreviations",
"description": "Specifies a custom abbreviations file, with abbreviations one to a line.\nThis list is used when reading Markdown input: strings found in this list\nwill be followed by a nonbreaking space, and the period will not produce sentence-ending space in formats like LaTeX. The strings may not contain\nspaces.\n"
},
{
"name": "dpi",
"description": "Specify the default dpi (dots per inch) value for conversion from pixels to inch/\ncentimeters and vice versa. (Technically, the correct term would be ppi: pixels per\ninch.) The default is `96`. When images contain information about dpi internally, the\nencoded value is used instead of the default specified by this option.\n"
},
{
"name": "html-table-processing",
"description": "If `none`, do not process tables in HTML input."
},
{
"name": "html-pre-tag-processing",
"description": "If `none`, ignore any divs with `html-pre-tag-processing=parse` enabled."
},
{
"name": "css-property-processing",
"description": "If `translate`, translate CSS properties into output format properties. If `none`, do not process css properties."
}
]
},
{
"name": "pdfa",
"title": "PDF/A",
"options": [
{
"name": "pdf-standard",
"description": "Specifies PDF conformance standards and/or version for the output.\n\nAccepts a single value or array of values:\n\n**PDF versions** (both Typst and LaTeX):\n`1.4`, `1.5`, `1.6`, `1.7`, `2.0`\n\n**PDF/A standards** (both engines):\n`a-1b`, `a-2a`, `a-2b`, `a-2u`, `a-3a`, `a-3b`, `a-3u`, `a-4`, `a-4f`\n\n**PDF/A standards** (Typst only):\n`a-1a`, `a-4e`\n\n**PDF/UA standards**:\n`ua-1` (Typst), `ua-2` (LaTeX)\n\n**PDF/X standards** (LaTeX only):\n`x-4`, `x-4p`, `x-5g`, `x-5n`, `x-5pg`, `x-6`, `x-6n`, `x-6p`\n\nExample: `pdf-standard: [a-2b, ua-2]` for accessible archival PDF.\n"
}
]
},
{
"name": "text",
"title": "Text Output",
"options": [
{
"name": "wrap",
"description": "Determine how text is wrapped in the output (the source code, not the rendered\nversion). \n\n- `auto` (default): Pandoc will attempt to wrap lines to the column width specified by `columns` (default 72). \n- `none`: Pandoc will not wrap lines at all. \n- `preserve`: Pandoc will attempt to preserve the wrapping from the source\n document. Where there are nonsemantic newlines in the source, there will be\n nonsemantic newlines in the output as well.\n"
},
{
"name": "columns",
"description": "Specify length of lines in characters. This affects text wrapping in generated source\ncode (see `wrap`). It also affects calculation of column widths for plain text\ntables. \n\nFor `typst`, number of columns for body text.\n"
},
{
"name": "tab-stop",
"description": "Specify the number of spaces per tab (default is 4). Note that tabs\nwithin normal textual input are always converted to spaces. Tabs \nwithin code are also converted, however this can be disabled with\n`preserve-tabs: false`.\n"
},
{
"name": "preserve-tabs",
"description": "Preserve tabs within code instead of converting them to spaces.\n(By default, pandoc converts tabs to spaces before parsing its input.) \nNote that this will only affect tabs in literal code spans and code blocks. \nTabs in regular text are always treated as spaces.\n"
},
{
"name": "eol",
"description": "Manually specify line endings: \n\n- `crlf`: Use Windows line endings\n- `lf`: Use macOS/Linux/UNIX line endings\n- `native` (default): Use line endings appropriate to the OS on which pandoc is being run).\n"
}
]
}
]