LostPaul / obsidian-folder-notes

Create notes within folders that can be accessed without collapsing the folder, similar to the functionality offered in Notion.
https://lostpaul.github.io/obsidian-folder-notes/
GNU Affero General Public License v3.0
357 stars 20 forks source link

FR: more complicated names for folder notes #134

Open miscoined opened 4 months ago

miscoined commented 4 months ago

It'd be nice if the folder note name setting allowed for more complicated names.

My use case is that I use the Johnny.Decimal folder organisation method, which means that my folder names are prefixed with numbers. So I might have a folder named eg 11.13 Twice Cooked Pork which contains my notes about that recipe.

Ideally, I'd like to be able to use a Folder Note here for the 'main' page for whatever goes in that folder, but have the actual note name without the decimals, so that I can still write eg I made [[Twice Cooked Pork]] today and have it link to the folder note. Right now, it would have to be I made [[11.13 Twice Cooked Pork|Twice Cooked Pork]] today instead which I find extremely cumbersome to do everywhere in my vault.

One option would be to add a setting which allows users to provide a regex and a replacement string which is applied to the folder name, rather than just a static string.