Login  Register

Re: [small] not working with asciidoctr-pdf

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

Dan,

Great. Thank you for your reply. This is very helpful. I have been playing around with this and can confirm this also works inside tables:

:red: #ff0000

|===
|Column 1| Column 2
|row 1   | pass:a[<color rgb="{red}">row 1</color>]
|===

The drawback I can see is that this works for asciidoctor-pdf, but does not work for the HTML output. So, if I want to create a document that I want to turn into both a PDF and an HTML document, I essentially need to first create the PDF (with the above code), then update the code for my HTML output.

Is that correct? If so, is this something that will be addressed in the upcoming version 2.0? Is there any more news on 2.0?

Marc.