mayurankv/Obsidian-Code-Styler

Feature Request: Language Icon for "Query"

Closed this issue · 5 comments

Summary

It would be nice to have a language icon for the "Query" code objects.
I mean for this: https://help.obsidian.md/Plugins/Search#Embed+search+results+in+a+note

No icon is shown:

image

The code I am using is:

```query
tag:#tesorería
```

Basic example

Have an icon like, this case of javascript.

image

Motivation

Consistency with other code blocks.
To highlight a block type.
Nicer :)

Existing Requests?

Haven't found any related requests.

This FR could be a dilemma because the query loupe icon ...
image
... is already being shown.
Open to discussion and suggestions.

This makes sense! I'll add this to the todo file. I think removing the other icon should be fine.

Thinking out loud... If you make an "icon" for Query, maybe you should also make one for DataView?

Thing is I was actually going to come back to you and ask what icon I should use for query? I'm not actually sure haha. Similar for data view. If you can suggest sources, happy to use them.

I have been thinking about this FR, doing some icon research, and conclude it is better to leave "Query" and "Dataview" with no icon for now.
Because what to use, binoculars and a loupe? Why?
The original developers have not defined an icon, should I?

I am OK if you want to close this issue.
Thank you!

More sources of icons.

Well I can do any svg icon but with dataview, I think it would be presumptuous for me to unilaterally add some icon, it should be up to the dev. Similarly, I think the way the query blocks render now is generally fine. I think I agree, I'll close this issue now but if there's a change like a new icon or something, please feel free to come back to this and I'll reopen it.