Add counters/markers for headings and blocks that are referenced somewhere else

It would be helpful to have some visual indication when a heading or block is referenced somewhere else in the vault (and possibly how many times).

This is particularly important as a signal for the user to manually trigger the “rename header” functionality (and the upcoming rename block).

A marker in the gutter could serve this purpose.

The third party plugins “Strange New Worlds” and “Block-reference-count” implement similar functionality.

18 Likes

It would be cool if the headers show backlinks near the header itself.

10 Likes

Tell me more! How do you imagine that feature to look?

Either backlinks has more structured view in the sidebar (like a ToC or outline view) and auto-expands as I move my cursor (that one is solution for the edit mode only, but could be really cool) the corresponding backlinks section, or (and that was closer to my original idea) there would be a small indicator near the header, that we have incoming links for that sectoin, which is clickable, and opens a popup or opens the Backlinks sidebar.

Ooo, now I get it! And sounds interesting:) Aside from just being a quick way to open the backlinks panel, how would that number there improve your workflow?

No need for the exact count, just a “there are some backlinks” indicator is enough (for me). That indicates one can learn about the current concept in context.

2 Likes

And, another benefit: signal that this note may be an orphan

I tend to see .md notes and headers see similarly: both are concepts, but headers have parents.

For that reason: it woul be nice to have Unlinked mentions for headers. (should this one be but to separate post?)

A header without backlinks does not necessarily mean the whole note is an orphan.

An icon indicating that a header has backlinks would be nice! Much like embedded transclusions show an indicator icon.

It could be nice if hovering over the backlink icon showed a floating list of its backlinks. But more importantly, It would be good if clicking the reference icon did not navigate to another page like embedded transclusion do, but rather open a list in the backlinks pane, giving us a choice to review each related backlink in more detail and the option to click through to them from there.

2 Likes

I’m a fairly new convert to Obsidian from Roam, and there’s one thing that keeps me from fully embracing Obsidian - inline references to linked blocks. I’ve spent quite a bit of time building my own cross-reference library based on imported Bible text from sermon notes I’ve taken over the years, and in Roam I’m able to navigate to a chapter page and see all the other notes that link to that specific block:

This is essential for my study workflow as it allows me to start on a sermon notes page with an embedded block reference for the verse, then go that block (as seen in the above screenshot, and see all the other notes pages where that verse was mentioned. I then like to open those notes in the sidebar and look at all of those notes together when studying.

Use case or problem

I’ve found the Bible Study in Obsidian Kit extremely useful, but unfortunately Obsidian doesn’t have a way like Roam does to see note references for a particular block (note how there’s nothing after the verses in Obsidian’s Preview mode):

Proposed solution

It would be great if 1) Obsidian displayed the reference to the block, 2) those references could be viewed inline. For example, here’s what you see when you “Click for References” in Roam:

Currently there is no way me to study my notes like this in Obsidian, but I would like to be able to see the References and then open the ones I want to view in separate panes.

30 Likes

I’m a fairly new convert to Obsidian from Roam, and there’s one thing that keeps me from fully embracing Obsidian - inline references to linked blocks. I’ve spent quite a bit of time building my own cross-reference library based on imported Bible text from sermon notes I’ve taken over the years, and in Roam I’m able to navigate to a chapter page and see all the other notes that link to that specific block:

This is essential for my study workflow as it allows me to start on a sermon notes page with an embedded block reference for the verse, then go that block (as seen in the above screenshot, and see all the other notes pages where that verse was mentioned. I then like to open those notes in the sidebar and look at all of those notes together when studying.

Use case or problem

I’ve found the Bible Study in Obsidian Kit extremely useful, but unfortunately Obsidian doesn’t have a way like Roam does to see note references for a particular block (note how there’s nothing after the verses in Obsidian’s Preview mode):

Proposed solution

It would be great if 1) Obsidian displayed the reference to the block, 2) those references could be viewed inline. For example, here’s what you see when you “Click for References” in Roam:

Currently there is no way me to study my notes like this in Obsidian, but I would like to be able to see the References and then open the ones I want to view in separate panes.

16 Likes

This would a be a great new feature indeed! Thank you for sharing your workflow. +1 from here

Welcome, Mike! (Oddly I just finished listening to yours and Joe’s review of How to Take Smart Notes yesterday, and I made an action item to tweet Joe about Obsidian’s vim support—would you tell him for me? :wink:)

A workaround for this might be to create each block as it’s own note, then create page notes that transclude each chapter’s verses. You could then go to each verse’s note to see references, etc.

This would be tedious to do manually, of course, but wouldn’t be that hard to create a plugin or automation for it. If this were easy, would it work for your workflow?

I’ll also note that this has been previously requested…
edit: maybe not? I have to look harder for the previous thread…
edit 2: indeed, no previous request. I was wrong! Though I’m sure this has been discussed before…

3 Likes

This would be a great feature for sure.

Even though it doesn’t look related, this is tied to:
https://forum.obsidian.md/t/modifying-block-id-in-original-page-should-modify-as-well-in-page-related/7294/1
https://forum.obsidian.md/t/auto-update-links-to-headers-on-header-title-change/289/1

2 Likes

I’m was just on the fence of going the other direction: Consolidating book annotations that are currently in individual notes to one note per book like @mikeschmitz example above.

My motive for that was to make the graph more usable. As it is today, since atomic notes from one book are tightly linked to each other, the graph is becoming increasingly hard to “read”.

But I’ve also foreseen the problem Mike illustrates with backlinks on block level missing.

What @ryanjamurphy suggest is an interesting thought. Having a plug-in that could “explode” markdown exports from Readwise into separate notes, with the quote from the source as a markdown blockquote and the annotations as standard text below and then rebuild a consolidated book note with transclusions with all individual notes would be really useful, I think!

Something along those lines for the individual notes:

—-
tags:
source: [[book note with all other notes transcluded]]
—-
> quote (page number)
Annotation
1 Like

Hey Mike, glad to hear the kit provided value for you! Is having each verse as a h6-header (as in the kit) a (temporary) solution for you?

That way you can still link to a specific notes and it displays backlinks, although not for each individual verse.

@Joschua the problem is I have years of notes like this that I transferred to Roam. If you look at the reference numbers just from that Romans 12 screenshot, I would see 100+ backlinks and most of them would be irrelevant when I want to study a verse or two. So unfortunately, I don’t think headers help me (unless I’m misunderstanding, which is quite possible as I’m still kicking the tires on Obsidian).

@ryanjamurphy individual verses is probably the temporary workaround, but I spent an entire day trying to get just the chapters into Obsidian because I don’t have any experience with scripting. A plugin would be even better :slight_smile:

If someone’s willing to help me with this, I’d love to test it out. Though I still personally believe block references are only half implemented until you can follow the linked references.

2 Likes

I would actually prefer a “tooltip” type solution like e-sword’s implemented. In editor, it’d be in “tooltip” format, but when previewed, it’d type out or at least put the reference in the notes. Maybe a setting for it.
As I’ve said in other threads, I’d prefer not to try to re-invent the wheel by pulling all of the Bible into Obsidian, but being able to pull references from biblegateway, BLB, or another source of choice, even maybe a local bbx file from e-sword (that’d be the dream for me, but I know that’d be complicated).