NotebookCellData is the raw representation of notebook cells. Its is part of {@linkcode NotebookData}.

Constructor

new(kind:NotebookCellKind, value:String, languageId:String)

Create new cell data. Minimal cell data specifies its kind, its source value, and the language identifier of its source.

Parameters:

kind

The kind.

value

The source value.

languageId

The language identifier of the source value.

Variables

executionSummary:Null<NotebookCellExecutionSummary>

The execution summary of this cell data.

kind:NotebookCellKind

The {@link NotebookCellKind kind} of this cell data.

languageId:String

The language identifier of the source value of this cell data. Any value from {@linkcode languages.getLanguages getLanguages} is possible.

metadata:Null<DynamicAccess<Any>>

Arbitrary metadata of this cell data. Can be anything but must be JSON-stringifyable.

outputs:Null<Array<NotebookCellOutput>>

The outputs of this cell data.

value:String

The source value of this cell data - either source code or formatted text.