Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyperlink navigation to local file paths with a \ backslash is not supported. #225

Open
Scrivener07 opened this issue Dec 25, 2023 · 0 comments

Comments

@Scrivener07
Copy link

Hyperlink navigation to local file paths with a \ backslash is not supported.

For example, if I have a markdown document with a relative file URL using Windows file path separators like this.

[MyFile](files\MyFile.md)

Following the link will generate a path like this which doesn't resolve to a local file URL.
As you can see, the \ characters were replaces with %5C.

file:///G:/files%5CMyFile.md

The user side solution is to use / forward slashes for markdown documents that navigate to file URLs.

I don't know if you want to call this a bug or feature request. It's up to you if you want to accommodate this.

Thanks for the neat tool :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant