Skip to content

MarkdownView.setEphemeralState method

MarkdownView › setEphemeralState

Official

Set the ephemeral state of the markdown view.

Resolves subpath to a line in the file, then passes the state on to the current mode.

Signature:

setEphemeralState(state: Partial<MarkdownViewEphemeralState>): void

Parameters:

ParameterTypeDescription
statePartial<MarkdownViewEphemeralState>The ephemeral state to apply.

Returns: void