Markdown list.

interface List {
    children: ListItem[];
    data?: ListData;
    ordered?: null | boolean;
    position?: "/home/runner/work/astro-node-fastify/astro-node-fastify/node_modules/@types/unist/index".Position;
    spread?: null | boolean;
    start?: null | number;
    type: "list";
}

Hierarchy (view full)

Properties

children: ListItem[]

Children of list.

data?: ListData

Data associated with the mdast list.

ordered?: null | boolean

Whether the items have been intentionally ordered (when true), or that the order of items is not important (when false or not present).

Position of a node in a source document.

Nodes that are generated (not in the original source document) must not have a position.

spread?: null | boolean

Whether one or more of the children are separated with a blank line from its siblings (when true), or not (when false or not present).

start?: null | number

The starting number of the list, when the ordered field is true.

type: "list"

Node type of mdast list.