Hi !
I just discover your plugin for Showdown with vue 3 and it's absolutely amazing !!
I propose here a little improvment to add possibility to use custom component with vueTemplate options.
Add an options vueTemplateComponents where we can pass custom to h render function like that.
Suggested solution
I see that in this issue you had a render function h.
So I propose something like this:
// user component
<template>
<VueShowdown :markdown="myMarkedown" :vue-template="true" :vue-template-components="{ myCustomComponent }" />
</template>
<script setup>
import myCustomComponent from '@/components/myCustomComponent'
</script>
Clear and concise description of the problem
Hi ! I just discover your plugin for Showdown with vue 3 and it's absolutely amazing !!
I propose here a little improvment to add possibility to use custom component with vueTemplate options. Add an options
vueTemplateComponents
where we can pass custom to h render function like that.Suggested solution
I see that in this issue you had a render function h.
So I propose something like this:
In your plugin code
Alternative
No response
Additional context
No response