Verso documentation
Architecture, guides, extension authoring, and migration paths. The same docs ship in the Verso repository. For what changed in each version, see the release notes. For the public .NET API, see the API reference.
Five sample layout extensions, each rebuilding the notebook surface into something else: a reactive graph, a slide editor, a spreadsheet, a dashboard, an image compositor.
Showcase Extensions
What the showcase extensions are, how inline and isolated layouts differ, and how to install or build one.
DAG Notebook
A reactive notebook: cells linked by the variables they share, with a change cascading to its dependents in order.
Slide Studio
A slide-deck authoring layout with a filmstrip, a split editor and output view, and a full-screen presenter mode.
Grid Studio
An editable spreadsheet bound to a kernel variable, committing your edits back as a rebuilt DataBlock.
Form Studio
A dashboard you build by dragging, whose inputs write kernel variables and drive the notebook's own code.
Image Studio
A layered image compositor with a canvas, a layer stack, procedural layers driven by code, and PNG and SVG export.
How Verso is put together: a headless engine, an extension host, and three front-ends that all consume the same API.
Architecture Overview
The layered architecture and the principle behind it: every feature is an extension.
Engine
The headless .NET library: execution, variable sharing, subsystems, and embedding.
Execution Pipeline
From “run this cell” to outputs: kernel resolution, magic commands, and result collection.
Extension Host
How extensions are discovered, validated, loaded, and managed in a session.
Front-Ends
The Blazor, VS Code, and CLI hosts, and what they share.
Task-focused guides for working in Verso notebooks.
Getting Started with Verso
Install Verso, open a notebook, run your first cells, and share variables across languages.
Cell Types
The built-in cell types: code, markdown, parameters, SQL, HTTP, Mermaid, and HTML, with TeX math and Mermaid diagrams inside Markdown.
Markdown Notebooks
Run a plain .md file as a notebook: how fences map to cells, what saving preserves, and when to convert.
Language Kernels
The built-in language kernels, choosing a cell's language, adding packages, and sharing variables across them.
Python Interpreters
Which Python a notebook runs, how it is discovered, switching it with #!python, and externally managed installations.
Python Packages
Installing Python packages with #!pip, on import with consent, and declaring a notebook's dependencies once.
Interactive Widgets
Live ipywidgets and anywidget controls, what a saved file holds, and sharing a widget's value with other kernels through #!bind.
Notebook Parameters
Declare typed parameters and supply their values from the CLI or the editor to make a notebook reusable.
HTTP Requests
Call REST APIs from HTTP cells, with variables, request chaining, and rich response rendering.
Database Connectivity
Connect to any ADO.NET database, query with paginated results, inspect schema, and export.
Mermaid Diagrams
Author Mermaid diagrams in a dedicated cell type or a Markdown fence, with notebook variable substitution.
CLI Reference
The verso command line: serve, run, convert, repl, export, and info, with options and exit codes.
Managing Extensions
Find, install, trust, enable, and require extensions from the in-app marketplace.
Interface Language
Choose the language Verso's interface speaks, where that choice is read from, and what keeps the machine's own formatting.
Layouts and Showcase Extensions
Arrange a notebook as a document, dashboard, or presentation, and explore the showcase layout extensions.
Comparing Notebooks
Compare the open notebook against its last save, git history, or another file, with cell-level source and output diffs.
Sharing a Notebook
Turn a notebook in a public repository into a page anyone can read, with its outputs, without installing anything.
Embedding the Engine
Reference the engine from your own .NET app to run notebook cells programmatically.
Everything an extension author needs, from a first scaffold to packaging and publishing on NuGet.
Getting Started with Verso Extensions
Scaffold an extension project, register it with the host, and run it locally.
Extension Interfaces Reference
The interfaces in Verso.Abstractions and the capability surface each one exposes.
Context Reference
IVersoContext, IExtensionHostContext, and the services extensions reach through them.
Layout Authoring Guide
Write a custom layout engine, covering both inline and sandboxed-frame renderers.
Panels
Contribute a panel beside the notebook body, describing its content as ordered representations so it works on every host.
Theme Authoring Guide
Define palettes, typography, syntax colors, and the tokens layouts inherit.
Localization
Follow the reader's interface language: resource files, IVersoContext.UICulture, strings for an isolated renderer, and the test that proves it.
Testing Extensions
Unit-test extensions with the Verso.Testing stubs, no full host required.
Packaging and Publishing
Produce a NuGet package, publish it, and version across host releases.
Best Practices
State, thread safety, security, and conventions that play well with the ecosystem.
Bring existing notebooks and workflows to Verso.
Migrating from Jupyter
Import .ipynb notebooks and map Jupyter concepts to their Verso equivalents.
Migrating from Polyglot Notebooks
Move from Polyglot Notebooks and .NET Interactive, including .dib files.
Migrating from Papermill
Replace parameterized Papermill runs with Verso parameters and the CLI runner.