diff --git a/package.json b/package.json index b0c425d7..7a278052 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "mockjs": "1.0.1-beta3", "normalize.css": "3.0.2", "nprogress": "0.2.0", + "showdown": "1.7.1", "simplemde": "1.11.2", "sortablejs": "1.5.1", "vue": "2.3.3", diff --git a/src/views/components/markdown.vue b/src/views/components/markdown.vue index 2a73dd58..6893729d 100644 --- a/src/views/components/markdown.vue +++ b/src/views/components/markdown.vue @@ -4,6 +4,8 @@
+ 转为HTML +