fix #63

fix markdown output for code in list items,
by normalising contents of paragraphs