InlineTokenRenderParams
Parameters handed to an inline token render function.
Import:
import type { InlineTokenRenderParams } from '@mnaoumov/obsidian-lib/codemirror/inline-token-widgets';Signature:
export interface InlineTokenRenderParamsProperties
| Property | Type | Description |
|---|---|---|
| containerEl | HTMLElement | The element to render the token into. |
| match | RegExpExecArray | The match of the token's regular expression. |
| sourcePath | string | The path of the note the token is in, or an empty string when it is not known. |
| state? | EditorState | The editor state, when the token renders in an editor. Absent in Reading view. |
Links to this page: