Re: [small] not working with asciidoctr-pdf
Posted by
mojavelinux on
Feb 12, 2019; 12:06pm
URL: https://discuss.asciidoctor.org/small-not-working-with-asciidoctr-pdf-tp6702p6723.html
Marc,
Yes, that is correct. It would be Asciidoctor PDF specific.
Asciidoctor 2.0 is in the process of rolling out. News will follow shortly thereafter about Asciidoctor PDF.
Cheers,
-Dan
On Tue, Feb 12, 2019 at 4:51 AM 1marc1 [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
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.
--