no message

Former-commit-id: c40a8d4ea80fe352af99aae2d9a045254be06c54
Former-commit-id: 7251decaa91e7bd42378bc84171f4e6401d9b055
Former-commit-id: de97575e04564693eadc09393d74c4ac6ae6fd58
This commit is contained in:
李杨
2018-02-24 20:42:48 +08:00
parent 7a3963983e
commit 18bdd3e3d5
4 changed files with 49 additions and 7 deletions

View File

@@ -68,7 +68,7 @@ export default {
const renderer = new marked.Renderer()
renderer.blockquote = (quote) => {
// 百度网盘
return bandupan(quote) || `<blockquote>${quote}</blockquote>`
return (this.baidupan && bandupan(quote)) || `<blockquote>${quote}</blockquote>`
}
return marked(data, {
...this.highlight ? {highlight: (code) => highlight.highlightAuto(code).value} : {},