Documentation
    Preparing search index...

    Interface DefinitionListItem

    A definition list element, consisting of a term and definition tuple.

    interface DefinitionListItem {
        attributes?: Attributes;
        autoAttributes?: Attributes;
        children: [Term, Definition];
        data?: Data;
        position?: Position;
        type: "definitionListItem";
    }

    Hierarchy (View Summary)

    Index

    Properties

    attributes?: Attributes

    Manually defined attributes. #<id> definitions will be converted to an id attribute and all .<class> declarations will be turned into one class attribute whose value is a string of space-delimited declaration identifiers (so, {.a .b} will turn into "class": "a b").

    autoAttributes?: Attributes

    Attributes added by the djot.js parser. This includes automatic ids on Section elements and a few others.

    children: [Term, Definition]

    Note that in HTML there is no "definition list item" container, so DefinitionListItem is erased during conversion and is replaced with consecutive term and definition elements.

    data?: Data

    Info from the ecosystem.

    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.

    type: "definitionListItem"

    Node type.