Skip to content

updateLinksInContent

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

Import:

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

Signature:

function updateLinksInContent(params: UpdateLinksInContentParams): Promise<string>

Parameters:

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

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