Numbered sections in Asciidoc can be applied to only a specific portion of the document by using the section attribute.
Here is an example:
= My Document
Text before the numbered section.
[section]
. Section title
Numbered section content.
Text after the numbered section.
== Another section
Content of another section.
In this example, the section
attribute is applied to the block containing the section title and content. This will apply the numbering only to this particular section, and not to any other sections in the document.
The result will look like this:
1. Section title
Numbered section content.
Text after the numbered section.
== Another section
Content of another section.
Asked: 2022-08-10 11:00:00 +0000
Seen: 11 times
Last updated: Aug 12 '21