Looking for CSS snippet equivalent of EasyLink plugin

Good afternoon. I recently discovered EasyLink plugin on the community website that directly creates links to relevant content in a vault. A user selects some text, executes a command to open a search modal that shows potentially relevant results. Selecting the desired result creates a link to that result from the original selected text. Is this functionality not natively present in Obsidian as in linking headers or blocks of text? If not, is there a CSS snippet that accomplishes what the plugin does? Just to avoid installing another plugin?

Thanks!

I think CSS snippet can not do this, CSS can not define the functionality, it only decide that how a existing element will be shown.

@ninja_turtle I figured as much but thought I would ask anyway. Thank you.

I think you have a generally wrong idea about what CSS does. CSS can not add any functional. It can only change how things look, like the color, size, shapes, or maybe at best add some basic visual effects. It can not actually do anything. If you want add some commands or generally make things to do something, CSS will not help you, you need JavaScript for it.
There are ways to use JavaScript without installing too many plugins - there are some plugins that can run your own scripts. Maybe you should ask about scripts instead of snippets. But if there is already a plugin for this, I imagine most people wouldn’t bother to reinvent the wheel.

1 Like

I understand now. Thank you for your help.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.