notebooks
Namespace for notebooks.
The notebooks functionality is composed of three loosely coupled components:
NotebookSerializer enable the editor to open, show, and save notebooks
NotebookController own the execution of notebooks, e.g they create output from code cells.
NotebookRenderer present notebook output in the editor. They run in a separate context.
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.
Link copied to clipboard
fun registerNotebookCellStatusBarItemProvider(notebookType: String, provider: NotebookCellStatusBarItemProvider): Disposable
Register a cell statusbar item provider for the given notebook type.