First export to text; halfway through tidying up the Markdown.