-
Notifications
You must be signed in to change notification settings - Fork 432
Expand file tree
/
Copy pathdocument-options.yml
More file actions
402 lines (355 loc) · 10.8 KB
/
document-options.yml
File metadata and controls
402 lines (355 loc) · 10.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
- name: reference-doc
tags:
formats: [$office-all, odt]
schema: path
description: |
Use the specified file as a style reference in producing a docx,
pptx, or odt file.
- name: brand
schema:
ref: brand-path-bool-light-dark
description: |
Branding information to use for this document. If a string, the path to a brand file.
If false, don't use branding on this document. If an object, an inline brand
definition, or an object with light and dark brand paths or definitions.
- name: theme
tags:
formats: [$html-doc, revealjs, beamer, dashboard]
schema:
anyOf:
- string
- arrayOf: string
- object:
closed: true
properties:
light:
maybeArrayOf:
string:
description: The light theme name, theme scss file, or a mix of both.
dark:
maybeArrayOf:
string:
description: The dark theme name, theme scss file, or a mix of both.
description: Theme name, theme scss file, or a mix of both.
- name: body-classes
tags:
formats: [$html-doc]
schema: string
description: |
Classes to apply to the body of the document.
- name: minimal
schema: boolean
default: false
tags:
formats: [$html-doc]
description: Disables the built in html features like theming, anchor sections, code block behavior, and more.
- name: document-css
schema: boolean
hidden: true
default: true
tags:
formats: [$html-files]
description: Enables inclusion of Pandoc default CSS for this document.
- name: css
tags:
formats: [$html-all]
schema:
maybeArrayOf: path
description: "One or more CSS style sheets."
- name: anchor-sections
schema: boolean
default: true
tags:
formats: [$html-doc]
description: Enables hover over a section title to see an anchor link.
- name: section-collapse
schema:
enum: [true, false, "closed"]
default: false
tags:
formats: [$html-doc]
description: Add a button that collapses the content below a header
- name: tabsets
schema: boolean
default: true
tags:
formats: [$html-doc]
description: Enables tabsets to present content.
- name: smooth-scroll
schema: boolean
default: false
tags:
formats: [$html-doc]
description: Enables smooth scrolling within the page.
- name: respect-user-color-scheme
schema: boolean
default: false
tags:
formats: [$html-doc]
description:
short: "Enables setting dark mode based on the `prefers-color-scheme` media query."
long: |
If set, Quarto reads the `prefers-color-scheme` media query to determine whether to show
the user a dark or light page. Otherwise the author-preferred color scheme is shown.
- name: html-math-method
tags:
formats: [$html-doc, $epub-all, gfm]
schema:
anyOf:
- ref: math-methods
- object:
properties:
method:
ref: math-methods
url: string
required: [method]
description:
short: "Method use to render math in HTML output"
long: |
Method use to render math in HTML output (`plain`, `webtex`, `gladtex`, `mathml`, `mathjax`, `katex`).
See the Pandoc documentation on [Math Rendering in HTML](https://pandoc.org/MANUAL.html#math-rendering-in-html)
for additional details.
- name: section-divs
tags:
formats: [$html-doc]
schema: boolean
default: true
description: |
Wrap sections in `<section>` tags and attach identifiers to the enclosing `<section>`
rather than the heading itself.
- name: identifier-prefix
tags:
formats: [$html-files, $docbook-all, $markdown-all, haddock]
schema: string
description:
short: "Specify a prefix to be added to all identifiers and internal links."
long: |
Specify a prefix to be added to all identifiers and internal links in HTML and
DocBook output, and to footnote numbers in Markdown and Haddock output.
This is useful for preventing duplicate identifiers when generating fragments
to be included in other pages.
- name: email-obfuscation
tags:
formats: [$html-files]
schema:
enum: [none, references, javascript]
default: none
description:
short: "Method for obfuscating mailto: links in HTML documents."
long: |
Specify a method for obfuscating `mailto:` links in HTML documents.
- `javascript`: Obfuscate links using JavaScript.
- `references`: Obfuscate links by printing their letters as decimal or hexadecimal character references.
- `none` (default): Do not obfuscate links.
- name: html-q-tags
tags:
formats: [$html-all]
schema: boolean
default: false
description: "Use `<q>` tags for quotes in HTML."
- name: pdf-engine
tags:
formats: [$pdf-all, ms, context]
schema:
enum:
[
pdflatex,
lualatex,
xelatex,
latexmk,
tectonic,
wkhtmltopdf,
weasyprint,
pagedjs-cli,
prince,
context,
pdfroff,
typst,
]
description:
short: "Use the specified engine when producing PDF output."
long: |
Use the specified engine when producing PDF output. If the engine is not
in your PATH, the full path of the engine may be specified here. If this
option is not specified, Quarto uses the following defaults
depending on the output format in use:
- `latex`: `lualatex` (other options: `pdflatex`, `xelatex`,
`tectonic`, `latexmk`)
- `context`: `context`
- `html`: `wkhtmltopdf` (other options: `prince`, `weasyprint`, `pagedjs-cli`;
see [print-css.rocks](https://print-css.rocks) for a good
introduction to PDF generation from HTML/CSS.)
- `ms`: `pdfroff`
- `typst`: `typst`
- name: pdf-engine-opt
tags:
formats: [$pdf-all, ms, context]
schema: string
description:
short: "Use the given string as a command-line argument to the `pdf-engine`."
long: |
Use the given string as a command-line argument to the pdf-engine.
For example, to use a persistent directory foo for latexmk’s auxiliary
files, use `pdf-engine-opt: -outdir=foo`. Note that no check for
duplicate options is done.
- name: pdf-engine-opts
tags:
formats: [$pdf-all, ms, context]
schema:
arrayOf: string
description:
short: "Pass multiple command-line arguments to the `pdf-engine`."
long: |
Use the given strings passed as a array as command-line arguments to the pdf-engine.
This is an alternative to `pdf-engine-opt` for passing multiple options.
- name: beamerarticle
schema: boolean
tags:
formats: [pdf]
description: Whether to produce a Beamer article from this presentation.
- name: beameroption
schema:
maybeArrayOf: string
tags:
formats: [beamer]
description: Add an extra Beamer option using `\setbeameroption{}`.
- name: aspectratio
schema:
enum:
- 43
- 169
- 1610
- 149
- 141
- 54
- 32
tags:
formats: [beamer]
description: The aspect ratio for this presentation.
- name: logo
schema: path
tags:
formats: [beamer]
description: The logo image.
- name: titlegraphic
schema: path
tags:
formats: [beamer]
description: The image for the title slide.
- name: navigation
schema:
enum: [empty, frame, vertical, horizontal]
tags:
formats: [beamer]
description: Controls navigation symbols for the presentation (`empty`, `frame`, `vertical`, or `horizontal`)
- name: section-titles
schema: boolean
tags:
formats: [beamer]
default: true
description: Whether to enable title pages for new sections.
- name: colortheme
schema: string
tags:
formats: [beamer]
description: The Beamer color theme for this presentation, passed to `\usecolortheme`.
- name: colorthemeoptions
schema:
maybeArrayOf: string
tags:
formats: [beamer]
description: The Beamer color theme options for this presentation, passed to `\usecolortheme`.
- name: fonttheme
schema: string
tags:
formats: [beamer]
description: The Beamer font theme for this presentation, passed to `\usefonttheme`.
- name: fontthemeoptions
schema:
maybeArrayOf: string
tags:
formats: [beamer]
description: The Beamer font theme options for this presentation, passed to `\usefonttheme`.
- name: innertheme
schema: string
tags:
formats: [beamer]
description: The Beamer inner theme for this presentation, passed to `\useinnertheme`.
- name: innerthemeoptions
schema:
maybeArrayOf: string
tags:
formats: [beamer]
description: The Beamer inner theme options for this presentation, passed to `\useinnertheme`.
- name: outertheme
schema: string
tags:
formats: [beamer]
description: The Beamer outer theme for this presentation, passed to `\useoutertheme`.
- name: outerthemeoptions
schema:
maybeArrayOf: string
tags:
formats: [beamer]
description: The Beamer outer theme options for this presentation, passed to `\useoutertheme`.
- name: themeoptions
schema:
maybeArrayOf: string
tags:
formats: [beamer]
description: Options passed to LaTeX Beamer themes inside `\usetheme`.
- name: section
schema: number
tags:
formats: [man]
description: The section number in man pages.
- name: variant
tags:
formats: [$markdown-all]
schema: string
description: |
Enable and disable extensions for markdown output (e.g. "+emoji")
- name: markdown-headings
tags:
formats: [$markdown-all, ipynb]
schema:
enum: [setext, atx]
default: atx
description: |
Specify whether to use `atx` (`#`-prefixed) or
`setext` (underlined) headings for level 1 and 2
headings (`atx` or `setext`).
- name: ipynb-output
tags:
formats: [ipynb]
schema:
enum: [none, all, best]
default: best
description:
short: "Determines which ipynb cell output formats are rendered (`none`, `all`, or `best`)."
long: |
Determines which ipynb cell output formats are rendered.
- `all`: Preserve all of the data formats included in the original.
- `none`: Omit the contents of data cells.
- `best` (default): Instruct pandoc to try to pick the
richest data block in each output cell that is compatible
with the output format.
- name: quarto-required
schema: string
description:
short: "semver version range for required quarto version"
long: |
A semver version range describing the supported quarto versions for this document
or project.
Examples:
- `>= 1.1.0`: Require at least quarto version 1.1
- `1.*`: Require any quarto versions whose major version number is 1
- name: preview-mode
schema: string
tags:
formats: [$jats-all, gfm]
description:
short: "The mode to use when previewing this document."
long: |
The mode to use when previewing this document. To disable any special
previewing features, pass `raw` as the preview-mode.