visini / obsidian-icons-plugin

Add icons to your Obsidian notes – Experimental Obsidian Plugin
188 stars 9 forks source link

Feature Request: Show icons in edit mode #6

Open Ampa opened 3 years ago

Ampa commented 3 years ago

Hello and thanks for making this plugin.

I spend 95% of my time in edit mode, so wonder if it is possible to show icons here as well as in the preview?

visini commented 3 years ago

Hi @Ampa, thanks for opening this issue. In fact, this would be quite difficult to implement, since currently this plugin registers a post processor for MarkdownPreviewRenderer, which is quite straightforward. Edit mode is built on CodeMirror, meaning we would need to plug into the CodeMirror instance directly (and separately). I'm keeping this open for future reference...

Ampa commented 3 years ago

Thanks for keeping it in mind.

Perhaps the forthcoming WYSIWYG mode in Obsidian will make this sort of thing easier?

woshichuanqilz commented 1 year ago

Hi @Ampa, thanks for opening this issue. In fact, this would be quite difficult to implement, since currently this plugin registers a post processor for MarkdownPreviewRenderer, which is quite straightforward. Edit mode is built on CodeMirror, meaning we would need to plug into the CodeMirror instance directly (and separately). I'm keeping this open for future reference...

Hi, can you tell me why this happen. Icon can be used in edit mode, just paste the icon into will work. and it also work in tag panel on the sidebar. But cant shows out in the blue tag(on the top) Why this happen? Can this issue be solved right now ?

image

rogden-pe commented 1 year ago

Even if this feature is hard to implement, not doing so causes plugin abandonment. When initially using the plugin, it seems broken. I'm definitely looking for an alternative myself. There's no use having icons that I can't look at.