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
264 stars 11 forks source link

Custom icon for folder notes #101

Open p2kmgcl opened 3 months ago

p2kmgcl commented 3 months ago

Since we are already using a real file as a folder note, it would be nice to read some properties from the file to customize how the folder note looks (thinking about Notion's UI).

My proposal is to read this information from the folder note:

---
icon: 🗻
---

and use it as icon on the file tree.

Do you think this is a good idea? Would you accept a PR with this feature?

TheFlatline commented 2 months ago

This is actually the only feature I am missing from the old aidenx folder notes :) (for reference the "icon:" frontmatter field is used with obsidian-iconize)