Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quarto-dev
GitHub Repository: quarto-dev/quarto-cli
Path: blob/main/src/resources/schema/cell-layout.yml
12921 views
1
- name: layout
2
schema:
3
anyOf:
4
- string
5
- arrayOf:
6
arrayOf: number
7
description:
8
short: "2d-array of widths where the first dimension specifies columns and the second rows."
9
long: |
10
2d-array of widths where the first dimension specifies columns and the second rows.
11
12
For example, to layout the first two output blocks side-by-side on the top with the third
13
block spanning the full width below, use `[[3,3], [1]]`.
14
15
Use negative values to create margin. For example, to create space between the
16
output blocks in the top row of the previous example, use `[[3,-1, 3], [1]]`.
17
18
- name: layout-ncol
19
schema: number
20
description: Layout output blocks into columns
21
22
- name: layout-nrow
23
schema: number
24
description: Layout output blocks into rows
25
26
- name: layout-align
27
schema:
28
enum: [default, left, center, right]
29
default: center
30
description: Horizontal alignment for layout content (`default`, `left`, `right`, or `center`)
31
32
- name: layout-valign
33
schema:
34
enum: [default, top, center, bottom]
35
default: top
36
description: Vertical alignment for layout content (`default`, `top`, `center`, or `bottom`)
37
38