updateLinksInFile
Updates the links in a file based on the provided parameters.
Import:
import { updateLinksInFile } from 'obsidian-dev-utils/obsidian/link';Signature:
function updateLinksInFile(params: UpdateLinksInFileParams): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
params | UpdateLinksInFileParams | The parameters for updating the links. |
Returns: Promise<void> — A Promise that resolves when the links are updated.
Links to this page: