Removing Hard Line Breaks
I’m sure this can be done with Pythonista, but not being a Python programmer I’m not quite certain how.
If I Have a file in the following format:
Line 1 with a hard line break
Line 2 with a hard line break
Line 3 with a hard line break
Line 4 with a hard line break with a double newline for the paragraph break
Line 5 with a hard line break
I would like to create a workflow that calls Pythonista to remove the hard line breaks creating two paragrahs by respecting the double line feed paragraph break.
Any help welcome.
maybe re replace \n if not \n before or after it