From ec0dfc5ae67f470a5cda2cd65f8c01cdb7a9ecdf Mon Sep 17 00:00:00 2001
From: yanglbme ").concat(e.join("\n"),"['.concat(e[0],"]
: ").concat(e[1],"
"):'['.concat(e[0],"]
").concat(e[1],": ").concat(e[2],"
")}));return"引用链接
").concat(e,"
");case 2:return"").concat(e,"
");case 3:return"").concat(e,"
");default:return"").concat(e,"
")}},a.paragraph=function(e){return-1!=e.indexOf("
")),"
").concat(e,"")},a.code=function(e,t){e=e.replace(//g,">");var n=e.split("\n").map((function(e){return'
'.concat(e||"
","
")})),o="github";return'\n \n ').concat(n.join(""),"\n\n
").concat(e,"
")},a.listitem=function(e){return"<%s/>').concat(e,"")},a.list=function(e,t,n){e=e.replace(/<\/*p.*?>/g,"");var o=e.split("<%s/>");if(!t)return e=o.join("•"),"").concat(e,"
");e=o[0];for(var i=1;i扫码关注我的公众号,原创技术文章第一时间推送!
\n \n\n | \n
[${x[0]}]
: ${x[1]}[${x[0]}]
${x[1]}: ${x[2]}${footnoteArray.join('\\n')}
`\n }\n\n this.buildAddition = () => {\n return `\n \n `\n }\n\n this.setOptions = newOpts => {\n this.opts = merge(this.opts, newOpts)\n }\n\n this.hasFootnotes = () => footnotes.length !== 0\n\n this.getRenderer = (status) => {\n footnotes = []\n footnoteIndex = 0\n\n styleMapping = this.buildTheme(this.opts.theme)\n let renderer = new marked.Renderer()\n\n renderer.heading = (text, level) => {\n switch (level) {\n case 1:\n return ``)\n return `
${text}`\n }\n renderer.code = (text, lang) => {\n text = text.replace(//g, '>')\n const codeLines = text.split('\\n').map(line => `
${(line || '
')}
`)\n const codeTheme = 'github'\n return `\n \n ${codeLines.join('')}\n\n
${text}
`\n renderer.listitem = text => `<%s/>${text}`\n\n renderer.list = (text, ordered, start) => {\n text = text.replace(/<\\/*p.*?>/g, '')\n let segments = text.split(`<%s/>`)\n if (!ordered) {\n text = segments.join('•')\n return `${text}
`\n }\n text = segments[0]\n for (let i = 1; i < segments.length; i++) {\n text = text + i + '.' + segments[i]\n }\n return `${text}
`\n }\n renderer.image = (href, title, text) => {\n let subText = ''\n if (text) {\n subText = `['.concat(e[0],"]
: ").concat(e[1],"['.concat(e[0],"]
").concat(e[1],": ").concat(e[2],"").concat(e.join("\n"),"
")},this.buildAddition=function(){return"\n \n "},this.setOptions=function(e){t.opts=s(t.opts,e)},this.hasFootnotes=function(){return 0!==o.length},this.getRenderer=function(e){o=[],i=0,r=t.buildTheme(t.opts.theme);var a=new Be.a.Renderer;return a.heading=function(e,t){switch(t){case 1:return"")),"
").concat(e,"")},a.code=function(e,t){e=e.replace(//g,">");var n=e.split("\n").map((function(e){return'
'.concat(e||"
","
")})),o="github";return'\n \n ').concat(n.join(""),"\n\n
").concat(e,"
")},a.listitem=function(e){return"<%s/>').concat(e,"")},a.list=function(e,t,n){e=e.replace(/<\/*p.*?>/g,"");var o=e.split("<%s/>");if(!t)return e=o.join("•"),"").concat(e,"
");e=o[0];for(var i=1;i扫码关注我的公众号,原创技术文章第一时间推送!
\n \n\n | \n
[${x[0]}]
: ${x[1]}[${x[0]}]
${x[1]}: ${x[2]}${footnoteArray.join('\\n')}
`\n }\n\n this.buildAddition = () => {\n return `\n \n `\n }\n\n this.setOptions = newOpts => {\n this.opts = merge(this.opts, newOpts)\n }\n\n this.hasFootnotes = () => footnotes.length !== 0\n\n this.getRenderer = (status) => {\n footnotes = []\n footnoteIndex = 0\n\n styleMapping = this.buildTheme(this.opts.theme)\n let renderer = new marked.Renderer()\n\n renderer.heading = (text, level) => {\n switch (level) {\n case 1:\n return ``)\n return `
${text}`\n }\n renderer.code = (text, lang) => {\n text = text.replace(//g, '>')\n const codeLines = text.split('\\n').map(line => `
${(line || '
')}
`)\n const codeTheme = 'github'\n return `\n \n ${codeLines.join('')}\n\n
${text}
`\n renderer.listitem = text => `<%s/>${text}`\n\n renderer.list = (text, ordered, start) => {\n text = text.replace(/<\\/*p.*?>/g, '')\n let segments = text.split(`<%s/>`)\n if (!ordered) {\n text = segments.join('•')\n return `${text}
`\n }\n text = segments[0]\n for (let i = 1; i < segments.length; i++) {\n text = text + i + '.' + segments[i]\n }\n return `${text}
`\n }\n renderer.image = (href, title, text) => {\n let subText = ''\n if (text) {\n subText = `