feat: 添加代码语法高亮功能和 HTML 格式化依赖

- 集成 react-syntax-highlighter 实现代码高亮显示
  - 新增 code-highlighter UI 组件和 syntax-helpers 工具
  - 添加 HTML/XML 格式化相关 Rust 依赖(minify-html、markup_fmt 等)
  - 在开发指南中整合 Rust-TS 跨语言命名规范
  - 移除冗余的 Tauri_Naming_Conventions.md 文档
  - 更新 Claude Code 配置添加工具命令权限
This commit is contained in:
2026-02-11 09:46:49 +08:00
parent bf5d056811
commit 910a50fa45
14 changed files with 1160 additions and 675 deletions

View File

@@ -29,6 +29,7 @@
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-router-dom": "^7.8.2",
"react-syntax-highlighter": "^16.1.0",
"tailwind-merge": "^3.3.1",
"tailwindcss": "^4.1.12",
"zustand": "^5.0.11"
@@ -39,6 +40,7 @@
"@types/node": "^24.3.0",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@types/react-syntax-highlighter": "^15.5.13",
"@vitejs/plugin-react": "^4.6.0",
"eslint": "^9.33.0",
"eslint-plugin-react-hooks": "^5.2.0",