mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 15:46:29 +08:00
15 lines
907 B
Markdown
15 lines
907 B
Markdown
# Link Blocks
|
|
|
|
These are blocks used to display link content in various ways.
|
|
|
|
- The `Bookmark` block supports displaying general web content with optional style configurations to display as cards of different styles.
|
|
- The `EmbedLinkedDoc` block supports embedding other BlockSuite documents as linked cards, also with various style configurations.
|
|
- The `EmbedSyncedDoc` block supports embedding other BlockSuite documents as editable sub-documents, based on the first-party transclusion support provided by BlockSuite.
|
|
|
|
## Reference
|
|
|
|
- [`BookmarkBlockSchema`](/api/@blocksuite/blocks/variables/BookmarkBlockSchema.html)
|
|
- [`BookmarkBlockService`](/api/@blocksuite/blocks/classes/BookmarkBlockService.html)
|
|
- [`EmbedLinkedDocBlockProps`](/api/@blocksuite/blocks/type-aliases/EmbedLinkedDocBlockProps.html)
|
|
- [`EmbedSyncedDocBlockProps`](/api/@blocksuite/blocks/type-aliases/EmbedSyncedDocBlockProps.html)
|