Interface IMarkdownCell

A markdown cell.

interface IMarkdownCell {
    attachments?: IAttachments;
    cell_type: "markdown";
    id?: string;
    metadata: Partial<ICellMetadata>;
    source: MultilineString;
}

Hierarchy (view full)

Properties

attachments?: IAttachments

Cell attachments.

cell_type: "markdown"

String identifying the type of cell.

id?: string

A string field representing the identifier of this particular cell.

Notebook format 4.4 requires no id field, but format 4.5 requires an id field. We need to handle both cases, so we make id optional here.

Cell-level metadata.

Contents of the cell, represented as an array of lines.