vue使用marked解析markdown如何实现图片点击放大功能?
y_hhu 2019-08-27 03:39:26 marked.setOptions({
renderer: new marked.Renderer(),
highlight: function (code) {
return hljs.highlightAuto(code).value
},
pedantic: false,
gfm: true,
tables: true,
breaks: false,
sanitize: false,
smartLists: true,
smartypants: false,
xhtml: false
});
这是目前的配置