finish markdown editor