Skip to content

ParseContext

Unofficial

A parse context that can be used to track parsing progress.

Import:

import type { ParseContext } from '@obsidian-typings/obsidian-public-latest';

Signature:

export class ParseContext

Properties

PropertyTypeDescription
stateEditorStateThe editor state being parsed.
viewportParseContextRangeThe viewport range currently visible.

Methods

MethodReturnsDescription
get()null | ParseContextGet the current parse context, if any.
skipUntilInView(from, to)voidTell the parse context to skip parsing until the given range is in view.

Links to this page: