Templater file module documentation mentions an object “Tfile” but I can’t find a definition for it anywhere in their documentation. Does anyone know exactly what this is referring to?
TFile
is a class defined in Obsidian API.
It represents a file in the vault (.md, .pdf, .png, .canvas, whatever file except for hidden config files).
(By the way, Templater exposes Obsidian API as tp.obsidian
, which include some functions and classes not directly accessible from the dev console)
4 Likes
Excellent! Thank you
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.