Fixing markup to markdown