Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.
This repository was 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

Description

@tbeseda

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions