NoteComposerPluginInstance.applyTemplate method
NoteComposerPluginInstance › applyTemplate
Unofficial
Apply a template to content, substituting title placeholders.Signature:
applyTemplate(content: string, fromTitle: string, newTitle: string): Promise<string>Parameters:
| Parameter | Type | Description |
|---|---|---|
| content | string | The template content. |
| fromTitle | string | The original note title. |
| newTitle | string | The new note title. |
Returns: Promise<string> — The processed content with substitutions applied.