mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
- Removes test related code since there are no tests - Removes client/renderer split since there is only a renderer - Simplify webpack logic to align with our webpack sample - Document in top level readme and improve docs
16 lines
686 B
Markdown
16 lines
686 B
Markdown
# notebook-renderer-sample
|
|
|
|
Demonstrates a custom [notebook renderer](https://code.visualstudio.com/api/extension-guides/notebook#notebook-renderer) in VS Code. This creates a custom renderer called `GitHub Issues Plain Renderer` that renders output in a [GitHub Issues Notebook](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-github-issue-notebooks).
|
|
|
|
This starter includes:
|
|
|
|
- 🖥️ TypeScript code to create a simple `NotebookOutputRenderer`
|
|
- 📦 A Webpack build for the renderer
|
|
- 🎨 CSS modules support
|
|
|
|
### Running this Sample
|
|
|
|
1. `cd notebook-renderer-sample`
|
|
1. `code-insiders .`: Open the folder in VS Code Insiders
|
|
1. Hit `F5` to build+debug
|