Help needed: how to copy the links of selected notes?

Operating system

Windows

Joplin version

3.5.13

Desktop version info

Joplin 3.5.13

Editor

Markdown Editor

What issue do you have?

I know that I can copy the markdown link of a note.

What I would need (to create a very simple collation of a few notes):
select a few notes and copy their links and paste it into a note.

Now, copying the links works fine. But! When I paste them, they are pasted as a single line. This is very impractical. Is there a way to paste them such that every links is on a separate line?

Thank you for any hints!

You can use find and replace this way, I just tested it and it works:

Thank you!

It is a bit tedious as I will have to use it frequently. But it works and there seems to be no plugin that would help.

Thank you again!

If you use it frequently, I recommend you fully automate it as a macro so that it is only a shortcut away. Use your favorite automation software. Personally I use Keyboard Maestro on Mac.

You select some text, then the macro does "cut", then "replace X by Y in clipboard content" then "paste".

Thank you. I am on Windows, but there is Autohotkey on Windows that I am somewhat familiar with. That will be it for me. If anyone needs it on Windows, here the Autohotkey V1 script that uses the key combination "CAPSLOCK + P" (simultaneously).

The workflow is this:

  • select the notes
  • use "copy MD-links" from the tools menu (that puts them onto the clipboard)
  • instead of CTRL-V, use CAPSLOCK-P to Paste
#SingleInstance Force
CapsLock & p::                  ; fix a problem with pasting MD Links in Joplin

	txt := Clipboard
    txt := StrReplace(txt, ") [", ")`n`n[")
    Clipboard := txt
    Send, ^v
	
	txt =

return

Here's another way to achieve it:

  1. In the note list, double-click on the note where you want to paste the links. That will open it in a new window.
  2. Again, go to the note list and select the notes for which you want to copy the links.
  3. Drag the selected notes to the note in the other window.

Thank you, Sneira!

very easy, indeed. In many cases it does the job. But the result is a list that I cannot convert into a bulleted / numbered list or a list of checkboxes (they all end up in just one bullet/...).

So I'll stick with the macro.

But thank you for the hint with double-clicking a note to open it in an separate windows.

For the record, you can turn the list to a bulleted/numbered one if you do it in the Markdown editor, not in WYSIWYG. But yeah, the macro is definitely going to be faster.