When I write org mode files it's difficult to keep the right number of blank lines between different org mode objects like source blocks, text blocks, headings, and tables. There exists
org-blank-before-new-entry which helps with this a little bit, but it only accepts two kinds of objects a heading or a plain list item.
When I expand it there's nothing there except for whitespace.
It is cumbersome to be fixing these myself whenever I add forget to add blank lines or add to many.
Is something that exists to format an org file to have the proper spacing between org objects?