Open a [[Link]] under your cursor in Search pane with regex to show its Backlinks. #245
GitMurf
started this conversation in
Templates Showcase
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://gist.github.com/GitMurf/357af96944b8c19fd33b4153d6853a6d
Here is a Templater script that takes the [[page link]] under your active cursor and builds the regex to populate the search pane to replicate Backlinks for that page (includes accounting for alias links). It opens the search pane for you and expands the results, shows more context, and sorts by recently created. You can modify these settings/options in the code yourself. If your active cursor is NOT within a [[page link]] then it looks for the last [[link]] on your active line and uses that. So if you only have one [[link]] on a line then you don't need to worry about moving your cursor within it.
Obsidian.-.Templater.-.backlinks.in.Search.pane.mp4
Beta Was this translation helpful? Give feedback.
All reactions