If you use your Agenda notes for programming code, like I often times do, then this tip will help you.
I have found that when I paste in code, it add an extra empty line between each line, which detracts from its usefulness for me.
Here’s what I found that works:
Copy the code
In an Agenda note, choose the Preformatted Style
Paste in the code without formatting (Command-Option-Shift-V)
This should have the desired effect of the code pasted in without extra lines.