fixed the markdown editor