Skip to content

toParseLinkReference

Wraps a ParseLinkResult into a ParseLinkReference so it can flow through the reference-based file-change pipeline.

Import:

import { toParseLinkReference } from 'obsidian-dev-utils/obsidian/parse-link';

Signature:

function toParseLinkReference(params: ToParseLinkReferenceParams): ParseLinkReference

Parameters:

ParameterTypeDescription
paramsToParseLinkReferenceParamsThe parameters for wrapping the parsed link.

Returns: ParseLinkReference — The ParseLinkReference.


Links to this page: