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
|
= List Category Keys
:description: Reference list of the available list category keys and their value types. The list category controls the styles of ordered and unordered lists.
:navtitle: List
:source-language: yaml
[#list]
== list
The keys in the `list` category control the arrangement and style of ordered and unordered lists.
The `marker-font-color` key controls the color of the bullet glyph that marks items in unordered lists and the color of the number or letter marker for items in ordered lists.
The `text-align` key controls the alignment of the list text only, not nested content, such as nested blocks and lists.
[cols="3,3,6a"]
|===
|Key |Value Type |Example
|indent
|xref:measurement-units.adoc[Measurement] +
(default: `30`)
|[source]
list:
indent: 40
|item-spacing
|xref:measurement-units.adoc[Measurement] +
(default: `6`)
|[source]
list:
item-spacing: 4
|marker-font-color
|xref:color.adoc[Color] +
(default: _inherit_)
|[source]
list:
marker-font-color: #3C763D
|text-align
|xref:text.adoc#text-align[Text alignment] +
(default: `$base-text-align`)
|[source]
list:
text-align: right
|===
[#ulist-marker]
== ulist-marker
The keys in the `ulist-marker` category control the arrangement and style of the unordered list markers.
[cols="3,4,6a"]
|===
|Key |Value Type |Example
|font-family
|xref:font-support.adoc[Font family name] +
(default: _inherit_)
|[source]
ulist:
marker:
font-family: Noto Serif
|font-size
|xref:language.adoc#values[Number] +
(default: _inherit_)
|[source]
ulist:
marker:
font-size: 9
|font-color
|xref:color.adoc[Color] +
(default: `$list-marker-font-color`)
|[source]
ulist:
marker:
font-color: #CCCCCC
|line-height
|xref:language.adoc#values[Number] +
(default: `$base-line-height`)
|[source]
ulist:
marker:
line-height: 1.5
|===
[#marker-type]
== ulist-marker-<type>
The keys in the `ulist-marker-<type>` category control the arrangement and style of a type of unordered list marker.
Type can be `disc`, `square`, `circle`, `checked`, or `unchecked`.
[cols="3,4,6a"]
|===
|Key |Value Type |Example
|content
|xref:quoted-string.adoc[Quoted string]
|[source]
ulist:
marker:
disc:
content: "\uf140"
|font-family
|xref:font-support.adoc[Font family name] +
(default: _inherit_)
|[source]
ulist:
marker:
disc:
font-family: fas
|font-size
|xref:language.adoc#values[Number] +
(default: _inherit_)
|[source]
ulist:
marker:
disc:
font-size: 9
|font-color
|xref:color.adoc[Color] +
(default: _inherit_)
|[source]
ulist:
marker:
disc:
font-color: #FF0000
|line-height
|xref:language.adoc#values[Number] +
(default: _inherit_)
|[source]
ulist:
marker:
disc:
line-height: 2
|===
|