The list of "valid_empty_formats" is contained in "src/calibre/ebooks/oeb/polish/create.py", as is the method used to create said empty formats. Each format needs to be implemented separately, although in theory I guess a conversion could be used to handle any format???
Still, it should be easy to hack in MD by treating it exactly like TXT.
|