notebooks

Namespace for notebooks.

The notebooks functionality is composed of three loosely coupled components:

  1. NotebookSerializer enable the editor to open, show, and save notebooks

  2. NotebookController own the execution of notebooks, e.g they create output from code cells.

  3. NotebookRenderer present notebook output in the editor. They run in a separate context.

Online Documentation

Functions

Link copied to clipboard
fun createNotebookController(    id: String,     notebookType: String,     label: String,     handler: (ReadonlyArray<NotebookCell>, notebook: NotebookDocument, controller: NotebookController) -> PromiseLike<Void> = definedExternally): NotebookController

Creates a new notebook controller.

Link copied to clipboard

Creates a new messaging instance used to communicate with a specific renderer.