Interface ICodeCellMetadata

Metadata for a code cell.

interface ICodeCellMetadata {
    collapsed: boolean;
    jupyter: Partial<ICodeCellJupyterMetadata>;
    name: string;
    scrolled: boolean | "auto";
    tags: string[];
    trusted: boolean;

Hierarchy (view full)


collapsed: boolean

Whether the cell is collapsed/expanded.

The Jupyter metadata namespace

name: string

The cell's name. If present, must be a non-empty string.

scrolled: boolean | "auto"

Whether the cell's output is scrolled, unscrolled, or autoscrolled.

tags: string[]

The cell's tags. Tags must be unique, and must not contain commas.

trusted: boolean

Whether the cell is trusted.


This is not strictly part of the nbformat spec, but it is added by the contents manager.