For images marked with the class .include-dark,
the extension includes two images:
- The original image with the class
.light-content - A dark version of the image, assumed to have the same filename with an additional suffix
-dark, with the class.dark-content
For example this markdown:
{.border .include-dark fig-alt="A probably long description of this figure"}Results in output equivalent to this markdown:
{.border .light-content fig-alt="A probably long description of this figure"}
{.border .dark-content fig-alt="A probably long description of this figure"}