add missing newline
add -D epub (requires pandoc)
export
always end with \n because pandoc has issues otherwise
generate TOC
add -D mobi (requires calibre)
reformat code examples to 47 character width (someone please shoot me)
export