ravenq / markdown-it-vue

The vue lib for markdown-it.
MIT License
348 stars 67 forks source link

Vue3 Compatibility #35

Open JoshuaLowe1002 opened 3 years ago

JoshuaLowe1002 commented 3 years ago

Hi!

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

richardtallent commented 3 years ago

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

wuestkamp commented 2 years ago

+1

richardtallent commented 2 years ago

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.