markdown editor: preview and source visibility