Better markdown, better number of paragraphs get generated.
Added basic test, changed key mapping