Skip to content

EmbedRegistryEmbedByExtensionRecord.[FileExtension.md] method

EmbedRegistryEmbedByExtensionRecord › [FileExtension.md]

Unofficial

Creates an embed component for a markdown file.

Signature:

[FileExtension.md](context: EmbedContext, file: TFile, subpath?: string | undefined): EmbedMarkdownComponent

Parameters:

Parameter Type Description
context EmbedContext
file TFile
subpath? string | undefined *(Optional)*

Returns: EmbedMarkdownComponent