To ensure your images look their best in both dark and light modes on GitHub, use the <picture> element in your Markdown files. This allows you to set different image sources based on the user's color scheme. The approach can make your project appear more polished and professional.

3m read timeFrom github.blog
Post cover image
Table of contents
One snippet, two themes!DemoTags:Written by

Sort: