-
Notifications
You must be signed in to change notification settings - Fork 38.3k
Closed
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalitymarkdownMarkdown support issuesMarkdown support issues
Milestone
Description
The current behaviour of Code's Markdown previewer when clicking a relative link is actually a bit cryptic: it attempts to open the file relative to the user's home path with the system's application of choice. This will commonly lead to errors being dispatched because the file cannot be found.
If I have the following Markdown:
The data types are documented [here](typings/foo.d.ts).
Clicking the link will make my system attempt to open /home/username/typings/foo.d.ts.
Given that even GitHub supports relative links to project files, I strongly believe that they should be supported here. Such links should instead be relative to the markdown file's directory and open the linked file using the Code editor.
Reactions are currently unavailable
Metadata
Metadata
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalitymarkdownMarkdown support issuesMarkdown support issues