Info associated with mdast list item nodes by the ecosystem.

interface ListItemData {
    hChildren?: ElementContent[];
    hName?: string;
    hProperties?: Properties;
}

Hierarchy

  • Data
    • ListItemData

Properties

hChildren?: ElementContent[]

Field supported by mdast-util-to-hast to signal that a node should result in something with these children.

When this is defined, when a parent is created, these children will be used.

hName?: string

Field supported by mdast-util-to-hast to signal that a node should result in a particular element, instead of its default behavior.

When this is defined, an element with the given tag name is created. For example, when setting hName to 'b', a <b> element is created.

hProperties?: Properties

Field supported by mdast-util-to-hast to signal that a node should result in an element with these properties.

When this is defined, when an element is created, these properties will be used.