Skip to content

EmbedContext

Defined in: src/obsidian/internals/EmbedContext.d.ts:8

app: App

Defined in: src/obsidian/internals/EmbedContext.d.ts:12

Reference to the app.


containerEl: HTMLElement

Defined in: src/obsidian/internals/EmbedContext.d.ts:17

Element where the embed should be displayed.


optional depth: number

Defined in: src/obsidian/internals/EmbedContext.d.ts:22

Depth of the embed within its container (how many levels of embeds are above it).


optional displayMode: boolean

Defined in: src/obsidian/internals/EmbedContext.d.ts:27

Whether the embed should be dynamic (CM) or static (postProcessed).


optional linktext: string

Defined in: src/obsidian/internals/EmbedContext.d.ts:32

Text that should be displayed in the embed.


optional showInline: boolean

Defined in: src/obsidian/internals/EmbedContext.d.ts:37

Whether the embed should be an inline embed.


optional sourcePath: string

Defined in: src/obsidian/internals/EmbedContext.d.ts:42

Optional path to the current open file.


optional state: unknown

Defined in: src/obsidian/internals/EmbedContext.d.ts:45

Documentation incomplete.