That’s great @gino_m - I didn’t know about getMarkdownFiles()
. I’ve updated the script use that instead, and your addition of the aliases is very smooth
Rather than using tp.file.find_tfile
, you could just keep the TFile as the selection from Templater, and use .path
instead of .basename
.