marky-markdown icon indicating copy to clipboard operation
marky-markdown copied to clipboard

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

Open tbeseda opened this issue 2 years ago • 0 comments

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!

tbeseda avatar Apr 30 '22 16:04 tbeseda