Generate Link @ Cursor Position

An analogy to help @zef and those intrigued by this intellectual exercise understand:

At present, the Linked Mentions and Linked Tasks widgets of a given [[Page A]] are essentially Cursor-level precise backlinks — each pointing from the [[Page A]] to a specific cursor position within other[[Page ?]]s.

Now, imagine that these 2 backlink widgets are no longer fixed at the top or bottom of a [[Page A]], but can instead float freely.
In that case, they no longer belong to a particular Page Object [[Page A]], but rather to a designated Anchor Object [[Page A@pos]].

This instantly yields automatic backlinks for “floating” [[Page A@pos]] (rather than “fixed” [[Page A]]), since it reuses the precise backlinks mechanism already implemented in Library/Std/Widgets/Widgets.

Furthermore, the former forward/outward links (from [[Page ?]]s) to [[Page A]] would now all become links to [[Page A@pos]]. Note that this simply requires extending the index to also record and update the pos and corresponding [[Page A@pos]] name — which is quite feasible, given that Library/Std/Widgets/Widgets already employs a similar mechanism in Auto-Backlinks.

Beyond this, nothing more is required — it is essentially a fine-grained Cursor-level extension of the existing Page-level system. And although it may appear somewhat recursive, there is no actual loop involved.

Believe me, this will be the next killer feature of SB v2, second only to Linked Tasks: fully automated, cursor-level precise for/out-ward and back/in-ward linking — something almost no other note-taking software/website/app has achieved.

I have already implemented this exact functionality in the supplementary materials of my short paper as well as in my PhD dissertation. Since it can be realized in the LaTeX ecosystem, it is certainly achievable in SilverBullet.

1/2 of the journey remains:

manual Forwardlink to a [[Certain Page]]
auto Backlink s to [[Other Pages@pos]] s with auto-updated pos s from a [[Certain Page]]
auto Backlink s to [[Other Pages@pos_O]] s with auto-updated pos_O s from a [[Certain Page@pos_C]]
manual Forwardlink to a [[Certain Page@pos_C]] with auto-updated pos_C (without s !)

Note that once the 4 points above are implemented, the referencing positions of [[Other Pages@pos_O]] s may themselves reside within the [[Certain Page]] which contains the anchor [[Certain Page@pos_C]] that is cited. This signifies a complete transition away from the Page-based paradigm.

Keep going, @zef — this “will definitely make SB great again”!