Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Extra Line Break to Paragraphs #8

Closed
eleanorkonik opened this issue Oct 31, 2021 · 8 comments
Closed

Add Extra Line Break to Paragraphs #8

eleanorkonik opened this issue Oct 31, 2021 · 8 comments
Labels
enhancement New feature or request use case: custom replace Command "Custom Replacement"

Comments

@eleanorkonik
Copy link

eleanorkonik commented Oct 31, 2021

I know I can do this with Notepad++ but it occurred to me that this might be within scope for this plugin, so I thought I'd file the issue:

I have a bunch of old stories that I wrote in different programs and come in formatted like this:

image

and it would be handy if I could put them into the more markdown/computer friendly version where there's double-spacing between paragraphs. I've been doing it by hand 🙈

@Benature Benature added the enhancement New feature or request label Dec 23, 2021
@Benature
Copy link
Owner

Benature commented Jan 13, 2022

sorry for the late reply, plz test it by updating to v1.5.1

@eleanorkonik
Copy link
Author

text-format-linebreak

Am I doing something wrong? 🤔

@Benature
Copy link
Owner

I am not sure that am I get your point correctly, do you mean add double space after all paragraphs?

@eleanorkonik
Copy link
Author

eleanorkonik commented Jan 13, 2022

I think so. The idea is to turn

this paragraph
and this paragraph

Into

this paragraph

and this paragraph

@Benature
Copy link
Owner

aha, I miss-understand to add double space 🤣

Benature added a commit that referenced this issue Jan 13, 2022
@Benature
Copy link
Owner

select the paragraphs or select all by ⌘/ctrl+A, then run the command in v1.5.2

@eleanorkonik
Copy link
Author

Ohhhhh that's what you meant by "after." 😅

YES! It works, thank you so much ❤️

@Benature Benature modified the milestone: Custom Replacement Mar 18, 2024
@Benature Benature added the use case: custom replace Command "Custom Replacement" label Mar 18, 2024
@Benature
Copy link
Owner

As this feature is quite simple, it will be moved to "Custom replacement" (#77) after v3.0.0. The user who has similar demands can refer to this setting. Any other use cases are welcome to share!

image
  • name: Add extra line break between paragraphs
  • search: \n
  • replace: \n\n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request use case: custom replace Command "Custom Replacement"
Projects
None yet
Development

No branches or pull requests

2 participants