Documentation
    Preparing search index...

    Interface List

    [An unordered list]. See the properties for the style information.

    interface List {
        attributes?: Attributes;
        autoAttributes?: Attributes;
        children: ListItem[];
        data?: Data;
        position?: Position;
        style: ListStyle;
        tight: boolean;
        type: "list";
    }

    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: ListItem[]

    A list of children. This overwrites the children property on Parent, because List's direct children can only be of type ListItem.

    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.

    style: ListStyle

    Bullet point style, one of +, -, or *.

    tight: boolean

    true if there is whitespace between at least a single pair of list items, false otherwise.

    type: "list"

    Node type.