Skip to content

copyLineState

Copies a tokenizer state, so it can be kept as a resume point.

Import:

import { copyLineState } from '@mnaoumov/obsidian-markdown-parser';

Signature:

function copyLineState(state: ObsidianState): ObsidianState

Parameters:

Parameter Type Description
state ObsidianState The state.

Returns: ObsidianState — The copy.


Links to this page: