HTML vs Markdown:AI 输出的格式之争
2026 年 5 月 8 日,Simon Willison 在其博客中引用了 Claude Code 团队成员的观点。
Thariq Shihipar 的核心论点
- HTML 表达力更强:可以嵌入 SVG 图表、交互组件、页内导航
- Markdown 的 token 优势已过时:GPT-4 时代的 8K token 限制已不存在
- 实际效果:HTML 输出让信息更易于浏览和理解
Simon Willison 的反应
Willison 表示:「自 GPT-4 时代以来我一直默认使用 Markdown,因为 8,192 token 限制让 Markdown 的 token 效率非常有价值。Thariq 的文章让我重新考虑这一点。」
行业讨论
大模型首选格式 Markdown 是否正在被 30 年前的工具 HTML 取代?这引发了开发者社区关于 AI 输出格式的广泛讨论。
来源: Simon Willison Blog / 凤凰网科技
链接: https://simonwillison.net/2026/May/8/thariq-shihipar/