feat(markdown): 引入 react-markdown 及相关依赖支持 markdown 渲染

- 添加 react-markdown 库以支持 markdown 内容渲染
- 引入 @types 相关类型定义包,包括 debug、estree-jsx、hast 等
- 添加解析 markdown 所需的工具库,如 micromark、mdast-util 系列
- 集成 hast-util-to-jsx-runtime 实现 hast 到 jsx 的转换
- 添加字符实体处理和样式解析相关依赖
- 引入支持 mdx 语法的相关工具包
- 添加统一的类型检查和开发依赖支持
- 更新 package-lock.json 锁定新增依赖版本
This commit is contained in:
雨霖铃
2025-12-20 20:58:46 +08:00
parent d6b1edeffc
commit 0cad722479
7 changed files with 1576 additions and 2 deletions
+1177
View File
File diff suppressed because it is too large Load Diff