xpgo / obsidian-folder-note-plugin

Plugin to add description note to a folder for Obsidian.
396 stars 29 forks source link

[Feature Request] Folder Items link to Folder Note #71

Open thomasdwood opened 1 year ago

thomasdwood commented 1 year ago

Would love it if a folder idem in a ccard view would link to the folder note for that folder when clicked.

ReeceMIRV commented 1 year ago

+1

reticenceji commented 1 year ago

You can edit the .obsidian/folder-note-plugin/main.js, after line 440, insert that

                        subFolderName = subFolderPath.split('/').pop();
                        card.setTitleLink(subFolderPath + "/" + subFolderName + ".md");

then you can have this feature. I just make a simple test, maybe some corner cases have bug.

The folder notes name I use is the folder name. You may edit it.

I want to make a PR some days later.