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.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-08-10 11:00:00 +0000
Seen: 11 times
Last updated: Aug 12 '21
How can I show just a portion of an image using WPF?
How can a printable form be structured to meet the accessibility requirements of Section 508?
Why does the app shut down when switching to the Google Maps section in a Flutter application?
How can I make the html anchor link jump further?
What is the process of creating global parameters in OpenAPI?
What are the steps to log in to Github Enterprise within Visual Studio 2022?