I suggest exporting from Scrivener as an OPML. I would then import that file into Typora, and save; there are many other ways of converting the file to .md.
If you use formatting, it would have been optimal if you had typed the markdown originally - it will be lost otherwise.
The file will then open in Obsidian as a single document with multiple header levels.