obsidian-webpage-export icon indicating copy to clipboard operation
obsidian-webpage-export copied to clipboard

Add a backlinks view to the exported documents

Open emdoe opened this issue 2 years ago • 14 comments
trafficstars

Thanks for the great plugin! I noticed that the backlinks at the bottom of the page are not hyperlinks. May I ask if this is a small bug?

emdoe avatar Feb 13 '23 22:02 emdoe

Can you give me an example of what you mean by "backlinks at the bottom of the page? Maybe send a screenshot?

KosmosisDire avatar Feb 14 '23 03:02 KosmosisDire

SCR-20230214-kjr SCR-20230214-kma SCR-20230214-kna

emdoe avatar Feb 14 '23 13:02 emdoe

I am not sure how to add backlinks to the page like you have here. Is this from a plugin or is it built in?

KosmosisDire avatar Feb 18 '23 05:02 KosmosisDire

Or is this just a link you have added manually? If it is linking to another file then you have to export both files not just one of them.

KosmosisDire avatar Feb 18 '23 05:02 KosmosisDire

Hi, it's a core plugin. You can enable it from settings -> backlinks -> backlink in document. And the problem is that it's not a hyperlink, so it can't go to another page.

emdoe avatar Feb 18 '23 16:02 emdoe

Hey thanks, I tried that but it doesn't seem to be the same thing as what you have:

image

Are you using an older version of obsidian maybe and this has been updated? I can definetly add support for this backlink pane, but again it doesn't seem like it's the same thing.

KosmosisDire avatar Feb 18 '23 18:02 KosmosisDire

Hi, thanks for the help! It's the latest version and I think the look is different because of the theme. I use the shimmering focus. But I have not tested if the problem persists for the original theme (but I guess yes?).

emdoe avatar Feb 18 '23 19:02 emdoe

Ahh, okay yes it would be the theme. The problem does still occur with any theme but it's good to know that I am actually seeing the same problem as you. I'll definetly fix this, and thanks for the report! :)

KosmosisDire avatar Feb 18 '23 19:02 KosmosisDire

An update on this issue as I received another report of it:

Unfortunately, I am not sure this fix will come super soon since those links are controlled by an internal obsidian script so it would take a decent amount of work to get them to link up properly, and there is other stuff that is higher priority.

This will be fixed eventually though.

KosmosisDire avatar Apr 16 '23 20:04 KosmosisDire

Is this being solved? if not, there should not be any backlinks at the bottom of any page, right? But it seems the exporter always puts it (actually just the HTML/CSS Skeleton) at the bottom of the "most recent note" in the vault.

image

this screenshot it taken from the generated site, and this appears only on the "most recent note" as I mentioned. every time we add a new note and regenerate the stuff, this skeleton moves to the most recent note.

wzsRQQjaYN avatar Jun 07 '23 10:06 wzsRQQjaYN

Yes this is just a byproduct of having backlinks on. I do plan to do work on this to make it fully work in the future.

KosmosisDire avatar Jun 07 '23 13:06 KosmosisDire

Note for future: When a note is exported with backlinks turned on they should be removed. Instead I would prefer for the plugin to generate it's own backlinks to be embedded into the document. This should, of course, be optional and independent of obsidian's backlinks feature.

KosmosisDire avatar Aug 08 '23 20:08 KosmosisDire

Hi, @KosmosisDire , any updates? what's the timeline for "future" tagged issues?

wzsRQQjaYN avatar Aug 23 '24 23:08 wzsRQQjaYN

Future issues have no timeline, just that they are something I will add but are not currently worked on.

However, for this specific issue I have actually implemented this in the dev branch already! So it will be coming out in the next release :)

KosmosisDire avatar Aug 23 '24 23:08 KosmosisDire