obsidian_supercharged_links
obsidian_supercharged_links copied to clipboard
FR: Add possibility to customize fileClass field name
It's a common case when a category
field is used to categorize the notes. And each category has its own set of fields.
For instance, a category person
might have a field dateOfBirth
or gender
. A category city
might have country
.
This perfectly matches with fileClass
feature.
Currently I have to duplicate the fields:
category: city
fileClass: city
country: Ukraine πΊπ¦
It would be fine if there was a setting to overwrite the fileClass
field name. In the case above, I would just overwrite it with category
and have the notes like:
category: city
country: Ukraine πΊπ¦
Thinking forward, it would be nice if we can select fileClass
(overwritten by category
in the example above) for new notes.
I see the following flow:
- User runs the command
Supercharged Links: Select fileClass
- The list of files in class files folder is loaded and shown
- User selects or types the fileClass name
- The field
fileClass
(or how it's overwritten) is added to the frontmatter, as well as the keys from the class file.