there is the indent option for the source block that allows you to normalize the indent. You can even specify the tab size. https://asciidoctor.org/docs/user-manual/#normalize-block-indentation
[source,ruby,indent=0] ---- include::file.rb[tags=init] ----
I assume this is what you have been looking for.
Cheers, Alexander
Free forum by Nabble | Edit this page |