Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] - Add Option to "Update Frontmatter with Icon" #590

Open
kylek29 opened this issue Oct 17, 2024 · 0 comments
Open

[Feature Request] - Add Option to "Update Frontmatter with Icon" #590

kylek29 opened this issue Oct 17, 2024 · 0 comments

Comments

@kylek29
Copy link

kylek29 commented Oct 17, 2024

Is your feature request related to a problem? Please describe.
It's not related to a problem, but a suggestion to improve certain workflows. Currently, Iconize sets the icon into it's data.json, but can be configured to get from a note's icon frontmatter (or whatever the user has configured that identifier as).

It'd be a nice addition to have the inverse of this and have the Iconize plugin set the selected icon into the frontmatter as well. This helps with copying/pasting files or if a user happens to search upon the property field or lose their data.json iconize settings.

Additional context

Example Workflow:

  1. User creates a new note and gives it a title.
  2. User right-click's the note and uses the "Set Icon" command, then selects an icon (for this example, we'll use TiBulb).
  3. Iconize sets the icon in it's data.json (current behavior) as well as:
  • If Iconize Settings has: Set Icon in Frontmatter == true
    • Sets frontmatter property on note for icon:TiBulb (assuming user has the "Frontmatter icon fieldname" setting set to "icon").
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant