import mavonEditor from 'mavon-editor'
Vue.use(mavonEditor)
...
mavonEditor.markdownIt
import {mavonEditor} from 'mavon-editor'
mavonEditor.getMarkdownIt()
或者
mavonEditor.mixins[0].data().markdownIt
<mavonEditor ref=md></mavonEditor>
...
this.refs.md.markdownIt
设置markdown换行格式必须为行尾添加两空格
// markdownIt通过上述方式获取
markdownIt.set({ breaks: false });