Login  Register

Asciidoctor-pdf admonition inside attribute

Posted by 1marc1 on Jan 18, 2019; 5:17am
URL: https://discuss.asciidoctor.org/Asciidoctor-pdf-admonition-inside-attribute-tp6680.html

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.