mkdocs-jupyter
mkdocs-jupyter copied to clipboard
Toggle light/dark images from notebook
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.