Skip to content

UpdateFileUrlLinksInContentParams

Params for updateFileUrlLinksInContent.

Import:

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

Signature:

export interface UpdateFileUrlLinksInContentParams

Properties

PropertyTypeDescription
abortSignal?AbortSignalThe abort signal to control the execution of the function.
appAppAn Obsidian app instance.
contentstringThe content to normalize the file:// links in.
shouldUseAngleBrackets?booleanWhether to emit the normalized links with angle brackets and raw spaces instead of %20-encoding.

Links to this page: