npm / marky-markdown

npm's markdown parser
https://www.npmjs.com/package/@npmcorp/marky-markdown
405 stars 72 forks source link

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

Open tbeseda opened 2 years ago

tbeseda commented 2 years ago

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

Who

References

Thanks!