Replies: 2 comments 10 replies
-
Yep. I'd be very much in favour of supporting this if we can make it work without too much trouble. Based on doing no research at all, 😱 my gut feeling, given the way that we grab rendered README files from GitHub that all of the requisite parts of this might already be coming in and we might just need a CSS tweak to support this. However, It'd be great to see an example of a repository that's using it to know. Do we have any examples of README files in the index that use this? If not, can we create one using one of our packages? LeftPad is available for testing at a push. |
Beta Was this translation helpful? Give feedback.
-
Filed as #1398 |
Beta Was this translation helpful? Give feedback.
-
GitHub have recently announced a new feature which allows for markdown documents (such as the READMEs we render) to support images which change based on light/dark mode.
https://twitter.com/ashtom/status/1463554157932023808
https://docs.github.com/en/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#specifying-the-theme-an-image-is-shown-to
I don't know how much work it will be to handle this, or indeed what format we get it back in the HTML from GitHub (it might even support it for free!) but would be good to look into this.
Beta Was this translation helpful? Give feedback.
All reactions