MIT License
Fork markdown-to-jsx.
The most lightweight, customizable Vue3 markdown component, using Vue 3 SFC or TSX.
The component props is same as markdown-to-jsx.
<template>
<Markdown># Hello world! </Markdown>
</template>
<script setup>
import Markdown from "markdown-to-jsx-vue3";
</script>
import Markdown from "markdown-to-jsx-vue3";
defineComponent({
setup() {
return () => <Markdown># Hello world! </Markdown>
}
})