Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quarto-dev
GitHub Repository: quarto-dev/quarto-cli
Path: blob/main/src/resources/editor/tools/attrs.yml
12926 views
1
# dashboardDiv
2
3
- group: aDashboardDiv
4
contexts: [div]
5
formats: [dashboard]
6
completions:
7
- value: ".card"
8
doc: Markdown content with its own card
9
- value: ".valuebox"
10
doc: Prominently display a value
11
12
- group: aDashboardCard
13
contexts: [div]
14
formats: [dashboard]
15
filter: "\\.card"
16
completions:
17
- value: 'title="$0"'
18
doc: Title for markdown content card
19
- value: 'padding="$0"'
20
doc: Padding around card
21
- value: 'expandable="true"'
22
doc: Make card contents expandable
23
- value: 'expandable="false"'
24
doc: Do not make card contents expandable
25
- value: 'width="$0"'
26
doc: Width (% or absolute pixels)
27
- value: 'height="$0"'
28
doc: Height (% or absolute pixels)
29
30
- group: aDashboardValueBox
31
contexts: [div]
32
formats: [dashboard]
33
filter: "\\.valuebox"
34
completions:
35
- value: 'icon="$0"'
36
doc: Bootstrap icon for value box
37
- value: 'color="$0"'
38
- value: 'color="primary"'
39
- value: 'color="secondary"'
40
- value: 'color="success"'
41
- value: 'color="info"'
42
- value: 'color="warning"'
43
- value: 'color="danger"'
44
- value: 'color="light"'
45
- value: 'color="dark"'
46
47
- group: aDashboardSidebar
48
contexts: [heading]
49
formats: [dashboard]
50
filter: "^##? "
51
completions:
52
- value: ".sidebar"
53
doc: Layout contents in a sidebar
54
55
- group: aDashboardPage
56
contexts: [heading]
57
formats: [dashboard]
58
filter: "^# "
59
completions:
60
- value: 'orientation="rows"'
61
doc: Orient layout by rows
62
- value: 'orientation="columns"'
63
doc: Orient layout by columns
64
65
- group: aDashboardHeading
66
contexts: [heading]
67
formats: [dashboard]
68
filter: "^#{2,} "
69
completions:
70
- value: ".fill"
71
doc: Contents should fill available layout space
72
- value: ".flow"
73
doc: Contents should flow to their natural size
74
- value: ".tabset"
75
doc: Arrange contents into tabs
76
- value: 'width="$0"'
77
doc: Width (% or absolute pixels)
78
- value: 'height="$0"'
79
doc: Height (% or absolute pixels)
80
81
## callouts
82
83
- group: "callout"
84
contexts: [div]
85
completions:
86
- value: .callout
87
doc: "Simple callout with no color, icon, or header"
88
- value: .callout-note
89
doc: "Include additional explanation or context."
90
- value: .callout-tip
91
doc: "Provide a productivity tip or other helpful guidance. "
92
- value: .callout-important
93
doc: "Emphasize content that readers should be sure to read."
94
- value: .callout-caution
95
doc: "Advise the reader to act carefully (i.e., exercise care)."
96
- value: .callout-warning
97
doc: "Inform the reader of danger, harm, or consequences that exist."
98
99
- group: "calloutAttribs"
100
contexts: [div]
101
filter: "\\.callout"
102
completions:
103
- value: 'title="$0"'
104
doc: "Title displayed in callout header"
105
- value: 'icon="true"'
106
doc: Include an icon in the callout.
107
- value: 'icon="false"'
108
doc: Do not include an icon in the callout.
109
- value: 'appearance="default"'
110
doc: The default appearance with colored header and an icon.
111
- value: 'appearance="simple"'
112
doc: "A lighter weight appearance that doesn’t include a colored header background."
113
- value: 'appearance="minimal"'
114
doc: |
115
A minimal treatment that applies borders to the callout, but doesn’t include
116
a header background color or icon.
117
- value: 'collapse="true"'
118
doc: Make the callout collapsable (initially collapsed).
119
- value: 'collapse="false"'
120
doc: Make the callout collapsable (initially expanded).
121
122
## content-visibile
123
124
- group: "content"
125
contexts: [div]
126
completions:
127
- value: '.content-visible when-format="$0"'
128
doc: "Make content visible for a given format."
129
- value: '.content-visible unless-format="$0"'
130
doc: "Make content visible except for a given format."
131
- value: '.content-hidden when-format="$0"'
132
doc: "Make content hidden for a given format."
133
- value: '.content-hidden unless-format="$0"'
134
doc: "Make content hidden except for a given format."
135
- value: '.content-visible when-profile="$0"'
136
doc: "Make content visible for a given profile."
137
- value: '.content-visible unless-profile="$0"'
138
doc: "Make content visible except for a given profile."
139
- value: '.content-hidden when-profile="$0"'
140
doc: "Make content hidden for a given profile."
141
- value: '.content-hidden unless-profile"$0"'
142
doc: "Make content hidden except for a given profile."
143
144
- group: "contentAttribs"
145
contexts: [div]
146
completions:
147
- value: 'when-format="$0"'
148
doc: "Show or hide content when format matches"
149
- value: 'unless-format="$0"'
150
doc: "Show or hide content unless format matches"
151
- value: 'when-profile="$0"'
152
doc: "Show or hide content when profile matches"
153
- value: 'unless-profile="$0"'
154
doc: "Show or hide content unless profile matches"
155
156
## columns
157
158
- group: "columns"
159
contexts: [div, figure]
160
completions:
161
- value: ".column-margin"
162
doc: Position content in the right margin
163
- value: ".column-body"
164
doc: Default column for article content
165
- value: ".column-body-outset"
166
doc: Extend content slightly outside the bounds of the body
167
- value: ".column-body-outset-left"
168
doc: Extend content slightly outside the left side of the body
169
- value: ".column-body-outset-right"
170
doc: Extend content slightly outside the right side of the body
171
- value: ".column-page"
172
doc: Extend content to a wider region
173
- value: ".column-page-left"
174
doc: Extend content on the left to a wider region
175
- value: ".column-page-right"
176
doc: Extend content on the right to a wider region
177
- value: ".column-page-inset"
178
doc: Extend content to a wider region (with a small margin)
179
- value: ".column-page-inset-left"
180
doc: Extend content on the left to a wider region (with a small margin)
181
- value: ".column-page-inset-right"
182
doc: Extend content on the right to a wider region (with a small margin)
183
- value: ".column-screen-inset"
184
doc: Extend content to full width (with a small margin)
185
- value: ".column-screen-inset-shaded"
186
doc: Extend content to full width (with a small margin and shading)
187
- value: ".column-screen-inset-left"
188
doc: Extend content fully to the left (with a small margin)
189
- value: ".column-screen-inset-right"
190
doc: Extend content fully to the right (with a small margin)
191
- value: ".column-screen"
192
doc: Extend content to full width
193
- value: ".column-screen-left"
194
doc: Extend content fully to the left
195
- value: ".column-screen-right"
196
doc: Extend content fully to the right
197
198
## panels
199
200
- group: "panels"
201
contexts: [div]
202
completions:
203
- value: .panel-tabset
204
doc: Panel containing a set of tabs
205
- value: .panel-sidebar
206
doc: Panel that appears to the side of the main content
207
- value: .panel-fill
208
doc: Panel that fills the region not taken by the sidebar
209
- value: .panel-center
210
doc: Panel that centers content in the region not taken by the sidebar
211
- value: .panel-input
212
doc: Panel for horizontal layout of input controls
213
214
## theorem
215
216
- group: "theorem"
217
contexts: [div]
218
completions:
219
- value: 'name="$0"'
220
- value: .proof
221
doc: Proof environment
222
- value: .remark
223
doc: Remark environment
224
- value: .solution
225
doc: Solution environment
226
227
## layout
228
229
- group: "layout"
230
contexts: [div]
231
completions:
232
- value: 'layout="$0"'
233
doc: Custom layout specification for content
234
- value: 'layout-ncol="$0"'
235
doc: Layout output blocks into columns
236
- value: 'layout-nrow="$0"'
237
doc: Layout output blocks into rows
238
- value: 'layout-align="default"'
239
doc: Use default horizontal alignment
240
- value: 'layout-align="left"'
241
doc: Use left horizontal alignment
242
- value: 'layout-align="center"'
243
doc: Use center horizontal alignment
244
- value: 'layout-align="right"'
245
doc: Use right horizontal alignment
246
- value: 'layout-valign="default"'
247
doc: Use default vertical alignment
248
- value: 'layout-valign="top"'
249
doc: Use top vertical alignment
250
- value: 'layout-valign="center"'
251
doc: Use center vertical alignment
252
- value: 'layout-valign="bottom"'
253
doc: Use bottom vertical alignment
254
255
## style
256
257
- group: div-style
258
contexts: [div]
259
completions:
260
- value: 'style="$0"'
261
doc: CSS style attributes
262
263
## figure
264
265
- group: figure
266
contexts: [figure]
267
completions:
268
- value: 'fig-alt="$0"'
269
doc: Alternative text for figure
270
- value: 'fig-align="default"'
271
doc: Default figure alignment
272
- value: 'fig-align="left"'
273
doc: Left figure alignment
274
- value: 'fig-align="center"'
275
doc: Center figure alignment
276
- value: 'fig-align="right"'
277
doc: Right figure alignment
278
- value: 'fig-env="$0"'
279
doc: LaTeX environment for figure
280
- value: 'fig-pos="$0"'
281
doc: |
282
LaTeX figure position arrangement to be used in `\\begin{figure}[]`
283
- value: 'fig-scap="$0"'
284
doc: LaTeX short caption
285
- value: 'style="$0"'
286
doc: CSS style attributes
287
- value: 'width="$0"'
288
- value: 'height="$0"'
289
290
## heading
291
292
- group: heading
293
contexts: [heading]
294
completions:
295
- value: .unnumbered
296
doc: Do not apply numbering to heading
297
- value: .unlisted
298
doc: Do not include heading in table of contents
299
300
## codeblock
301
302
- group: codeblock
303
contexts: [codeblock]
304
completions:
305
- value: 'code-fold="true"'
306
doc: |
307
Fold code into an HTML `<details>` tag so the user can display it on-demand
308
- value: 'code-fold="show"'
309
doc: Show code and allow it to be optionally folded out of view
310
- value: 'code-fold="false"'
311
doc: Do not fold this code block
312
- value: 'code-summary="$0"'
313
doc: Summary text for folded code (defaults to 'Code')
314
- value: 'code-line-numbers="true"'
315
doc: Show line numbers for code block
316
- value: 'code-line-numbers="false"'
317
doc: Do not show line numbers for code block
318
- value: 'shortcodes="false"'
319
doc: Do not process shortcodes in this code block
320
321
## hidden
322
323
- group: hidden
324
contexts: [div, heading, figure, codeblock]
325
completions:
326
- value: .hidden
327
doc: Hide content from view
328
329
# revealDiv
330
331
- group: revealDiv
332
contexts: [div]
333
formats: [revealjs]
334
completions:
335
- value: .incremental
336
doc: Display bullet list incrementally
337
- value: .nonincremental
338
doc: Display bullets list all at once
339
- value: .columns
340
doc: Split content into multiple columns
341
- value: .column
342
doc: Provide column for `.columns` div
343
- value: .notes
344
doc: Slide speaker notes
345
- value: .footer
346
doc: Slide footer text
347
- value: .r-fit-text
348
doc: Fit div contents to available space
349
350
- group: revealFigure
351
contexts: [figure]
352
formats: [revealjs]
353
completions:
354
- value: .r-stretch
355
doc: Stretch figure to fill available space on slide
356
357
- group: revealContent
358
contexts: [div, figure]
359
formats: [revealjs]
360
completions:
361
- value: .absolute
362
doc: Absolutely position content
363
- value: 'top="$0"'
364
doc: Position relative to top of slide
365
- value: 'left="$0"'
366
doc: Position relative to left of slide
367
- value: 'bottom="$0"'
368
doc: Position relative to bottom of slide
369
- value: 'right="$0"'
370
doc: Position relative to right of slide
371
372
- group: revealFragment
373
contexts: [figure, div]
374
formats: [revealjs]
375
completions:
376
- value: .fragment
377
doc: Incrementally reveal content
378
- value: .fade-up
379
doc: Slide up while fading in
380
- value: .fade-down
381
doc: Slide down while fading in
382
- value: .fade-left
383
doc: Slide left while fading in
384
- value: .fade-right
385
doc: Slide right while fading in
386
- value: .fade-in-then-out
387
doc: Fades in, then out on the next step
388
- value: .fade-in-then-semi-out
389
doc: Fades in, then to 50% on the next step
390
- value: .grow
391
doc: Scale up
392
- value: .semi-fade-out
393
doc: Fade out to 50%
394
- value: .shrink
395
doc: Scale down
396
- value: .strike
397
doc: Strike through
398
- value: .highlight-red
399
doc: Turn text red
400
- value: .highlight-green
401
doc: Turn text green
402
- value: .highlight-blue
403
doc: Turn text blue
404
- value: .highlight-current-red
405
doc: Turn text red, then back to original on next step
406
- value: .highlight-current-green
407
doc: Turn text green, then back to original on next step
408
- value: .highlight-current-blue
409
doc: Turn text blue, then back to original on next step
410
411
- group: revealHeading
412
contexts: [heading]
413
formats: [revealjs]
414
completions:
415
- value: .smaller
416
doc: Use a smaller text side for slide
417
- value: .scrollable
418
doc: Make slide contents scrollable
419
- value: .nostretch
420
doc: Do not automatically stretch images on this slide
421
- value: 'autoslide="$0"'
422
doc: Autoslide duration for slide (in milliseconds)
423
- value: 'background-color="$0"'
424
doc: Slide background color
425
- value: 'background-image="$0"'
426
doc: URL of the image to show. GIFs restart when the slide opens.
427
- value: 'background-size="$0"'
428
doc: |
429
Background size (see [background-size](https://developer.mozilla.org/docs/Web/CSS/background-size) on MDN).
430
Defaults to `cover`.
431
- value: 'background-position="$0"'
432
doc: |
433
Background position (see [background-position](https://developer.mozilla.org/docs/Web/CSS/background-position) on MDN).
434
Defaults to `center`.
435
- value: 'background-repeat="$0"'
436
doc: |
437
Background repeat (see [background-repeat](https://developer.mozilla.org/docs/Web/CSS/background-repeat) on MDN).
438
Defaults to `no-repeat`.
439
- value: 'background-opacity="$0"'
440
doc: |
441
Opacity of the background image on a 0-1 scale. 0 is transparent and 1 is fully opaque.
442
Defaults to 1.
443
- value: 'background-video="$0"'
444
doc: A single video source, or a comma separated list of video sources.
445
- value: 'background-video-loop="$0"'
446
doc: Flags if the video should play repeatedly. Defaults to `false`.
447
- value: 'background-video-muted="$0"'
448
doc: Flags if the audio should be muted. Defaults to `false`.
449
- value: 'background-iframe="$0"'
450
doc: URL of the iframe to load
451
- value: 'background-transition="$0"'
452
doc: |
453
Transition style for full page slide backgrounds (`none`, `fade`, `slide`, `convex`, `concave`, or `zoom`).
454
- value: background-interactive
455
doc:
456
Include this attribute to make it possible to interact with the iframe contents.
457
Enabling this will prevent interaction with the slide content.
458
459
- group: revealTransition
460
contexts: [heading]
461
formats: [revealjs]
462
completions:
463
- value: 'transition="none"'
464
doc: No transition (switch instantly)
465
- value: 'transition="fade"'
466
doc: Cross fade
467
- value: 'transition="slide"'
468
doc: Slide horizontally
469
- value: 'transition="convex"'
470
doc: Slide at a convex angle
471
- value: 'transition="concave"'
472
doc: Slide at a concave angle
473
- value: 'transition="zoom"'
474
doc: Scale the incoming slide so it grows in from the center of the screen
475
- value: 'transition-speed="default"'
476
doc: Use default transition speed
477
- value: 'transition-speed="fast"'
478
doc: Use a faster transition speed
479
- value: 'transition-speed="slow"'
480
doc: Use a slower transition speed
481
- value: 'visibility="hidden"'
482
doc: Hide a slide
483
- value: 'visibility="uncounted"'
484
doc: |
485
Show the slide but don't have it count towards the total slides
486
(useful for appendix slides)
487
488
- group: revealAutoAnimateSlide
489
contexts: [heading]
490
formats: [revealjs]
491
completions:
492
- value: 'auto-animate="true"'
493
doc: Automatically animate elements across this slide and adjacent slide(s).
494
- value: 'auto-animate-easing="$0"'
495
doc: A CSS [easing](https://developer.mozilla.org/en-US/docs/Web/CSS/easing-function) function. Defaults to `ease`.
496
- value: 'auto-animate-unmatched="$0"'
497
doc: |
498
Determines whether elements with no matching auto-animate target should fade in.
499
Defaults to `true`. Set to `false` to make them appear instantly.
500
- value: 'auto-animate-duration="$0"'
501
doc: |
502
Animation duration in seconds (defaults to 1.0)
503
- value: 'auto-animate-id="$0"'
504
doc: An id tying auto-animate slides together
505
- value: auto-animate-restart
506
doc: Breaks apart two adjacent auto-animate slides (even with the same id)
507
508
- group: revealAutoAnimateElement
509
contexts: [div, figure]
510
formats: [revealjs]
511
completions:
512
- value: 'data-id="$0"'
513
doc: |
514
Provide objects that you want to animate between a matching data-id attribute
515
(useful in situations where automatic matching is not feasible)
516
- value: 'auto-animate-delay="$0"'
517
doc: Animation delay in seconds (defaults to 0)
518
519