Are attributes allowed with tag:: comments?
Posted by oddhack on Oct 18, 2017; 9:38pm
URL: https://discuss.asciidoctor.org/Are-attributes-allowed-with-tag-comments-tp5997.html
Is it legal and supported to say something like
// tag::tagname[myattrib='foo bar']
? The user manual just uses [] in all the examples I can see, but it would be very convenient for our purposes to be able to define block attribute-like variables to associate with the tagged block (even though/if such variables would not be visible to asciidoctor itself, though it's a bonus if they *are* visible).
Alternatively, what are the restrictions on what other content can be present on a tag:: line? It would be basically as good for our needs to be able to say
// tag::tagname[] // myattrib='foo bar'
or similar.
Jon