Login  Register

Re: [small] not working with asciidoctr-pdf

Posted by 1marc1 on Feb 12, 2019; 8:48am
URL: https://discuss.asciidoctor.org/small-not-working-with-asciidoctr-pdf-tp6702p6720.html

Oops, silly me: attribute substitution works via {}. I was actually trying to pull a variable from my theme file...

:my_red: #d3173c
Attempt to provide +++<color rgb={my_red}>some colour</color>+++ in a line of text.
Attempt to provide +++<color rgb="{my_red}">some colour</color>+++ in a line of text.

Unfortunately, neither of the above works.

Marc.