Skip to content

Input

Unofficial

Represents a document input for the parser.

Import:

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

Signature:

export interface Input

Properties

PropertyTypeDescription
lengthnumberThe total length of the input.
lineChunksbooleanWhether the input is divided into line-sized chunks.

Methods

MethodReturnsDescription
chunk(from)stringGet a chunk of input starting at the given position.
read(from, to)stringRead a range of input.