How to declare custom prefix to the sections in asciidoc?
Posted by siddjain on
URL: https://discuss.asciidoctor.org/How-to-declare-custom-prefix-to-the-sections-in-asciidoc-tp7826.html
Hello,
I am writing a book in asciidoc. I want to declare a custom prefix that I would like to be used for the sections in my appendices. E.g., if my prefix is P, I want sections to be numbered as:
Appendix P
P.1 Subsection 1
How can I do this? Also how to so the same thing for a normal chapter in the book?
Sid