When capturing several related (chunks of) pages from the same source, I find myself very frequently spending a lot of time replacing the targets of the cross referencing links.
Nowadays, I copy the markdown link, paste it, then remove the superfluous part.
Being able to copy only the target part of the markdown link, or the bare note ID would nicely ease this workflow... and probably others
Thanks in advance
Have a beautiful WE
PS: Makes me think that a feature automatically replacing clipped pages URL with corresponding note IDs in links would be magic! Just saying
This is offered with no warranty.. As I am only about 50% sure I follow your use case scenario:
Here is my readback on your use case scenario:
You copy a source document (web page?) that has multiple internal links.
You import the source document into joplin and subsequently change all the internal links to reflect Joplin links
You are then able to use the document, as originally created, but locally.
-- Ok, a couple ideas, if you happen to be using the Windows Interface.
You can get the notebook ID by right clicking the notebook in the Joplin Notebooks Frame (insert official term here). You will see a context menu where you are able to one click copy the notebook ID
Use the 'Toggle External Editor' feature in the Edit Frame menu bar and open the source document in your preferred external editor. I would suggest Notepad++ or MS Visual Studio Code, both are free, both have ability to find and replace using RegEx.
Here is a VERY quick subjective compare for this specific functionality, should it be helpful.
Both:
Very active development
Multi-function (Swiss-army knife)
Free
Excellent tutorials for most high use functions
multi platform
can setup a workspace to keep reference RegEx documents or other notes handy
First, best wishes for 2024 and thank you for your answer
My use case is more precisely when capturing related pages with the Web Clipper, and indeed to rebuild cross-linking between notes as it was between original pages.
It also happens when restructuring notes, when you only want to change the target note ID because the target section has been split out of the original target note or, conversely, merged into another one.
So, this is really the note ID that I need to get, not the Notebook one.
I already use VSCode plugin very regularly when I need raw editing power and veeery much like it ! To tell you the truth, I'm only missing a couple of features there, and I'd probably use Joplin "headless" most of the time as it would allow me to avoid switching back and forth with VSCodium all days long...