Skip to content

Commit

Permalink
fix(argdown-vscode): fixed file paths to webview resources
Browse files Browse the repository at this point in the history
  • Loading branch information
christianvoigt committed Jan 14, 2022
1 parent 13ba5e1 commit 6a08929
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/argdown-vscode/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

## v1.8 (January 2022)

This release adds web extension support to argdown-vscode and @argdown/language-server. Export features are not supported in the browser until the language server prototcol supports virtual filesystems.
This release adds [web extension support](https://code.visualstudio.com/blogs/2021/10/20/vscode-dev) for [vscode.dev](https://vscode.dev) and [github.dev](https://github.dev) to argdown-vscode and @argdown/language-server. Export features are not supported in the browser until the language server prototcol supports virtual filesystems.
4 changes: 2 additions & 2 deletions packages/argdown-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"icon": "media/argdown-mark-blue-256x256.png",
"author": "Christian Voigt",
"license": "MIT",
"version": "1.8.0",
"version": "1.8.1",
"publisher": "christianvoigt",
"homepage": "https://argdown.org",
"repository": {
Expand All @@ -16,7 +16,7 @@
"url": "https://github.com/christianvoigt/argdown/issues"
},
"engines": {
"vscode": "^1.62.0"
"vscode": "^1.63.1"
},
"categories": [
"Programming Languages",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ const resolveExtensionResource = (
extension: vscode.Extension<any>,
resourcePath: string
): vscode.Uri => {
return vscode.Uri.joinPath(extension.extensionUri, resourcePath).with({
scheme: "vscode-resource"
});
return vscode.Uri.joinPath(extension.extensionUri, resourcePath);
};

const resolveExtensionResources = (
Expand Down

0 comments on commit 6a08929

Please sign in to comment.