Documentation
    Preparing search index...

    Interface OrderedList

    Numbered list.

    interface OrderedList {
        attributes?: Attributes;
        autoAttributes?: Attributes;
        children: ListItem[];
        data?: Data;
        position?: Position;
        start?: number;
        style: OrderedListStyle;
        tight: boolean;
        type: "orderedList";
    }

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

    List of children.

    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.

    start?: number

    The starting index of the list if it's not a 1. Will always be non-negative.

    Digits, Latin letters, or Roman numerals (the latter two in upper/lower case variants) with various combinations of parenthesis or a closing dot.

    tight: boolean

    true if any pair of list items has a blank line between them.

    type: "orderedList"

    Node type.