Users can now specify the theme an image is displayed for in Markdown. Appending #gh-dark-mode-only
or #gh-light-mode-only
to the end of an image url will define whether it's only shown to viewers using a light or a dark GitHub theme. For example:
The GitHub logo in the above screenshots uses the following Markdown to specify the theme context:
