Skip to content

Commit

Permalink
Exclude workspace when linking to a file (#1372)
Browse files Browse the repository at this point in the history
* Exclude workspace when linking to a file
  • Loading branch information
pderaaij authored Aug 22, 2024
1 parent d2dd979 commit 13a340e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ export const markdownItWikilinkNavigation = (
? `${resource.title}${formattedSection}`
: alias;
const resourceLink = `/${vscode.workspace.asRelativePath(
toVsCodeUri(resource.uri)
toVsCodeUri(resource.uri),
false
)}`;
return getResourceLink(
`${resource.title}${formattedSection}`,
Expand Down

0 comments on commit 13a340e

Please sign in to comment.