Skip to content

Linking to a file #156

@joshleaves

Description

@joshleaves

Hi,

I got a few links to specific files on Github. For example, let's say this:

# That one file I suspect is related to the issue

https://github.com/nathonius/obsidian-github-link/blob/main/src/github/url-parse.ts

The result looks like this:
Screenshot 2024-12-18 at 07 26 22

While the extension being cut off could just be a minor cosmetic issue, it is NOT part of the link badge and the resulting href value will NOT include it, actually linking to the non-existent https://github.com/nathonius/obsidian-github-link/blob/main/src/github/url-parse, forcing me to manually add the extension afterwards.

Thank you for your work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions