Skip to content

TemplaterApi.overwrite_file_commands

TemplaterApi › overwrite_file_commands

Type: (file: TFile, active_file?: boolean) => Promise<void>

Templater's own "render this note in place" entry point: it reads the file, renders it as a template and writes the result back, bracketed by its own task pair.