TemplaterApi.create_running_config method
TemplaterApi › create_running_config
Builds the TemplaterRunningConfig that describes one render.Signature:
create_running_config(templateFile: TFile | undefined, targetFile: TFile, runMode: TemplaterRunMode): TemplaterRunningConfigParameters:
| Parameter | Type | Description |
|---|---|---|
| templateFile | TFile | undefined | The template being rendered, or undefined when there is none (as when only the functions object is wanted). |
| targetFile | TFile | The file the render is for. |
| runMode | TemplaterRunMode | Which {@link TemplaterRunMode} the render is. |
Returns: TemplaterRunningConfig — The running config.