Open deki opened 7 years ago
Is there a way to specify the background-opacity
in Markdown with Pandoc?
Sadly, this is unable to work as we don't apply states during PDF exporting as all slides will be shown. In this case, during printing, applying styles to .slide-background
won't work as expected. I'm not too sure if there is any easy way to work around this.
I'm primarily concerned with HTML output, but I do occasionally use PDF output as well.
When I define the opacity for a background-image in CSS like this
and use it in data-state, it works fine except for ?print-pdf.
This was also reported on Stackoverflow by another user: https://stackoverflow.com/questions/44950917/reveal-js-opacity-of-background-image-when-printing-to-pdf