Closed
Description
A really interesting possibility for the $psEditor.VSCode
API would be to provide integration with the new TextDocumentContentProvider API in VS Code. This API allows you to show an HTML-based preview of arbitrary content. This could enable PowerShell script authors to show UI or rendered data as a result of running a PowerShell script.
Some examples of this API being used in TypeScript:
- https://github.com/vstirbu/vscode-mermaid-preview/blob/master/extension.js
- https://github.com/Microsoft/vscode-extension-samples/blob/master/textdocumentprovider-sample/src/extension.ts
cc @dfinke