ListItem

Defined in: node_modules/@types/mdast/index.d.ts:888

Markdown list item.

Extends

Properties

checked?

optional checked: null | boolean

Defined in: node_modules/@types/mdast/index.d.ts:899

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: node_modules/@types/mdast/index.d.ts:908

Children of list item.

Overrides

Parent.children


data?

optional data: ListItemData

Defined in: node_modules/@types/mdast/index.d.ts:912

Data associated with the mdast list item.

Overrides

Parent.data


position?

optional position: Position

Defined in: 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

Parent.position


spread?

optional spread: null | boolean

Defined in: node_modules/@types/mdast/index.d.ts:904

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: node_modules/@types/mdast/index.d.ts:892

Node type of mdast list item.

Overrides

Parent.type