fix markdown editor