add markdown support

This commit is contained in:
Jeffrey Hsu 2024-12-02 17:25:15 +08:00
parent caa61ca385
commit de1701ad99

View File

@ -0,0 +1,13 @@
<script lang="ts" setup>
defineProps<{
content: string
}>()
</script>
<template>
<div class="render" v-html="$mdRender.render(content)"></div>
</template>
<style lang="scss">
</style>