Skip to content

TemplaterRunningConfig.active_file?

TemplaterRunningConfig › active_file?

Type: null | TFile | undefined

The file Templater considers active. Templater fills this in itself from workspace.activeEditor?.file ?? workspace.getActiveFile(); it is optional here because a hand-built config may omit it.