ListItem
Updated 5 min ago
Defined in: packages/mdast/src/index.ts:964
Markdown list item.
Extends
Properties
checked?
optional checked?: boolean | null
Defined in: packages/mdast/src/index.ts:975
Whether the item is a tasklist item (when boolean).
When true, the item is complete.
When false, the item is incomplete.
children
children: (BlockContent | DefinitionContent)[]
Defined in: packages/mdast/src/index.ts:984
Children of list item.
Overrides
data?
optional data?: ListItemData
Defined in: packages/mdast/src/index.ts:988
Data associated with the mdast list item.
Overrides
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:980
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).
type
type: "listItem"
Defined in: packages/mdast/src/index.ts:968
Node type of mdast list item.