They're literally .md files. I transferred mine over from Skiff.
The whole thing definitely makes me raise an eyebrow, but Notion honestly seems like better software than Skiff so I'm less upset than I was initially. Always a good idea to keep backups rather than relying on a single company, though.