TClark1011 / obsidian-find-and-replace-in-selection

MIT License
6 stars 0 forks source link

Replacing breaklines #2

Closed Animaly0 closed 2 years ago

Animaly0 commented 2 years ago

Hi ! Thanks for the plugin, really love it !

Do you know if there is any way that we could replace breaklines for any characters ? I wanted to replace copied pdf text breaklines by searching for "\n" and replacing them with spaces but it didn't work.

Is there any way to do that in the plugin and if not, do you believe you'll implement this feature ?

Thanks a lot !

TClark1011 commented 2 years ago

The plugin doesn't currently support this but its definitely worth adding, I'll look into it this weekend.

TClark1011 commented 2 years ago

@Animaly0 I just published the update for this. Once you upgrade to version 1.1.0 you can use '\n' in the 'Find' field to replace line breaks

Animaly0 commented 2 years ago

Thanks a lot, that's life changing <3