Docs · API reference · Verso.Abstractions

DisplayExtensions Class#

Extension methods for displaying objects inline during cell execution.

public static class DisplayExtensions

Inheritance System.Object → DisplayExtensions

Methods#

Display(this object, string) Method#

Displays the object as rich output in the current cell, using the registered formatter pipeline. Multiple objects can be displayed within a single cell without needing to be the final return value.

public static void Display(this object? value, string? mimeType=null);

Parameters#

value System.Object

The object to display.

mimeType System.String

Optional MIME type hint (e.g. "application/json", "text/plain"). When provided, the formatter will prefer this format if the object supports it, falling back to the default formatter otherwise.