Skip to content

GetLinkAtEditorPositionParams

Params for getLinkAtEditorPosition.

Import:

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

Signature:

export interface GetLinkAtEditorPositionParams

Properties

PropertyTypeDescription
editorLinkSourceEditorThe editor to read. Only Editor.getCursor, Editor.getLine and Editor.lineCount are called.
position?EditorPositionThe position to look at. Defaults to the cursor.

Links to this page: