asciidoctor / asciidoctor-pdf

:page_with_curl: Asciidoctor PDF: A native PDF converter for AsciiDoc based on Asciidoctor and Prawn, written entirely in Ruby.
https://docs.asciidoctor.org/pdf-converter/latest/
MIT License
1.14k stars 501 forks source link

Theming the conum in code style vs document text #2400

Closed lirantal closed 1 year ago

lirantal commented 1 year ago

Hi folks,

Is it possible to theme the call outs (conum) differently like in the following case where I want to use a black code style background but the PDF background for the text document itself is white?

image

So effectively I would want to color the background for the (1) in white when it is drawn on the code highlight block.

lirantal commented 1 year ago

I posted the ask on the community channel (at https://asciidoctor.zulipchat.com/#narrow/stream/288690-users.2Fasciidoctor-pdf) as I saw that is preferred over a GitHub issue. Thanks folks!

mojavelinux commented 1 year ago

Thanks @lirantal! I'll follow up there.