Skip to content

Commit 31218f7

Browse files
committed
Clairify what being a directory means for baseuri
Fixes microsoft#143717
1 parent 4803339 commit 31218f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vscode-dts/vscode.proposed.markdownStringBaseUri.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ declare module 'vscode' {
1111
/**
1212
* Uri that relative paths are resolved relative to.
1313
*
14-
* If the `baseUri` is a directory, relative paths in the markdown are resolved relative to that directory:
14+
* If the `baseUri` ends with `/`, it is considered a directory and relative paths in the markdown are resolved relative to that directory:
1515
*
1616
* ```ts
1717
* const md = new vscode.MarkdownString(`[link](./file.js)`);

0 commit comments

Comments
 (0)