Skip to content

editLinksInContent

Edits the links in a content string.

Import:

import { editLinksInContent } from 'obsidian-dev-utils/obsidian/link';

Signature:

function editLinksInContent(params: EditLinksInContentParams): Promise<string>

Parameters:

ParameterTypeDescription
paramsEditLinksInContentParamsThe parameters for editing the links in the content.

Returns: Promise<string> — The promise that resolves to the updated content.


Links to this page: