markdown editor with live preview