List
Updated 5 min ago
Defined in: packages/mdast/src/index.ts:927
Markdown list.
Extends
Properties
children
children: ListItem[]
Defined in: packages/mdast/src/index.ts:949
Children of list.
Overrides
data?
optional data?: ListData
Defined in: packages/mdast/src/index.ts:953
Data associated with the mdast list.
Overrides
ordered?
optional ordered?: boolean | null
Defined in: packages/mdast/src/index.ts:936
Whether the items have been intentionally ordered (when true), or that
the order of items is not important (when false or not present).
position?
optional position?: Position
Defined in: node_modules/.pnpm/@types+unist@3.0.3/node_modules/@types/unist/index.d.ts:103
Position of a node in a source document.
Nodes that are generated (not in the original source document) must not have a position.
Inherited from
spread?
optional spread?: boolean | null
Defined in: packages/mdast/src/index.ts:945
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?
optional start?: number | null
Defined in: packages/mdast/src/index.ts:940
The starting number of the list, when the ordered field is true.
type
type: "list"
Defined in: packages/mdast/src/index.ts:931
Node type of mdast list.