RecordCodeBlockRenderHandoffParams
Options for recordCodeBlockRenderHandoff.
Import:
import type { RecordCodeBlockRenderHandoffParams } from '@mnaoumov/obsidian-lib/code-block-render-handoff';Signature:
export interface RecordCodeBlockRenderHandoffParamsProperties
| Property | Type | Description |
|---|---|---|
| focus | CodeBlockFocusSnapshot | null | The focus captured from the old render with captureCodeBlockFocus. |
| newCodeBlock | string | The code block written to the note, fences included. |
| sourcePath | string | The path of the note the code block is in. |
| state | unknown | The state to pass to the next render. |
Links to this page: