refactor: 用 marked.js 替换手写 Markdown 渲染器
Deploy PR-Helper / deploy (push) Successful in 30s

- 引入 marked.js(~40KB)作为专业 Markdown 解析引擎
- markdown.js 精简为 20 行薄封装,保留 renderMarkdown 兼容别名
- CSS 从 .md-* 选择器改为标准 HTML 标签选择器
- 支持 GFM(表格、任务列表、删除线)、代码块语法高亮
- 天然处理流式不完整 Markdown(未闭合代码块等)
This commit is contained in:
2026-06-21 16:23:14 +08:00
parent 496e3ba71e
commit 6dfd01445d
6 changed files with 38 additions and 190 deletions
+6
View File
File diff suppressed because one or more lines are too long