buttercat1791 on Nostr: Asciidoctor parses a document into blocks. A block can be a paragraph, an image, a ...
Asciidoctor parses a document into blocks. A block can be a paragraph, an image, a chart, a code block, a mathematical formula, a section, or even a whole document.
For sections, the ID consists of the underscore-separated section title. So if you had a section header `== Part 3: The Reckoning` in your document, then Asciidoctor's ID for that section would be something like `part_3_the_reckoning`.
It does something similar to generate IDs for paragraph blocks that don't have an explicit title, but I'm not sure yet exactly what the results come out to be.
If two IDs clash, Asciidoctor appends numbers them to guarantee uniqueness.
For sections, the ID consists of the underscore-separated section title. So if you had a section header `== Part 3: The Reckoning` in your document, then Asciidoctor's ID for that section would be something like `part_3_the_reckoning`.
It does something similar to generate IDs for paragraph blocks that don't have an explicit title, but I'm not sure yet exactly what the results come out to be.
If two IDs clash, Asciidoctor appends numbers them to guarantee uniqueness.