Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions app/components/AssistantChat.vue
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ function sourcesLabel(message: UIMessage) {
:text="part.text"
:streaming="isPartStreaming(part)"
>
<Comark
:markdown="part.text"
<Markdown
:value="part.text"
:streaming="isPartStreaming(part)"
:plugins="plugins"
class="text-sm text-muted *:first:mt-0 *:last:mb-0"
Expand All @@ -195,9 +195,9 @@ function sourcesLabel(message: UIMessage) {
/>

<template v-else-if="isTextUIPart(part)">
<Comark
<Markdown
v-if="message.role === 'assistant'"
:markdown="part.text"
:value="part.text"
:streaming="isPartStreaming(part)"
:plugins="plugins"
class="*:first:mt-0 *:last:mb-0"
Expand Down
4 changes: 2 additions & 2 deletions app/pages/logos.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ const { header } = useAppConfig()
const brand = computed(() =>
header?.logo?.mark === 'comark-content'
? {
logo: 'comark-content',
logo: 'comark-content' as const,
name: 'Comark Content',
tagline: 'The content layer for Markdown.'
} : {
logo: 'comark',
logo: 'comark' as const,
name: 'Comark',
tagline: 'The open-source Markdown parser and renderer.',
},
Expand Down
Loading