diff --git a/package-lock.json b/package-lock.json index c849680c..ee68a722 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10716,11 +10716,6 @@ "integrity": "sha1-vsECT4WxvZbL6kBbI8FK1kQ6b4E=", "dev": true }, - "lodash.get": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", - "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=" - }, "lodash.kebabcase": { "version": "4.1.1", "resolved": "http://registry.npm.taobao.org/lodash.kebabcase/download/lodash.kebabcase-4.1.1.tgz", @@ -10843,6 +10838,11 @@ "object-visit": "^1.0.0" } }, + "marked": { + "version": "0.6.2", + "resolved": "https://registry.npm.taobao.org/marked/download/marked-0.6.2.tgz", + "integrity": "sha1-xXS+i1Rai0hkFFbKHb4ON7bczBo=" + }, "math-random": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/math-random/-/math-random-1.0.4.tgz", @@ -13555,7 +13555,8 @@ "version": "4.0.8", "resolved": "http://registry.npm.taobao.org/rx-lite/download/rx-lite-4.0.8.tgz", "integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=", - "dev": true + "dev": true, + "optional": true }, "rx-lite-aggregates": { "version": "4.0.8", @@ -15485,11 +15486,6 @@ } } }, - "vue-fragment": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/vue-fragment/-/vue-fragment-1.5.0.tgz", - "integrity": "sha512-nobmbbOSOx59fm7U00BDz14Yvqitwx7NPQGYDTKg3+dNDGTDCRNy/q2kfr5hV4S0l4fQG0kvC+rbCmENLmHUSA==" - }, "vue-hot-reload-api": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/vue-hot-reload-api/-/vue-hot-reload-api-2.3.3.tgz", @@ -15558,11 +15554,6 @@ "integrity": "sha512-We9ZLSYPQx9y3v5+HNWyjkGFaxZMlWPTqYBU08y4YT46f453BQ4JxIoS8rV0a8PIxnKap7m/YIzrdIfoHxrpaA==", "dev": true }, - "vue-svg-component-runtime": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/vue-svg-component-runtime/-/vue-svg-component-runtime-1.0.1.tgz", - "integrity": "sha512-TkmZ1qwFeFJSRH6b6KVqDU2f8DCSdoNoo/veKqog7FsyF0UETTI66ALKX1rrLXy/KT6LSaJB5IfZkuuSfaQsEA==" - }, "vue-svg-icon-loader": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/vue-svg-icon-loader/-/vue-svg-icon-loader-2.1.1.tgz", diff --git a/package.json b/package.json index cac519ae..adbc44f8 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "ant-design-vue": "~1.3.8", "axios": "^0.18.0", "enquire.js": "^2.1.6", + "marked": "^0.6.2", "mavon-editor": "^2.7.4", "moment": "^2.24.0", "nprogress": "^0.2.0", diff --git a/src/components/Tools/HeaderComment.vue b/src/components/Tools/HeaderComment.vue index 5c180cb2..7fe7e8af 100644 --- a/src/components/Tools/HeaderComment.vue +++ b/src/components/Tools/HeaderComment.vue @@ -11,7 +11,7 @@ >