Support AsciiDoctor line range filtering for included content
Antora does not currently support using line ranges with the include directive (include::[lines=]
). This functionality exists in AsciiDoctor, and should be supported by Antora.
AsciiDoctor syntax can be found here: https://asciidoctor.org/docs/user-manual/#by-line-ranges
Antora currently ignores the lines
attribute, which usually results in the whole file getting included (unless you specified other attributes such as tag
).
Note: The Antora 1.0 documentation explicitly calls out the lack of support for filtering by line number: https://docs.antora.org/antora/1.0/asciidoc/include-content/#include-example However, this explicit callout was lost in the later versions of the documentation.