UpdateLinkParams
Params for updateLink.
Import:
import type { UpdateLinkParams } from 'obsidian-dev-utils/obsidian/link';Signature:
export interface UpdateLinkParamsProperties
| Property | Type | Description |
|---|---|---|
| app | App | An Obsidian app instance. |
| link | Reference | A reference for the link. |
| linkStyle? | LinkStyle | Whether to force markdown links. |
| newSourcePathOrFile | PathOrFile | A source file containing the link. |
| newTargetPathOrFile | PathOrFile | A file associated with the link. |
| oldSourcePathOrFile? | PathOrFile | An old source file containing the link. |
| oldTargetPathOrFile? | PathOrFile | An old path of the file. |
| shouldUpdateFileNameAlias? | boolean | Whether to update file name alias. |
Links to this page: