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

[FR] Handle icon: ":IconName:" frontmatter correctly #535

Open
Sirs0ri opened this issue Jul 26, 2024 · 0 comments · May be fixed by #536
Open

[FR] Handle icon: ":IconName:" frontmatter correctly #535

Sirs0ri opened this issue Jul 26, 2024 · 0 comments · May be fixed by #536
Labels
enhancement New feature or request

Comments

@Sirs0ri
Copy link

Sirs0ri commented Jul 26, 2024

Is your feature request related to a problem? Please describe.
I'd love to be able to use the autosuggestion and preview when setting a file icon, but at the moment Iconize throws an "Icon not found" warning when I try to use an Icon wrapped in colons as file icon.

Describe the solution you'd like
I'd like to be able to use icon: ":IconName:" in addition to icon: IconName in a note's frontmatter

Describe alternatives you've considered
It would also be possible to show the autoselect dropdown when Iconize detects the user typing in the frontmatter, in an icon: key, but I feel like it would be simpler to allow the colon syntax and strip the colons where necessary.

Additional context
n.a.

Sirs0ri added a commit to Sirs0ri/obsidian-iconize that referenced this issue Jul 26, 2024
@Sirs0ri Sirs0ri linked a pull request Jul 26, 2024 that will close this issue
@FlorianWoelki FlorianWoelki added the enhancement New feature or request label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

2 participants