feat: Code Block Syntax Highlighting & Copy Func

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2025-05-19 23:19:20 -07:00
parent 8c58fc417e
commit 4c8b03ce2b
6 changed files with 300 additions and 13 deletions

View file

@ -48,7 +48,6 @@ import {
researcherOptions
} from '@/components/chat';
import { MarkdownViewer } from '@/components/markdown-viewer';
import { connectorSourcesMenu as defaultConnectorSourcesMenu } from '@/components/chat/connector-sources';
import { Logo } from '@/components/Logo';
import { useSearchSourceConnectors } from '@/hooks';

View file

@ -45,6 +45,7 @@
--sidebar-accent-foreground: oklch(0.205 0 0);
--sidebar-border: oklch(0.922 0 0);
--sidebar-ring: oklch(0.708 0 0);
--syntax-bg: #f5f5f5;
}
.dark {
@ -80,6 +81,7 @@
--sidebar-accent-foreground: oklch(0.985 0 0);
--sidebar-border: oklch(0.269 0 0);
--sidebar-ring: oklch(0.439 0 0);
--syntax-bg: #1e1e1e;
}
@theme inline {