mkdocs-jupyter icon indicating copy to clipboard operation
mkdocs-jupyter copied to clipboard

Toggle light/dark images from notebook

Open j-faria opened this issue 7 months ago • 0 comments

The material theme allows to show different images for light and dark color schemes (as explained here). Is there a way to use this feature with a matplotlib plot inside a notebook embedded with mkdocs-jupyter?

I'm thinking that a given cell could create two versions of a plot and somehow add the hash fragment to the image "url", but I'm not sure how to go about doing that.

j-faria avatar May 07 '25 09:05 j-faria