On Fri, Apr 17, 2020 at 03:49:47PM +1200, Steve Edmonds composed:
If there are multiple line breaks between your sections you can get what you want in 3 passes. Replace $$ with *-* say (assuming *-* isn't in your text). Replace $ with "" globally. Replace *-* with \n There is bound to be a more elegant solution.