Four empty lines between folders compiling to .md, possible?

Hi guys,

Thanks for the wonderful software, it’s amazing!

Just a quick question.

I’m using Scrivener to output to a .md file, and I have a template I’ve been provided that I’m trying to match.

The template I’m trying to match has four empty lines between each top level section.

So far I have this, which is almost perfect:

[code]# 1 Introduction #

1.1 Introduction

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras sed nisi vel dui fringilla viverra eu eget erat. Nullam tincidunt lacinia est…

1.2 Entry Title

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras sed nisi vel dui fringilla viverra eu eget erat. Nullam tincidunt lacinia est.

2 The Next Chapter

2.1 Entry Title

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras sed nisi vel dui fringilla viverra eu eget erat. Nullam tincidunt lacinia est.[/code]

But what I’m shooting for is this:

[code]# 1 Introduction #

1.1 Introduction

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras sed nisi vel dui fringilla viverra eu eget erat. Nullam tincidunt lacinia est…

1.2 Entry Title

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras sed nisi vel dui fringilla viverra eu eget erat. Nullam tincidunt lacinia est.

2 The Next Chapter

2.1 Entry Title

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras sed nisi vel dui fringilla viverra eu eget erat. Nullam tincidunt lacinia est.[/code]

I’ve attempted to include the four empty lines via the title prefix and custom separators but no luck as yet.

Is this possible at all, when compiling to a .md file?

Thanks!

The title prefix would be the best place for this, and it should be working. I just did a quick test by placing three spaces (the fourth coming from the separator) in the prefix field for level one folders (leaving level 2+ folders with no prefix). Did you make sure the “Place prefix inside hashes” option was off? Even with that on, you should still see the carriage returns—it would just break your header by inserting them after the initial hash.