tobiasah / mkdocs-caption

MkDocs plugin to add captions and easy element numbering
MIT License
3 stars 2 forks source link

It doesn't support light and dark mode in figures #23

Open sinaatalay opened 4 days ago

sinaatalay commented 4 days ago

It doesn't support the functionality of choosing different images in the dark and light modes.

Example:

![The graphical representation of the dynamometer.](../assets/figures/dyno-theSchematic.png#only-light){width=80% #fig-schematic}

![The graphical representation of the dynamometer.](../assets/figures/dyno-theSchematic-dark.png#only-dark){width=80% #fig-schematic}

The code above should render only one caption depending on the light/dark mode. It renders both.

image