Titelei Automat
This Plugin is an Alpha Version! Best to test on a copy of your vault!
Applying a set of rules every time a document is opened, closed, moved or renamed
A core feature is to create a tag to represent the current location (path) of the file. And update it when a file changes location.
A set of rule can be defined to create and update front matter properties. There are a number of pre-build functions available
- Full path and filename
- Full path
- Folder
- Root Folder
- Filename
- Filename with Extension
- add an Alias form full path
- Date (and Time) created
- Date (and Time) modified
- File Size in Bytes
- File Size as Text
The following events will trigger autogenerate of the path tag and the execution of the rules
create
then a file is createdrename
a file is renamed or movedactive leaf change
when you create or open another file. Folder tags will not be updated!
You can add your own JavaScript function to be executed each time the event is triggered
WARNING by using scripts you have access to the complete app object = obsidian
- 0.0.7 Fix double / multiple and empty folder tags, Date and Time functions to use local time instead GMT
- 0.0.2 Fix double / multiple and empty folder tags