mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
notebook-renderer-sample
Demonstrates a custom notebook renderer in VS Code. This creates a custom renderer called GitHub Issues Plain Renderer that renders output in a GitHub Issues Notebook.
This starter includes:
- 🖥️ TypeScript code to create a simple
NotebookOutputRenderer - 📦 A Webpack build for the renderer
- 🎨 CSS modules support
Running this Sample
Ensure you have a Python installed to actually run the sample and invoke the renderer.
cd notebook-renderer-samplecode .: Open the folder in VS Code Insiders- Hit
F5to build+debug - Run the sample notebook
- Switch the output rendering by clicking [...] button next to the cell output and then Change Presentation
When you select the x-application/github-issues, the custom renderer will be invoked.
