Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
I've been trying to use obsidian.md for a while. Today I found a feature in Templater that I wish I knew about sooner.
I have a few templates I use and they are so long and clunky and I repeat parts between them because I couldn't figure out nesting templates between files. Until today.
in templater's files module (https://silentvoid13.github.io/Temp...) it includes an include function "tp.file.include(include_link: string ⎮ TFile"
and that singular function took my one 65 line template file which shares parts with other templates I'd have to remember to edit if I edited any part of it, down to 14 lines separating the shared parts into their own files.
It's a lot more DRY of a template now and will definitely make my experience using Obsidian a lot more manageable, wish I learned about this sooner
random