Longer Tutorial showing a variety of ways to edit out blank lines for a block of text using Mac apps.
Drafts has an action to remove blank lines and it is so fast. Or you could make a macro in Keyboard Maestro or a shortcut in Shortcuts. So much better than editing out the blank lines manually - like an animal.
What is your favourite way to automate your Mac?