cleaning markdown