Skip to content

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 | TFile

Returns: null | TFileThe active file, or null if there is none.