Set Boolean Attributes
A boolean attribute is a built-in attribute that acts like a toggle. Its sole function is to turn on a feature or behavior.
A boolean attribute is set with an attribute entry in the header or body of a document. Its value is always left blank because boolean attributes only accept an empty string value, which Asciidoctor automatically assigns at processing time.
|1||On a new line, type a colon (
Let’s use an attribute entry to turn on the built-in boolean attribute named
sectanchors is set, it activates an anchor in front of a section title when a cursor hovers over it.
= Document Title :sectanchors: (1)
|1||The value of