TemplaterRunningConfig.active_file?
TemplaterRunningConfig › active_file?
Type: null | TFile | undefined
The file Templater considers active. Templater fills this in itself fromworkspace.activeEditor?.file ?? workspace.getActiveFile(); it is optional here because a hand-built config may omit it.