From 40d493ac5e5df19accd2952ab70893d4dcb5cd62 Mon Sep 17 00:00:00 2001 From: fanliwen Date: Sun, 19 Jan 2020 09:02:41 +0800 Subject: [PATCH] fix #17 get markdown-it instance. --- src/markdown-it-vue.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/markdown-it-vue.vue b/src/markdown-it-vue.vue index 8c40c31..7796113 100644 --- a/src/markdown-it-vue.vue +++ b/src/markdown-it-vue.vue @@ -195,6 +195,9 @@ export default { methods: { use(plugin, options) { this.md.use(plugin, options) + }, + get() { + return this.md } } }