k55k32 / markdown-it-editor

a markdown rich text editor base on markdown-it and vue2
https://k55k32.github.io/markdown-it-editor/
61 stars 8 forks source link

I only want to render the source, how to do it ? #6

Closed talliujobs closed 7 years ago

talliujobs commented 7 years ago

Hi, this is a useful component. Now I only want to render the source , is there a way to do this?

k55k32 commented 7 years ago

I split the MarkdownPreview component . you can use that.

import { MarkdownPreview } from 'markdown-it-editor'

the componet detail see the MarkdownPreview.vue