How To Create A Backlink HTML Element?

I’m creating a plugin that displays the mentions of the current file and then lets you go to that mention. I’ve currently got this working by converting file paths into Obsidian URLs but this has a slight stutter and shows a message when you click it.

So, I was wondering if / how I can create an internal link using createEl.

1 Like

How does your plugin differ from the Backlinks core plugin?

My plugin is a lot more minimal and is pinned to the bottom center of the screen cause I find that every time I want to use the backlink plugin, it’s never where I want it to be.