Re: Sidebar styling
Posted by
mojavelinux on
Jan 07, 2021; 11:07am
URL: https://discuss.asciidoctor.org/Sidebar-styling-tp8431p8438.html
The theming system in Asciidoctor PDF does not currently support the ability to apply styles to a block. There's an open issue to consider supporting this feature in a limited capacity. See
https://github.com/asciidoctor/asciidoctor-pdf/issues/483 (the issue talks about paragraphs, but once it is implemented for paragraphs, it can likely be extended to other blocks.
Best Regards,
-Dan
On Wed, Jan 6, 2021 at 3:45 AM Mark S [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
I'm using asciidoctor-pdf. In my theme-pdf.yml file I have:
sidebar:
font-family: Serif
background-color: #EEEEEE
sidebar-title:
font-family: Helvetica
This works as expected.
But I'd really like to have two (or even three) different sidebar styles. I tried using roles but couldn't get them to work. Is it possible to have different sidebar styles?
--