Class NotebookRendererScript

Represents a script that is loaded into the notebook renderer before rendering output. This allows to provide and share functionality for notebook markup and notebook output renderers.

Implemented by

Constructors

Properties

Constructors

Properties

provides: readonly string[]

APIs that the preload provides to the renderer. These are matched against the dependencies and optionalDependencies arrays in the notebook renderer contribution point.

uri: Uri

URI of the JavaScript module to preload.

This module must export an activate function that takes a context object that contains the notebook API.