When I run asciidoctor i3shortcuts.adoc, the resulting HTML is styled correctly (image).
But if I run asciidoctor -s i3shortcuts.adoc, it generates HTML without styling (image).
You are exactly describing the purpose of the --no-header-footer option. When enabled, you get just the embeddable HTML (the part inside the <body> tag) without any of the framing or styling. (The name of the option is somewhat misleading, but that's a legacy we inherited from AsciiDoc Py. See https://github.com/asciidoctor/asciidoctor/issues/1444).
If you intention is disable the header and footer banners, then you are looking for the noheader and nofooter attributes.
asciidoctor -a noheader -a nofooter i3shortcuts.adoc
I updated the description of this option in the man page and user manual to be more accurate.
WOW, what a great and fast and awesome response! I tested the command and it works like a charm. Thanks! Closing the issue.
Most helpful comment
WOW, what a great and fast and awesome response! I tested the command and it works like a charm. Thanks! Closing the issue.