Description List Category Keys
description-list
The keys in the description-list
category control the arrangement and style of description list terms and descriptions.
Key | Value Type | Example |
---|---|---|
description-indent |
Number |
|
term-font-color |
Color |
|
term-font-family |
Font family name |
|
term-font-kerning |
|
|
term-font-size |
Font size |
|
term-font-style |
Font style |
|
term-line-height |
Number |
|
term-spacing |
Measurement |
|
term-text-transform |
Text transform |
|
Ordered and unordered description lists
Asciidoctor PDF supports unordered and ordered description lists. These are defined as a description list, but displayed as an unordered or ordered description list with the term as a subject. Only one term is supported. The subject is shown using the term font style (bold by default).
By default, the subject is arranged as a run-in followed by a subject stop (:
by default).
[unordered]
alpha:: partially complete and unstable
beta:: feature complete and undergoing testing
The subject stop can be customized using the subject-stop
attribute.
[unordered,subject-stop=)]
alpha:: partially complete and unstable
beta:: feature complete and undergoing testing
If the stack
role is present, the subject is stacked above the description.
In this case, the subject stop is only used if specified explicitly.
[unordered.stack]
alpha:: partially complete and unstable
beta:: feature complete and undergoing testing