Skip to content

MisplacedAttachmentIndex.add method

MisplacedAttachmentIndex › add

Records a reference to an attachment outside the referencing note's folder.

Signature:

add(notePath: string, entry: MisplacedAttachmentEntry): void

Parameters:

ParameterTypeDescription
notePathstringThe referencing note's vault-relative path.
entryMisplacedAttachmentEntryThe reference and the folder the note wants the attachment in.

Returns: void