Skip to content

ParseTemplateParams

Parameters for parseTemplate.

Import:

import type { ParseTemplateParams } from 'obsidian-dev-utils/obsidian/templater';

Signature:

export interface ParseTemplateParams

Properties

PropertyTypeDescription
appAppThe Obsidian app instance.
targetPathOrFilePathOrFileThe file the template is rendered FOR. It is what tp.file.* resolves to inside the template, and what TemplaterActiveFileProvider reports for the duration of the call.
templatePathOrFilePathOrFileThe template file to render.

Links to this page: