Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

[QUESTION] Plan to respect GitHub's dark/light mode image url hash: "#gh-dark-mode-only"? Workaround? #459

Open
tbeseda opened this issue Apr 30, 2022 · 0 comments

Comments

@tbeseda
Copy link

tbeseda commented Apr 30, 2022

What / Why

Is it planned to respect GitHub's light/dark mode image URLs? Is there an intermediary workaround to hide #gh-dark-mode-only images on npmjs.org Readme renders? I believe class attributes are stripped from img tags, because I did try Tachyon's (used by npmjs I believe) dn class on my image and it was sanitized.

Or maybe there are efforts to unify GitHub and npmjs' Markdown rendering? 😄

Where

  • npmjs public repo Readmes

Who

  • n/a

References

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant