To further clarify, the Asciidoctor documentation is not generated using Asciidoctor directly (standalone). Rather, it's built using Antora (https://antora.org
). Antora runs Asciidoctor internally, injects the embedded HTML generated by Asciidoctor into a handlebars page template, then applies its own stylesheet to the final result. So you can only get the styling that you see on the Asciidoctor docs site by using Antora (or by downloading and customizing the stylesheet provided by Antora's default UI).