I was just sitting here thinking that it'd be really cool to have a simple markdown to epub utility for editing purposes of long form stuff and then I realised that pandoc probably does it. Duh.
@mjb I've been converting to html and pulling sigil out to do the job, frankly it's too much faff. Don't know why I forget about pandoc :eyeroll:
@vamp yes, pandoc will do. I use Sphinx w/ rst but it supports mardown. too.