TemplaterActiveFileProvider.getActiveFile method
TemplaterActiveFileProvider › getActiveFile
Gets the file the innermost in-flight parseTemplate render is for, or the workspace's active file when there is no render in flight.Signature:
getActiveFile(): null | TFileReturns: null | TFile — The active file, or null if there is none.