Re: Asciidoctor pdf - Custom admonition icons
Posted by
mojavelinux on
Aug 16, 2019; 10:00pm
URL: https://discuss.asciidoctor.org/Asciidoctor-pdf-Custom-admonition-icons-tp5850p7092.html
Right now, you have to use underscore in the property name for the stroke color. This is a bug. The hyphen is not being translated.
extends: default
admonition:
icon:
tip:
stroke_color: 'ffffff'
Best,
-Dan
On Fri, Aug 16, 2019 at 3:46 PM lalebarde [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
Hi Dan,
If I have well understood, if I need only to change the color of the TIP admonition to be white in pdf, I have just to add in mypdf-theme.yml :
extends: default
admonition:
icon:
tip:
stroke-color: 'ffffff'
but it remains black. I also tried without quotes around the color code.
My command is alright since other theming parameters are well taken into account.
Cheers,
Laurent
--