markdown editor and preview