Documentation
    Preparing search index...

    Interface Caption

    Table caption. Despite following the table in markup, it'll be the first child of Table in the AST. For tables without a caption, an empty caption element will be inserted.

    interface Caption {
        attributes?: Attributes;
        autoAttributes?: Attributes;
        children: Inline[];
        data?: Data;
        position?: Position;
        type: "caption";
    }

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

    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.

    type: "caption"

    Node type.