File: section.adoc

package info (click to toggle)
ruby-asciidoctor-pdf 2.3.19-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,972 kB
  • sloc: ruby: 44,316; sh: 133; java: 45; makefile: 4
file content (22 lines) | stat: -rw-r--r-- 716 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
= Section Category Key
:description: Reference list of the available section category key and its value types.
:navtitle: Section
:source-language: yaml

The key in the `section` category controls the indent of a section body.

The `indent` keys applies to the section body only, excluding section titles and discrete headings.
A single value gets applied to both the left and right side (e.g., `0.5in`).
A two-value array configures the left and right side independently (e.g., `[0.5in, 0]`).

[cols="3,6,4a"]
|===
|Key |Value Type |Example

|indent
|xref:measurement-units.adoc[Measurement] {vbar} xref:measurement-units.adoc[Measurement[left,right\]] +
(default: `0`)
|[source]
section:
  indent: [0.5in, 0]
|===