Fixing markdown renderer to handle linebreaks