Skip to content

🚀 Support custom hyperlink hash formats #613

@HarrisonMc555

Description

@HarrisonMc555

First of all, thanks for the great tool!

I think it's super cool that delta supports terminal hyperlinks. There's a lot of great support and documentation for file links, including a --hyperlinks-file-link-format flag that lets you customize how the file links are created.

There is also support for creating links for Git hashes. However, it appears that this is hard-coded to support GitHub repositories and nothing else.

Would you be open to adding a --hyperlinks-hash-link-format (or something like that)? I imagine it would be similar and simply have a {hash} placeholder.

If we wanted to go further, we could support the {hash} placeholder in the file link, which would allow users to open file links in their browser (or something) if they wanted. Just a thought 😃

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions