Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Web NotebookNew to Visual Studio Code? Get it now.
Web Notebook

Web Notebook

Steve Oney

|
35 installs
| (0) | Free
A notebook renderer for basic web code (HTML/CSS/JavaScript)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

README

⚠️ Work-in-progress starter code for custom notebook renderers in VS Code. Expect this to change as notebooks matures. ⚠️

This starter includes:

  • 🖥️ TypeScript code to create a simple NotebookOutputRenderer
  • 📦 A Webpack build for renderer client code
  • ⚡ Support for hot module reloading and safe boilerplate
  • 🎨 CSS modules support

Running this Sample

  1. code-insiders practical-javascript-reading-notebook: Open the folder in VS Code Insiders
  2. Hit F5 to build+debug

Structure

A Notebook Renderer consists of code that runs in the VS Code Extension Host (Node.js), which registers the renderer and passes data into the UI code running inside a WebView (Browser/DOM).

This uses TypeScript project references. There are three projects in the src directory:

  • extension contains the code running in Node.js extension host. It's compiled with tsc.
  • client is the UI code, built by Webpack, with access to the DOM.
  • common contains code shared between the extension and client.

When you run watch, compile, or dev, we invoke both tsc and webpack to compile the extension and the client portion of the code.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft