makemd icon indicating copy to clipboard operation
makemd copied to clipboard

[FR] Add data-icon Attribute to Internal Links

Open Bluemoondragon07 opened this issue 2 years ago • 6 comments

I think it would be really cool if the icons showed up in internal links. One way this could work is through an attribute, like data-icon or data-sticker.

A note with the sticker: vault//cat.svg in the frontmatter can have vault//cat.svg as the attribute value. The plugin can then use the attribute value to render the icon before the link. Kind of like in Notion.

Bluemoondragon07 avatar Jul 11 '23 17:07 Bluemoondragon07

I'd like to bump this. It would make stickers much more useful in my opinion (e.g. helping to quickly visually recognize a note for example).

xaviripo avatar Apr 29 '24 15:04 xaviripo

There are a few improvements that are being investigated for internal links and if they're possible without causing issues with Obsidian, this will be one of them that will be implemented

jp-cen avatar Apr 30 '24 00:04 jp-cen

Either compatibility with Supercharged Links would be handy or if we can bring some features across.

Specifically seeing the icon and specifying a text/background colour on the links and it being contiguous in the sidebar etc. would be awesome

ChipWolf avatar Jan 21 '25 15:01 ChipWolf

This is already available with the basics settings.


De : Chip Wolf ‮‬ @.> Envoyé : Tuesday, January 21, 2025 10:45:08 AM À : Make-md/makemd @.> Cc : JPC @.>; Comment @.> Objet : Re: [Make-md/makemd] [FR] Add data-icon Attribute to Internal Links (Issue #157)

Either compatibility with Supercharged Linkshttps://github.com/mdelobelle/obsidian_supercharged_links would be handy or if we can bring some features across.

Specifically seeing the icon and specifying a text/background colour on the links and it being contiguous in the sidebar etc. would be awesome

— Reply to this email directly, view it on GitHubhttps://github.com/Make-md/makemd/issues/157#issuecomment-2605087595, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAFHKNVVSWLOSPZVH7KAML32LZTQJAVCNFSM6AAAAABVS2VS4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMBVGA4DONJZGU. You are receiving this because you commented.Message ID: @.***>

jp-cen avatar Jan 21 '25 15:01 jp-cen

This is already available with the basics settings.

This functionality is partially available through basic settings.

With "Supercharged Links", I use a prefix to add emojis and a text background to highlight specific notes based on tags or property values, while Make.md allows setting an icon ("sticker") statically. Also, there's a lack of cohesion in how these icons and styling are applied across Obsidian.

Icons set via Make.md don’t appear inline within notes, the sidebar, or other areas where Supercharged visually integrates them globally wherever the filename appears.

My request is for Make.md to either replicate or integrate with Supercharged so icons, text color, background color, and other styling can display cohesively across all areas - inline in notes, the quick switcher, tabs, the navigator, and elsewhere.

Currently, my workaround is to disable stickers in Make.md, but the spaces don't respect the styling from Supercharged and the stickers are still shown there. If I keep it enabled, then I have two sources of truth for icons and styling, with duplicated icons in the navigator.

ChipWolf avatar Jan 21 '25 19:01 ChipWolf

Inline and tab bar should be supported with default settings unless there’s a plugin conflict preventing it from rendering. Quick switcher could be a future feature in the basics plugin. Text color and text background are currently not styli able by make.md but will consider.


De : Chip Wolf ‮‬ @.> Envoyé : Tuesday, January 21, 2025 2:18:41 PM À : Make-md/makemd @.> Cc : JPC @.>; Comment @.> Objet : Re: [Make-md/makemd] [FR] Add data-icon Attribute to Internal Links (Issue #157)

This is already available with the basics settings. …

You can define a prefix with supercharged, and also set an icon with make.md. But, for icons to display in make.md spaces etc. you have to set icons through make.md. If you set icons through make.md you don't see them inline or anywhere else in Obsidian unlike setting them through supercharged.

My request there is to replicate the functionality of supercharged by using the icon/icon color/text color/text background color cohesively across the quick switcher, inline within notes, on the tab bar, within the navigator, and anywhere else it may display.

I don't see a feature in make.md to set the background color for the text or for that styling & the icon to display globally everywhere you'd see the filename.

— Reply to this email directly, view it on GitHubhttps://github.com/Make-md/makemd/issues/157#issuecomment-2605549094, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAFHKNVRVDVLEIFA242HT3D2L2MRDAVCNFSM6AAAAABVS2VS4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMBVGU2DSMBZGQ. You are receiving this because you commented.Message ID: @.***>

jp-cen avatar Jan 23 '25 18:01 jp-cen