Skip to content

RecordCodeBlockRenderHandoffParams

Options for recordCodeBlockRenderHandoff.

Import:

import type { RecordCodeBlockRenderHandoffParams } from '@mnaoumov/obsidian-lib/code-block-render-handoff';

Signature:

export interface RecordCodeBlockRenderHandoffParams

Properties

PropertyTypeDescription
focusCodeBlockFocusSnapshot | nullThe focus captured from the old render with captureCodeBlockFocus.
newCodeBlockstringThe code block written to the note, fences included.
sourcePathstringThe path of the note the code block is in.
stateunknownThe state to pass to the next render.

Links to this page: