decaf-dev/obsidian-dataloom

Backlink support

Navirl opened this issue · 3 comments

Problem

I find a file in a search and then try to find a file that links to that file (i.e. looking for backlinks like dataview or obsidian core plugin). However, dataloom does not seem to have the ability to display backlinks. Do you have any plans to implement this? I tried to implement it myself once, but could not figure out the extent of the code changes that would occur when adding this to CellType.

Solution

Add backlink support to dataloom

Additional details

get backlinks from API.
https://forum.obsidian.md/t/how-to-get-backlinks-for-a-file/45314

For DataLoom, the renderMarkdown function is used from the Obsidian API but I don't believe that it creates any backlinks. If it does, I don't believe it is possible to inject them into the search results. There a lot of limitations with the Obsidian API that discourage me from developing DataLoom further.

EDIT: I just reread the original post. You are wanting to display backlinks in the table for referenced files?

Yes. Specifically, I would like to do this. (Created by Notion)

スクリーンショット 2024-01-09 012454

This is shown as a multi-select, but a link is better.