Embed Block
An embed of another Hypermedia document, block or text range by hm:// link, rendered as content, a card, its comments or a link.

Extends

id
The block's permanent identity inside its document.
inherited
revision
Output only: CID of the last Change that modified this block.
optional · inherited
type
Block type tag, always `Embed`.
Embedoptional
link
The embedded resource — an `hm://` URL, optionally pinned to a version, block or text range.
attributes
Embed settings and parent-layout attributes.
optional
childrenType
How this block lays out its children — a children type such as `Unordered` or `Grid`.
optional
columnCount
Number of columns the children occupy when `childrenType` is `Grid`.
optional
textAlignment
Horizontal alignment of the block's text — a text alignment such as `center`; omitted for the default `left`.
optional
view
How the target renders: its content, a card, its comments or a plain link.
optional

other fields:

An embed block shows another Hypermedia resource in place. link is required and is an hm:// URL. It may pin a version with ?v=, follow the latest with &l, and narrow the target to a block (#id), a block with its children (#id+) or a text range (#id[start:end]); see URLs. The view attribute is an embed view: Content, Card, Comments or Link. A block comment is a comment whose body starts with an Embed of the quoted block. Renderers detect cycles and fall back to a link.

See also

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…