feat: 功能3 - Markdown 渲染和代码高亮 (v0.9.8)

- 添加 MarkdownMessage.vue 组件
- 集成 markdown-it 库
- 集成 highlight.js 代码高亮
- 支持标题/列表/代码块/表格等
- ChatWindow 使用 Markdown 渲染
- 添加 .gitignore 忽略 node_modules
This commit is contained in:
2026-03-15 12:13:06 +08:00
parent 021ce8b50b
commit dcf8494db7
4 changed files with 130 additions and 19 deletions

13
.gitignore vendored
View File

@@ -1,11 +1,2 @@
__pycache__/
*.pyc
*.pyo
.pytest_cache/
*.db
*.sqlite
.env
venv/
*.pyc
__pycache__/
venv/
frontend/node_modules/
frontend/package-lock.json