Skip to content

EmbedContext

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

Properties

app

app: App

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

Reference to the app


containerEl

containerEl: HTMLElement

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

Element where the embed should be displayed


depth?

optional depth: number

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

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


displayMode?

optional displayMode: boolean

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

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


linktext?

optional linktext: string

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

Text that should be displayed in the embed


showInline?

optional showInline: boolean

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

Whether the embed should be an inline embed


sourcePath?

optional sourcePath: string

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

Optional path to the current open file