vsch / flexmark-java

CommonMark/Markdown Java parser with source level AST. CommonMark 0.28, emulation of: pegdown, kramdown, markdown.pl, MultiMarkdown. With HTML to MD, MD to PDF, MD to DOCX conversion modules.
BSD 2-Clause "Simplified" License
2.21k stars 260 forks source link

CSS opacity issue #584

Open alijanik opened 11 months ago

alijanik commented 11 months ago

I am creating an HTML and then converting it to a PDF file by using the below line: PdfConverterExtension.exportToPdf(byteArrayOutputStream, htmlWithCss, "", BaseRendererBuilder.TextDirection.LTR);

I have a watermark CSS in my HTML and I tested both of the following CSS for transparency:

But unfortunately, none of them works. I think the converter does not support it! Do you have any idea?