Some improvements about markdown edition.