TemplaterApi.parse_template
TemplaterApi › parse_template
Type: (config: TemplaterRunningConfig, template_content: string) => Promise<string>
Renders the given template TEXT against a running config and returns the result.Templater reads the config's target_file eagerly while it builds the functions object, so a config without a real target file throws from inside Templater.