Properly recognise Markdown lists.