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

Property Type Description
state EditorState The editor state being parsed.
viewport ParseContextRange The viewport range currently visible.

Methods

Method Returns Description
get() null | ParseContext Get the current parse context, if any.
skipUntilInView(from, to) void Tell the parse context to skip parsing until the given range is in view.

Links to this page: