Bug? Import and Split .md Strips Out the Headers

Bug? Import and Split .md Strips Out the Headers
When I Import and Split a .md file with the following settings:
[attachment=2]Clipboard Image.png[/attachment]

Scrivener strips out the headers and instead uses the first line after those headers as a header.

For example, in my .md file I have the following:
#Ghost
##Outline

  1. The girl ventures after the animal
  2. Another child, that was accompanying her…
    ##Spark
    What gave birth…

One would expect the result in Scrivener’s Binder to be:
[attachment=1]Clipboard Image (2).png[/attachment]

But instead, it’s:
[attachment=0]Clipboard Image (1).png[/attachment]

There have been some improvements made to the internal builds, and I don’t think this is any longer a problem. I am running into another issue (first letter gets chopped), but the heading outline is coming in properly. Since BBCode kind of messes with whitespacing, here is the text text I used, which is slightly reformatted from yours (though I tried it verbatim as well, which I believe is technically valid Markdown, if a bit dense):

[code]# Ghost

Outline

  1. The girl ventures after the animal
  2. Another child, that was accompanying her…

Spark

What gave birth…[/code]

I got:

Draft/ Ghost/ Outline ". The girl ventures after the animal" "2. Another child, that was accompanying her..." Spark "hat gave birth..."

So obviously not quite right yet, but better than what you got.

Thanks. I’ll test it again when the next version comes out.