EmbedContext
Defined in: src/obsidian/internals/EmbedContext.d.ts:8
Properties
Section titled “Properties”app:
App
Defined in: src/obsidian/internals/EmbedContext.d.ts:12
Reference to the app.
containerEl
Section titled “containerEl”containerEl:
HTMLElement
Defined in: src/obsidian/internals/EmbedContext.d.ts:17
Element where the embed should be displayed.
depth?
Section titled “depth?”
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).
displayMode?
Section titled “displayMode?”
optional
displayMode:boolean
Defined in: src/obsidian/internals/EmbedContext.d.ts:27
Whether the embed should be dynamic (CM) or static (postProcessed).
linktext?
Section titled “linktext?”
optional
linktext:string
Defined in: src/obsidian/internals/EmbedContext.d.ts:32
Text that should be displayed in the embed.
showInline?
Section titled “showInline?”
optional
showInline:boolean
Defined in: src/obsidian/internals/EmbedContext.d.ts:37
Whether the embed should be an inline embed.
sourcePath?
Section titled “sourcePath?”
optional
sourcePath:string
Defined in: src/obsidian/internals/EmbedContext.d.ts:42
Optional path to the current open file.
state?
Section titled “state?”
optional
state:unknown
Defined in: src/obsidian/internals/EmbedContext.d.ts:45
Documentation incomplete.