UNPKG

kuan-bear-vue

Version:

公司vue项目,个人习惯整理

18 lines (16 loc) 343 B
import marked from 'marked' import hljs from 'highlight.js' marked.setOptions({ renderer: new marked.Renderer(), gfm: true, tables: true, breaks: false, pedantic: false, sanitize: true, smartLists: true, smartypants: false, highlight: function (code) { return hljs.highlightAuto(code).value } }) export default marked