mjbvz / vscode-github-markdown-preview-style

VS Code extension that changes the built-in markdown preview to match Github's styling
https://marketplace.visualstudio.com/items?itemName=bierner.markdown-preview-github-styles
MIT License
301 stars 57 forks source link

Support for theme context for images #113

Closed CobyPear closed 11 months ago

CobyPear commented 11 months ago

GitHub markdown now supports displaying an image based on the prefers-color-scheme media property on a <picture> element.

https://github.blog/changelog/2021-11-24-specify-theme-context-for-images-in-markdown/ https://github.blog/changelog/2022-05-19-specify-theme-context-for-images-in-markdown-beta/

This does not seem to be reflected in this extension. It would be nice to be able to test this in VSCode before pushing to GitHub.

I am willing to implement this but I would need some time to dig in. Thanks!

CobyPear commented 11 months ago

Oh I made a mistake in my markdown, it's working fine :)