ListItem

Markdown list item.

Extends

Properties

checked?

optional checked: null | boolean

Whether the item is a tasklist item (when boolean).

When true, the item is complete. When false, the item is incomplete.

Defined in

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


children

children: (BlockContent | DefinitionContent)[]

Children of list item.

Overrides

Parent.children

Defined in

node_modules/@types/mdast/index.d.ts:908


data?

optional data: ListItemData

Data associated with the mdast list item.

Overrides

Parent.data

Defined in

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


position?

optional position: Position

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

Defined in

node_modules/@types/unist/index.d.ts:103


spread?

optional 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).

Defined in

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


type

type: "listItem"

Node type of mdast list item.

Overrides

Parent.type

Defined in

node_modules/@types/mdast/index.d.ts:892