AZURE DATA STUDIO POWERSHELL 6 NOTEBOOK CODE
Application-specific output formats and interactive applet outputs are rendered by a NotebookRenderer.Ī NotebookSerializer is responsible for taking the serialized bytes of a notebook and deserializing those bytes into NotebookData, which contains list of Markdown and code cells. The code cells of a notebook can be executed by a NotebookController, which takes the contents of a cell and from it produces zero or more outputs in a variety of formats ranging from plain text to formatted documents or interactive applets. Others, such as application-specific data or interactive applets, are rendered by extensions.Ĭells in a notebook are read and written to the file system by a NotebookSerializer, which handles reading data from the file system and converting it into a description of cells, as well as persisting modifications to the notebook back to the file system.
Some output formats, such as plain text, JSON, images, and HTML are rendered by VS Code core.
The cells of a notebook can be either Markdown cells or code cells, and are rendered within the core of VS Code. Parts of a NotebookĪ notebook consists of a sequence of cells and their outputs. You may know of popular notebook interfaces like Jupyter Notebook or Google Colab – the Notebook API allows for similar experiences inside Visual Studio Code. The Notebook API allows Visual Studio Code extensions to open files as notebooks, execute notebook code cells, and render notebook outputs in a variety of rich and interactive formats.