blob: 5ccb94d62c3acc99adf16d53376df84dfc4d7bff (
plain) (
blame)
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
|
= Block Category Keys
:navtitle: Block
:source-language: yaml
The keys in the `block` category control the anchor position and spacing below block elements when a more specific setting isn't designated.
The bottom margin is only added if the block is followed by an adjacent block within the same enclosure (e.g., a sidebar, a table cell, or the area outside any blocks).
[#key-prefix-block,cols="3,4,6a"]
|===
|Key |Value Type |Example
|`anchor-top`
|xref:measurement-units.adoc[Measurement] +
(default: `0`)
|[source]
block:
anchor-top: -12
|`margin-bottom`
|xref:measurement-units.adoc[Measurement] +
(default: `12`)
|[source]
block:
margin-bottom: 6
|===
Block styles are applied to the following block types:
[cols="3*a",grid=none,frame=none]
|===
|
* admonition
* example
* quote
|
* verse
* sidebar
* image
|
* listing
* literal
* table
|===
|