Changes to markdown and fixes cod