feat: add Markdown rendering to text segments

- Add react-markdown + remark-gfm for GFM-compatible markdown rendering
- Create MarkdownRenderer component with custom Tailwind-styled elements
- Update TextSegmentView to render markdown instead of plain text
- Update LongTextView to render markdown when expanded
- Fix Lucide icon type in DocumentCard
This commit is contained in:
carry committed 2026-06-07 13:53:57 +08:00
1 parent 241156853c
commit fec598af62
7 files changed
+1653 -19

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
node_modules/
dist/
.DS_Store
*.tsbuildinfo