Understand the Embed Format (v2.0.0+)
mainStarting from version 2.0.0, embeds are stored as MarkdownCodeBlockProcessor blocks using the embed language identifier. This format allows for structured metadata storage.
Key fields include:
title: The title of the linked content.image: The URL of the preview image.description: A brief description of the content.url: The original link URL.favicon: The website's favicon URL.aspectRatio: Optional parameter to maintain image dimensions.metadata: Optional field for custom user data.parser: The parser used to generate the embed.date: The date of the embed.custom_date: A formatted date string.
title: "Example Title"
image: "https://example.com/image.jpg"
description: "This is an example description"
url: "https://example.com"
favicon: "https://example.com/favicon.ico"
aspectRatio: "1.5"
metadata: "Additional custom metadata can be included here"
parser: "local"
date: "2023-04-01"
custom_date: "2023-04-01 13:45:22"