Changes to markdown generation