Skip to content

ResolveFolderNoteConfigParams.resolveName method

ResolveFolderNoteConfigParams › resolveName

Names the folder note of a folder, WITHOUT its extension. Ignored under FolderNoteLocation.Auto, which names the note the way the installed plugin does.

A callback rather than a name template, because a template needs a token vocabulary and this library has none to impose — a caller that has one ({{folderName}}, {{folderPath}}, …) renders it here.

Signature:

resolveName(this: void, folder: TFolder): string

Parameters:

ParameterTypeDescription
thisvoid
folderTFolderThe folder whose note is being named.

Returns: stringThe note's name.