Fix tags, some parts of the markdown hydration, change how icon works

This commit is contained in:
2024-09-07 22:56:03 +02:00
parent d7a8087c6c
commit 0d1332dcd4
30 changed files with 88 additions and 83 deletions

View File

@@ -15,7 +15,7 @@ const { data, status } = await useFetch(`/api/project/${route.params.projectId}/
<template v-if="!!data && data.type == 'Markdown' && !!data.content">
<div class="md:px-24 ps-8 my-1 whitespace-break-spaces">
<ProseH1>{{ data.title }}</ProseH1>
<Markdown v-model="data.content"></Markdown>
<Markdown :content="data.content"></Markdown>
</div>
<CommentSide class="hidden" :comments="data.comments"></CommentSide>
</template>