This time I think I have it, for real. I swear. 😉
Here’s the deal…

All the action is in Old School.
A new head-level attribute, flSinglespaceMarkdown.
Default: false — which means we generate two newlines per outline node, with one exception.
If a node has an flSinglespaceMarkdown att set true, its subs are single-spaced.

The assumption is that most often people will write in the outliner one paragraph per headline. but there are exceptional cases where you need more control over the markdown text we generate, and need to do your own double spacing, so you tell Old School to just do one.
Comment here.

Link to original post http://scripting.com/2021/11/23/192342.html?title=nextIterationOnMarkdowninanoutline from Teknoids News

Read the original story