You've already forked obsidian-visualiser
Fix tags, some parts of the markdown hydration, change how icon works
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -23,7 +23,7 @@ Le logo a été créé grace aux icones de [Game Icons](https://game-icons.net).
|
||||
<div class="publish-renderer">
|
||||
<div class="markdown-preview-view markdown-rendered node-insert-event hide-title">
|
||||
<div class="markdown-preview-sizer markdown-preview-section" style="padding-bottom: 0px;">
|
||||
<Markdown v-model="data" />
|
||||
<Markdown :content="data" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -41,7 +41,7 @@ async function submit()
|
||||
}
|
||||
else if(status.value === 'success' && login.success)
|
||||
{
|
||||
console.log(await navigateTo('/user/profile'));
|
||||
await navigateTo('/user/profile');
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -49,7 +49,7 @@ async function submit()
|
||||
}
|
||||
else if(status.value === 'success' && login.success)
|
||||
{
|
||||
console.log(await navigateTo('/user/profile'));
|
||||
await navigateTo('/user/profile');
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user