asciidoctor / asciidoctor.org

:globe_with_meridians: Asciidoctor project site. Composed in AsciiDoc. Baked with Awestruct.
https://asciidoctor.org
Other
323 stars 805 forks source link

Add FAQ on header attributes #852

Closed rockyallen closed 2 years ago

rockyallen commented 5 years ago

Q. Why is asciidoctor ignoring my attribute? A. Are you setting it in the right place? If it is a 'header attribute' (<<>>) it must be defined in the document header (or on the command line), otherwise it won’t work. Also, the document header ends at the first blank line or the document title, whichever comes first. So if you have a blank line between lines in the header, the attributes after it are being defined in the document, not the header. (<<>>).