Open {re}Source @openresource.dev ยท Oct 9

Ever wanted to display different images in your GitHub READMEs depending on light or dark mode? ๐ŸŒ“ Check out the steps in this thread! ๐Ÿ‘‡ #opensource #oss #floss #foss #github

2 likes 1 replies

?

Replies

Open {re}Source ยท Oct 9

You can append "#gh-light-mode-only" or "#gh-dark-mode-only" to your image URLs in Markdown. This will ensure only one image is displayed, depending on whether the viewer is in light or dark mode.