Fix editing so that it uses MD source