markdown editor with live preview version 2