marky-markdown
marky-markdown copied to clipboard
[QUESTION] Plan to respect GitHub's dark/light mode image url hash: "#gh-dark-mode-only"? Workaround?
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
- feature tweet from Nov 2021
- GitHub rendered Readme sample https://github.com/architect/arcdown
- same Readme on npm https://www.npmjs.com/package/arcdown
Thanks!