orzih / mkdocs-with-pdf

Generate a single PDF file from MkDocs repository.
MIT License
338 stars 78 forks source link

Is it possible to render the PDF with specific theme images? #149

Open dicadev opened 11 months ago

dicadev commented 11 months ago

I'm using different images for the light and dark themes. It means I have almost all the images duplicated and both are appearing in the PDF. Could I decide which one is included?

This is an example of the way I'm placing the images in the project:

![Image](image.png#only-light) ![Image Dark](image-dark.png#only-dark)

pbk0 commented 11 months ago

same issue here