updateLinksInContent
Updates the links in a content string based on the provided parameters.
Import:
import { updateLinksInContent } from 'obsidian-dev-utils/obsidian/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.