Skip to content

Allow dropping leading slash from markdown link autocompletions #396

Open
@fmenozzi

Description

@fmenozzi

I have a single flat notes directory with a collection of markdown files in them. These files were created a long time ago with different tools and make heavy use of links to other markdown files that look like this:

[link to file](file.md)

Marksman can successfully follow these links in Helix via goto definition, but whenever I attempt to use marksman to autocomplete a link such as above, accepting the autocomplete results in a leading slash being added like so:

[link to file](/file.md)

I always end up removing this leading slash because it's noisy and it doesn't seem necessary for marksman to work.

Is there a way allow for this leading slash for markdown links not to be generated for autocomplete? I see that there was a similar request for wiki-style links in #162, so I'm hoping this can be extended to markdown links as well.

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