note-refactor-obsidian
note-refactor-obsidian copied to clipboard
Possible to have a "No link" option?
I'm often working from a "scratchpad" note that accumulates stuff during the day, and I will process that into new notes or bin it. I don't need the link to the newly extracted content being put into the parent note.
Is it possible to add a switch, or a link format to suppress this?
FWIW I played around with this, decided I wanted to have options with and without a link, so "global" switch or link format didn't help. I added an extra mode: 'replace-selection-nolink', added a command for it and tweaked replaceContent to use an empty string instead of the link if the mode was set.
Would be great to have this baked in. I can do a pull request if you want, but this is the first time I have touched typescript and my javascript is self-taught so it may be better to do it yourself properly if you think it should be included.
Thank you for making the code available!