Skip to content

ConvertLinkParams

Params for convertLink.

Import:

import type { ConvertLinkParams } from 'obsidian-dev-utils/obsidian/link';

Signature:

export interface ConvertLinkParams

Properties

PropertyTypeDescription
appAppAn Obsidian app instance.
linkReferenceA reference for the link.
linkStyle?LinkStyleA style of the link.
newSourcePathOrFilePathOrFileA source file containing the link.
oldSourcePathOrFile?PathOrFileAn old path of the link.
shouldUpdateFileNameAlias?booleanWhether to update file name alias.

Links to this page: