On Wed, 14 Mar 2018, Paul A. Rubin wrote:
I think this behavior is pretty consistent across versions (give or take whether the blank line appears to be preserved during pasting).
Paul, Oh, Okay. I don't use the code environment all that often, but when I do ...
As far as the best way to insert a blank line, I usually stick in an unbreakable space (ctrl-space), or use ctrl-Enter to put in a manual line break.
I put an manual line break at the end of each line just as a matter of course. Regards, Rich