Can I get backlinks listed in the note itself?

Hi everyone, i am very lost- maybe someone has a hint.

Is there any way to get the information from backlinks/linked mentions into the note itself to work with it (besides copy and paste as the amout of backlinks is very high).

Ideally there would be a command to import all the backlinks into the note or into a new seperate note [[note_backlinks]].
I know I get a display of the backlinks (and the paragraph that contains the mention) by using the backlink plug-in but I can only see it and not work with it/get it into the note/export it in a way. I would love to order and work with the backlinks in the note to connect the information.

My goal is to create a single note/export that includes all backlinks with their content, similar to how they appear in the backlinks pane.

Ideally, I’d like to do this automatically (not via manual copy and paste). Is there a way to achieve this, maybe via a plugin or Templater?

Things I have tried:

I searched the help docs and forum using these terms:

  • “export backlinks”
  • “Templater backlinks”
  • “Dataview backlinks content”
  • “embedded notes export”

Here are the solutions I tried:

  1. Templater Plugin
  • Tried to use tp.backlinks to access the backlinks and insert their content into the current note.
  • Result: Parsing errors and “Template parsing error aborting” – even with simple templates.
  • Tested multiple syntaxes from forum examples and GitHub issues – all failed.
  1. Advanced Note Composer Plugin
  • Tried “Append linked notes to current note”, but it only works for outgoing links (not backlinks).
  1. Dataview Plugin
  • Used list from [[MyNote]] to get a list of notes linking to my note.
  • This works, but only gives me the titles, not the content.
  • Tried table views with file.content, but got limited or no results. Not sure if this is supported.
  1. Manual Copy & Paste
  • I opened all notes from the backlink pane in new tabs and manually copied their content into one note.
  • This works, but is time-consuming and error-prone. I hoped for an automated solution.

Any help or ideas would be greatly appreciated!
Thanks in advance for your time :folded_hands:

One way might be to use the Text Expand plugin. It works like the embedded search, but allows you to convert the results to Markdown. The search would be for links to the note; something like /\[\[Example(\]|\|)/ (a regular expression matching 2 brackets followed by the note name followed by either a closing bracket or a bar). You could make a template for this, using the template variable for title of the active note.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.