Section Attributes and Styles Reference

Section attributes

Feature Attribute Value(s) Notes

Appendix label

appendix-caption

Appendix (default) or user defined text

Chapter signifier

chapter-signifier

Chapter (default) or user defined text

book doctype only; default only set in Asciidoctor PDF

Discrete heading

discrete

NA

ID prefix

idprefix

_ (default) or user defined text

Set by default

ID word separator

idseparator

_ (default) or user defined character

Set by default

Part signifier

part-signifier

Part (default) or user defined text

book doctype only

Part numbers

partnums

NA

book doctype only

Section anchor

sectanchors

NA

Section ID

sectids

NA

Set by default

Section link

sectlinks

NA

Section numbers and special section numbers

sectnums

empty (default) or all

Can be toggled on or off in the flow of the document

Section numbers level depth

sectnumlevels

3 (default) when sectnums is set; 0 through 5

Value of 0 is the same as sectnums!

Hide special section title

options or %

untitled

DocBook only; can only be set on special sections

Section styles

Feature Style Name Doctypes Converters

Abstract

abstract

article

All

Acknowledgments

acknowledgments

book

All

Appendix

appendix

All

All

Bibliography

bibliography

All

All

Colophon

colophon

book

All

Dedication

dedication

book

All

Glossary

glossary

All

All

Index

index

All

DocBook

Preface

preface

book

All