Asciidoctor-pdf admonition inside attribute

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Asciidoctor-pdf admonition inside attribute

1marc1
Hi Team,

I am using asciidoctor-pdf and I am trying to get an admonition inside a document attribute. Something like this:

:mynote: NOTE: This is a note.

Here is my text, followed by my note.

{mynote}

The output is simply "NOTE: This is a note.", without the actual admonition. I have been playing around with the pass macro. For example:

:mynote: pass:q[NOTE: This is a note.]

But this doesn't work either. Not sure if I need to change the order of the text substitutions.

Any help and suggestions are welcome.

Marc.