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`. | Embed | optional | |||||||||
| link The embedded resource — an `hm://` URL, optionally pinned to a version, block or text range. | |||||||||||
| attributes Embed settings and parent-layout attributes. | 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
block/embed-view: the four ways an embed renders.
URLs: block references, text ranges and versions.
block/web-embed and block/nostr: embeds of outside content.
block/query: a live list of documents.
Blocks: the block model.
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime