cleanup the markdown area