diff --git a/textdocumentprovider-sample/README.md b/textdocumentprovider-sample/README.md index a424c978..f0c4924c 100644 --- a/textdocumentprovider-sample/README.md +++ b/textdocumentprovider-sample/README.md @@ -11,12 +11,12 @@ The purpose of the extension is to show a preview of the properties in the decla - The properties are rendered in the preview - Edit the propertis and the preview is updated -![Navigation](images/preview.gif) +![Navigation](https://github.com/Microsoft/vscode-extension-samples/tree/master/textdocumentprovider-sample/images/preview.gif) # How it works - The extension implements and registers a `TextDocumentProvider` for a particular resource URI. -- The TextDocumentProvider creates a HTML document that contains the declaration block of the selected CSS Rule in the active editor. -- The generated HTML document is then opened in an editor in the 2nd Column using the command `vscode.previewHtml`. +- The `TextDocumentProvider` creates a HTML document that contains the declaration block of the selected CSS Rule in the active editor. +- The generated HTML document is then opened in an editor in the 2nd Column using the [command](https://code.visualstudio.com/docs/extensionAPI/vscode-api-commands#_commands) `vscode.previewHtml`. diff --git a/textdocumentprovider-sample/package.json b/textdocumentprovider-sample/package.json index 61100565..f24439fe 100644 --- a/textdocumentprovider-sample/package.json +++ b/textdocumentprovider-sample/package.json @@ -2,7 +2,7 @@ "name": "vscode-css-properties", "displayName": "Preview CSS Propertis Sample", "description": "A sample illustrating the of TextContentProviders and the `vscode.previewHtml` command. Introduce in verson 0.10.7.", - "version": "0.0.6", + "version": "0.0.7", "publisher": "eg2", "galleryBanner": { "color": "#5c2d91",