Section Attributes Reference

Feature Attribute Value(s) Notes

Abstract

abstract

N/A

Can have subsections

Acknowledgments

acknowledgments

N/A

book doctype only

Appendix

appendix

N/A

Can have subsections

Appendix label

appendix-caption

Appendix (default) or user defined text

Bibliography

bibliography

N/A

Chapter label

chapter-label

Chapter (default) or user defined text

book doctype only; Asciidoctor PDF only

Colophon; copyright page

colophon

N/A

book doctype only

Dedication

dedication

N/A

book doctype only

Discrete section style

discrete

N/A

Glossary

glossary

N/A

Section ID prefix

idprefix

_ (default) or user defined text

Set by default

Section ID word separator

idseparator

_ (default) or user defined character

Set by default

Index

index

N/A

DocBook only

Part numbers

partnums

N/A

book doctype only

Preface

preface

N/A

book doctype only; can have subsections

Section anchor

sectanchors

N/A

Section ID

sectids

N/A

Set by default

Section link

sectlinks

N/A

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!

Untitled section option

options or %

untitled

DocBook only; can only be set on special sections