Table Category Keys
table
The keys in the table
category control the arrangement and style of tables and their cells.
Key | Value Type | Example |
---|---|---|
align |
Block alignment |
yaml |
background-color |
Color |
yaml |
border-color |
yaml |
|
border-style |
Border style | Border style[] |
yaml |
border-width |
Measurement | Measurement[] |
yaml |
font-color |
Color |
yaml |
font-family |
Font family name |
yaml |
font-kerning |
|
yaml |
font-size |
Number |
yaml |
font-style |
Font style |
yaml |
grid-color |
yaml |
|
grid-style |
Grid style | Grid style[] |
yaml |
grid-width |
Measurement | Measurement[] |
yaml |
table-head
The keys in the table-head
category control the arrangement and style of the table header.
See table-header-cell for the theme keys that apply to individual header cells.
Key | Value Type | Example |
---|---|---|
background-color |
Color |
yaml |
Color |
yaml |
|
Border style |
yaml |
|
Measurement |
yaml |
|
cell-padding |
Measurement | Measurement[] |
yaml |
font-color |
Color |
yaml |
font-family |
Font family name |
yaml |
font-kerning |
|
yaml |
font-size |
Number |
yaml |
font-style |
Font style |
yaml |
line-height |
Number |
yaml |
text-transform |
Text transform |
yaml |
table-body
table-foot
The keys in the table-foot
category control the arrangement and style of the table footer.
Key | Value Type | Example |
---|---|---|
background-color |
Color |
yaml |
font-color |
Color |
yaml |
font-family |
Font family name |
yaml |
font-size |
Number |
yaml |
font-style |
Font style |
yaml |
table-cell
The keys in the table-cell
category control the arrangement and style of table cells.
Key | Value Type | Example |
---|---|---|
line-height |
Number |
yaml |
padding |
Measurement | Measurement[] |
yaml |
table-asciidoc-cell
The key in the table-asciidoc-cell
category controls the style of AsciiDoc table cells.
Key | Value Type | Example |
---|---|---|
style |
|
yaml |
table-header-cell
The keys in the table-header-cell
category control the style and arrangement of header cells.
See table-head for the theme keys that apply to the table header row.
Key | Value Type | Example |
---|---|---|
background-color |
Color |
yaml |
font-color |
Color |
yaml |
font-family |
Font family name |
yaml |
font-size |
Number |
yaml |
font-style |
Font style |
yaml |
text-transform |
Text transform |
yaml |
table-caption
The keys in the table-caption
category control the style and arrangement of the table captions.
The keys listed on Caption Category Keys can also be nested under the table-caption
category to further customize the table captions.
Key | Value Type | Example |
---|---|---|
Block alignment | inherit |
yaml |
|
End placement |
yaml |
|
caption-max-width |
|
yaml |
Text alignment | inherit |
yaml |
For more information about styling tables using the theming language, see Table Styles.