finish markdown editor (image progress upload)