Documentation
    Preparing search index...

    Interface Paragraph

    Paragraph, a generic block element which is created when a sequence of non-blank lines can't be parsed as any other block.

    interface Paragraph {
        attributes?: Attributes;
        autoAttributes?: Attributes;
        children: AstNode[];
        data?: Data;
        position?: Position;
        type: "paragraph";
    }

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

    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: "paragraph"

    Node type.