Skip to content

LinkSourceLines

Lines of a note’s source text, the part of an Editor getLinkAtPosition reads.

Import:

import type { LinkSourceLines } from '@mnaoumov/obsidian-lib/link-at-position';

Signature:

export type LinkSourceLines

Signature:

type LinkSourceLines = Pick<Editor, 'getLine' | 'lineCount'>

Type: Pick<Editor, ‘getLine’ | ‘lineCount’>


Links to this page: