Re: Inline roles inside blocks
Posted by mbc on Feb 19, 2019; 10:55pm
URL: https://discuss.asciidoctor.org/Inline-roles-inside-blocks-tp6758p6760.html
(In my previous example, I forgot adding the # character before and after the word to be formatted.)
I reply myself to solve the question: I must add the [subs="quotes"] attribute.
For example,
[source, subs="quotes"]
----
> run mycommand
this is my [red]#output#
----
Now, the "output" word is red colored.