Skip to content

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:

ParameterTypeDescription
paramsUpdateLinksInFileParamsThe parameters for updating the links.

Returns: Promise<void> — A Promise that resolves when the links are updated.


Links to this page: