markdown-it-vue icon indicating copy to clipboard operation
markdown-it-vue copied to clipboard

Vue3 Compatibility

Open JoshuaLowe1002 opened this issue 5 years ago • 3 comments

Hi!

Looks great. Is there any plans to make this Vue 3 + Vite compatible? image

JoshuaLowe1002 avatar Sep 25 '20 16:09 JoshuaLowe1002

I'm looking for this too... is there anything I can do to help?

richardtallent avatar Jan 19 '21 22:01 richardtallent

+1

wuestkamp avatar Jan 18 '22 10:01 wuestkamp

I just ended up writing my own little wrapper component for it. Very easy. Just create an instance for the MarkdownIt with the plugins you want, make a prop for incoming markdown and a computed property for the HTML rendered version, and render the HTML in the template using v-html.

richardtallent avatar Jan 26 '22 04:01 richardtallent