From dada607766e035324a35ed0dbe617d2aafcb72c5 Mon Sep 17 00:00:00 2001 From: Dick Tump Date: Thu, 23 Jul 2026 11:05:18 +0200 Subject: [PATCH 1/2] fix(assistant): render extended markdown (tables) in chat messages Chat messages used use-markdown (CommonMark), so GFM tables did not render. Enable use-extended-markdown on the chat NcRichText so tables and code highlighting render. Assisted-by: ClaudeCode:claude-opus-4-8 Signed-off-by: Dick Tump --- src/components/ChattyLLM/Message.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/ChattyLLM/Message.vue b/src/components/ChattyLLM/Message.vue index fa05f801..9bc26d69 100644 --- a/src/components/ChattyLLM/Message.vue +++ b/src/components/ChattyLLM/Message.vue @@ -93,6 +93,7 @@ From 560f84f744be61106175537ce137e0027887e029 Mon Sep 17 00:00:00 2001 From: Dick Tump Date: Thu, 23 Jul 2026 13:41:02 +0200 Subject: [PATCH 2/2] fix(assistant): use extended markdown for all NcRichText, drop redundant use-markdown use-extended-markdown already enables markdown rendering, so drop the now-redundant use-markdown and switch every remaining use-markdown usage to use-extended-markdown for uniform GFM rendering, per review. Covers the chat message and reasoning content, the TextInput output, and ContextChatSource. Assisted-by: ClaudeCode:claude-opus-4-8 Signed-off-by: Dick Tump --- src/components/ChattyLLM/Message.vue | 3 +-- src/components/ContextChat/ContextChatSource.vue | 2 +- src/components/fields/TextInput.vue | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/ChattyLLM/Message.vue b/src/components/ChattyLLM/Message.vue index 9bc26d69..ddcef2df 100644 --- a/src/components/ChattyLLM/Message.vue +++ b/src/components/ChattyLLM/Message.vue @@ -46,7 +46,7 @@
{{ t('assistant', 'Reasoning content') }}
@@ -92,7 +92,6 @@ diff --git a/src/components/fields/TextInput.vue b/src/components/fields/TextInput.vue index 80630b03..4c1483b6 100644 --- a/src/components/fields/TextInput.vue +++ b/src/components/fields/TextInput.vue @@ -16,7 +16,7 @@ :class="{ streaming: isOutput && streaming() }" :title="t('assistant', 'Double-click to edit')" :text="value ?? ''" - :use-markdown="true" + :use-extended-markdown="true" :autolink="true" @dblclick="enterEditMode" />