Using Markdown for EPUB authoring
The SEED.html app enables writers to create valid EPUB 3 packages from markdown source files.
There's a sample project called 'Introduction to Markdown' on the app's home page here;
Find it under the 'Writers' group of samples. Click 'Open' and you'll have a project that you can write markdown formatted text in, and publish an EPUB file.
The SEED.html app stores the plain text source files within the EPUB manifest, and stores working data in the web browser's local storage so your work isn't sent to the cloud or added to some web content silo.It's your project and you're in control of it.