Skip to content

updateReferencesInContent

Updates the links in a content string based on the provided parameters.

Import:

import { updateReferencesInContent } from '@mnaoumov/obsidian-lib/link';

Signature:

function updateReferencesInContent(params: UpdateReferencesInContentParams): Promise<string>

Parameters:

Parameter Type Description
params UpdateReferencesInContentParams The parameters for updating the links.

Returns: Promise<string> — A Promise that resolves to the content with updated links.