You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
458 B
Vue

<script setup lang="ts">
interface Props {
content: string
state: string
}
const props = defineProps<Props>()
const description = useDescription()
const parsedMarkdown = computed(() => {
return stringToMarkdown(description.value)
})
</script>
<template>
<div class="bg-secondary h-full min-h-screen w-full overflow-y-scroll p-4">
<div
class="prose prose-invert h-full max-h-full"
v-html="parsedMarkdown">
</div>
</div>
</template>