Joplin
Product
Joplin is worth a look if you want typed notes with folders, Markdown, local storage, and a choice of synchronization targets. Its JEX export preserves a Joplin notebook’s notes and associated data for reimport. Export to Markdown instead if you want the text in another editor. The core app is open source, and Joplin Cloud is a paid option.
More about Joplin