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
});
這是目前的配置
uj5u.com熱心網友回復:
樓主你解決了嗎,我想知道怎么實作放大。轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/285253.html
標籤:JavaScript
下一篇:致CSDN論壇用戶
