zolrath / obsidian-auto-link-title

Automatically fetch the titles of pasted links
MIT License
415 stars 55 forks source link

[feature request]: Bulk newline seperated URL titling #97

Open JamsFM opened 6 months ago

JamsFM commented 6 months ago

I haven't looked through the project files, but I assume the regex for the pick pattern is just constrained to an unbroken string that may follow a loose format. This feature would allow you to copy/paste in a block of URLs like what you might get from a browser plug-in like FoxyTab.

The Source Format could be any of the following depending on how things are in the code: <\r\n> <\n> <$>

I see this potentially allowing for a link to be copy/pasted singularly when pasted with a line-breaking char at the end. Along the same lines, maybe a replace/refactor like UI would be useful for editing already present untitled links. Wherein, a separator could be designated and the distinction for searching the whole file for links, or only a selected section, could then be set before hitting a "Titling" button or something. I realize that would be more ambitious but some of that could be optional config settings.

Really nice plug-in though! I appreciate the hard work!