Comment Block
A block inside a comment body: the open block plus a recursive list of child comment blocks.

Extends

id
The block's permanent identity inside its document; clients generate an 8-character random id.
inherited
revision
Output only: CID of the last Change that replaced this block, filled in by the daemon when serving.
optional · inherited
type
The block type, such as `Paragraph` or `Image`; any string is accepted.
inherited
text
The block's plain text, for types that have text; formatting lives in `annotations`.
optional · inherited
link
The block's one link: an `hm://`, `ipfs://`, `https://` or `nostr:` URL depending on the type.
optional · inherited
annotations
Inline formatting, links and mentions over code-point ranges of `text`.
of optional · inherited
attributes
Type-specific attributes, nested here by the Seed API and SDK; on the wire they sit at the block's top level.
optional · inherited

other fields:

children
Nested comment blocks under this one, in order.
of optional

A comment block is one block of a comment body, and the body is a list of them. It is an open block with its children carried inline. Documents use the separate block node wrapper instead. The block types are the same as in documents. A block comment starts with an embed of the quoted block. See Comments.

See also

    comment: the blob whose body holds these blocks.

    Comments: threads, block comments and citations.

    block/node: the document form of nested blocks.

    block/embed: how a block comment quotes its target.

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime

Connections0

Connections show where other documents or comments link to this document.

Related documents

Loading connections…