BeFreed
    Categories>Technology>给 AI 喂 HTML 的新逻辑:为何 Claude 弃用 Markdown?

    给 AI 喂 HTML 的新逻辑:为何 Claude 弃用 Markdown?

    16 min
    |
    |
    May 12, 2026
    TechnologyAIProductivity

    面对长文本带来的模型性能下降,Anthropic 发现 HTML 的语义边界比 Markdown 更能精准引导 AI。通过将核心文档回归代码仓库并利用自动化架构图,开发者可以构建更高效的上下文栈,让 AI 助手不再因信息过载而变笨。

    给 AI 喂 HTML 的新逻辑:为何 Claude 弃用 Markdown?

    Best quote from 给 AI 喂 HTML 的新逻辑:为何 Claude 弃用 Markdown?

    “

    好的文档应该像指令(Directives),而不是描述。能让 AI 理解的代码和文档,通常对人类来说也是最友好的,因为好的逻辑都追求简洁、明确和高信号强度。

    ”

    This audio lesson was created by a BeFreed community member

    Input question

    Explain Anthropic's reasoning for preferring HTML over Markdown for LLM contexts (e.g., prompt engineering and context caching). Discuss best practices for internal engineering documentation, specifically comparing repo-based documentation (committing docs alongside code) versus Notion, addressing the user's concerns about Notion's MCP API limitations. Provide a strategy for maintaining a central architectural overview that combines auto-generation from code/metadata with visual diagrams to ensure the AI doesn't have to re-scan the entire codebase for every query.

    Host voices
    Lenaplay
    Lenaplay
    Learning style
    Fun
    Knowledge sources
    Using Claude Code: The Unreasonable Effectiveness of HTML
    link
    https://simonwillison.net/2026/May/8/unreasonable-effectiveness-of-html/
    Less Documentation, More Signal | Alex Rezvov
    link
    https://blog.rezvov.com/less-documentation-more-signal
    How to Build an LLM Context Stack: A Practical Playbook for Developers (2026)
    link
    https://hivetrail.com/blog/how-to-build-llm-context-stack/
    jgravelle/notion-code-mirror
    link
    https://github.com/jgravelle/notion-code-mirror
    LLM Context Window Optimization for Developers: Stop Dumping Code, Start Sending Signal.
    link
    https://hivetrail.com/blog/pass-large-codebase-to-llm
    Contextual Retrieval in AI Systems \ Anthropic
    link
    https://anthropic.com/engineering/contextual-retrieval

    Frequently Asked Questions

    虽然 Markdown 简洁高效,但 HTML 在 AI 交互中具有更强的语义表达能力和结构化优势。HTML 可以携带复杂的元数据、SVG 矢量图、交互式组件以及页面内导航。这使得 AI 不仅能输出文字,还能直接生成带交互功能的 3D 实景地图式的文档,其信息密度和展示维度远超传统的黑白 Markdown 文本。

    这主要源于“注意力竞争”和“迷失在中间”(Lost in the Middle)现象。AI 的注意力机制是有限的,当文档中充斥着大量“长得像信号的噪声”时,核心逻辑会被淹没。研究表明,AI 对开头和结尾的信息记忆最准,如果关键约束被埋在几十页文档中间,AI 很容易产生幻觉或忽略重要指令。

    上下文栈是一种精准投喂信息的策略,而非将所有文件丢给 AI。它通常分为四层:任务定义、项目背景(技术栈)、任务相关数据(如特定的代码段或接口定义)以及输出格式要求。通过只提供与当前任务直接相关的几千个 token,而不是整个代码库,可以显著提升 AI 的任务成功率并降低 token 消耗。

    上下文腐烂是指在长对话中,过时的报错信息、废话和弃用的逻辑堆积,干扰 AI 的判断。解决办法是采用“HANDOFF.md”模式:在一个任务阶段结束时,让 AI 总结当前进度、核心决策和剩余问题,然后开启一个全新的会话窗口,只将这份精简的总结贴入,从而实现“清空缓存”并保留精髓的效果。

    将文档与代码“共址”(Co-location)可以确保同步更新,避免文档失效。Notion 等工具在 AI 自动化处理时存在限制,例如不支持原子化的块级操作,AI 修改一个数字可能需要重读重写整个页面。而将文档(如 CLAUDE.md)放在代码仓库根目录,不仅方便 AI 扫描,也能让开发者在修改代码时顺手维护文档,保持高信号强度。

    Discover more

    前沿的AI技术

    前沿的AI技术

    LEARNING PLAN

    前沿的AI技术

    随着人工智能技术的爆发式增长,理解其底层逻辑已成为职场竞争力的核心。本方案专为希望从底层原理到前沿应用全面掌握AI技术的开发者、产品经理及技术爱好者设计。

    3 h 8 m•4 Sections
    新手学习AI基础

    新手学习AI基础

    LEARNING PLAN

    新手学习AI基础

    在人工智能重塑行业的今天,理解AI底层逻辑已成为核心竞争力。本计划专为希望从零开始系统构建AI知识体系的初学者设计,平衡了理论深度与工具实操。

    2 h 39 m•4 Sections
    我非常想学习ai,用ai的知识提高效率

    我非常想学习ai,用ai的知识提高效率

    LEARNING PLAN

    我非常想学习ai,用ai的知识提高效率

    在AI驱动的时代,掌握人工智能已成为提升个人竞争力的核心。本方案专为希望从零开始系统掌握AI技术、并将其应用于自动化办公与模型开发的职场人士和开发者设计。

    3 h 21 m•4 Sections
    我想了解ai

    我想了解ai

    LEARNING PLAN

    我想了解ai

    随着人工智能重塑各行各业,理解其底层逻辑已成为当代学习者的必备技能。本方案适合希望从零开始系统构建AI认知,并关注技术伦理与未来趋势的职场人士或学生。

    1 h 53 m•4 Sections
    Use AI to enhance daily life

    Use AI to enhance daily life

    LEARNING PLAN

    Use AI to enhance daily life

    As AI rapidly shifts from experimental technology to everyday tool, the gap between those who can harness it effectively and those who can't is widening. This learning plan is essential for professionals, entrepreneurs, students, and curious individuals who want to stay relevant and amplify their capabilities rather than being left behind. Whether you're overwhelmed by AI hype or already dabbling with ChatGPT, this structured approach will transform you from a casual user into someone who strategically leverages AI to multiply their impact.

    2 h 6 m•5 Sections
    学会如何用询问AI来最快地加速自己的个人成长,来实现最有逻辑的深度调研

    学会如何用询问AI来最快地加速自己的个人成长,来实现最有逻辑的深度调研

    LEARNING PLAN

    学会如何用询问AI来最快地加速自己的个人成长,来实现最有逻辑的深度调研

    在信息爆炸时代,高效利用AI进行深度思考是核心竞争力。本课程适合希望通过AI优化学习路径、提升调研逻辑并加速个人成长的职场人与终身学习者。

    3 h•4 Sections
    高效训练多语种、多音色、高质量语音模型

    高效训练多语种、多音色、高质量语音模型

    LEARNING PLAN

    高效训练多语种、多音色、高质量语音模型

    随着生成式AI的爆发,高质量多语种语音技术已成为人机交互的核心。本方案专为希望掌握从底层Transformer架构到高并发部署全流程的AI工程师和开发者设计,旨在提升构建企业级语音产品的实战能力。

    3 h 21 m•4 Sections
    AI basics

    AI basics

    LEARNING PLAN

    AI basics

    As AI rapidly transforms the global economy, technical literacy has become a vital asset for professionals across all industries. This plan is designed for aspiring developers and curious thinkers who want to move beyond the hype to build and understand actual intelligent systems.

    2 h 57 m•4 Sections

    From Columbia University alumni built in San Francisco

    BeFreed Brings Together A Global Community Of 1,000,000 Curious Minds
    See more on how BeFreed is discussed across the web

    "Instead of endless scrolling, I just hit play on BeFreed. It saves me so much time."

    @Moemenn
    platform
    star
    star
    star
    star
    star

    "I never knew where to start with nonfiction—BeFreed’s book lists turned into podcasts gave me a clear path."

    @Chloe, Solo founder, LA
    platform
    comments
    12
    likes
    117

    "Perfect balance between learning and entertainment. Finished ‘Thinking, Fast and Slow’ on my commute this week."

    @Raaaaaachelw
    platform
    star
    star
    star
    star
    star

    "Crazy how much I learned while walking the dog. BeFreed = small habits → big gains."

    @Matt, YC alum
    platform
    comments
    12
    likes
    108

    "Reading used to feel like a chore. Now it’s just part of my lifestyle."

    @Erin, Investment Banking Associate , NYC
    platform
    comments
    254
    likes
    17

    "Feels effortless compared to reading. I’ve finished 6 books this month already."

    @djmikemoore
    platform
    star
    star
    star
    star
    star

    "BeFreed turned my guilty doomscrolling into something that feels productive and inspiring."

    @Pitiful
    platform
    comments
    96
    likes
    4.5K

    "BeFreed turned my commute into learning time. 20-min podcasts are perfect for finishing books I never had time for."

    @SofiaP
    platform
    star
    star
    star
    star
    star

    "BeFreed replaced my podcast queue. Imagine Spotify for books — that’s it. 🙌"

    @Jaded_Falcon
    platform
    comments
    201
    thumbsUp
    16

    "It is great for me to learn something from the book without reading it."

    @OojasSalunke
    platform
    star
    star
    star
    star
    star

    "The themed book list podcasts help me connect ideas across authors—like a guided audio journey."

    @Leo, Law Student, UPenn
    platform
    comments
    37
    likes
    483

    "Makes me feel smarter every time before going to work"

    @Cashflowbubu
    platform
    star
    star
    star
    star
    star

    From Columbia University alumni built in San Francisco

    BeFreed Brings Together A Global Community Of 1,000,000 Curious Minds
    See more on how BeFreed is discussed across the web

    "Instead of endless scrolling, I just hit play on BeFreed. It saves me so much time."

    @Moemenn
    platform
    star
    star
    star
    star
    star

    "I never knew where to start with nonfiction—BeFreed’s book lists turned into podcasts gave me a clear path."

    @Chloe, Solo founder, LA
    platform
    comments
    12
    likes
    117

    "Perfect balance between learning and entertainment. Finished ‘Thinking, Fast and Slow’ on my commute this week."

    @Raaaaaachelw
    platform
    star
    star
    star
    star
    star

    "Crazy how much I learned while walking the dog. BeFreed = small habits → big gains."

    @Matt, YC alum
    platform
    comments
    12
    likes
    108

    "Reading used to feel like a chore. Now it’s just part of my lifestyle."

    @Erin, Investment Banking Associate , NYC
    platform
    comments
    254
    likes
    17

    "Feels effortless compared to reading. I’ve finished 6 books this month already."

    @djmikemoore
    platform
    star
    star
    star
    star
    star

    "BeFreed turned my guilty doomscrolling into something that feels productive and inspiring."

    @Pitiful
    platform
    comments
    96
    likes
    4.5K

    "BeFreed turned my commute into learning time. 20-min podcasts are perfect for finishing books I never had time for."

    @SofiaP
    platform
    star
    star
    star
    star
    star

    "BeFreed replaced my podcast queue. Imagine Spotify for books — that’s it. 🙌"

    @Jaded_Falcon
    platform
    comments
    201
    thumbsUp
    16

    "It is great for me to learn something from the book without reading it."

    @OojasSalunke
    platform
    star
    star
    star
    star
    star

    "The themed book list podcasts help me connect ideas across authors—like a guided audio journey."

    @Leo, Law Student, UPenn
    platform
    comments
    37
    likes
    483

    "Makes me feel smarter every time before going to work"

    @Cashflowbubu
    platform
    star
    star
    star
    star
    star

    "Instead of endless scrolling, I just hit play on BeFreed. It saves me so much time."

    @Moemenn
    platform
    star
    star
    star
    star
    star

    "I never knew where to start with nonfiction—BeFreed’s book lists turned into podcasts gave me a clear path."

    @Chloe, Solo founder, LA
    platform
    comments
    12
    likes
    117

    "Perfect balance between learning and entertainment. Finished ‘Thinking, Fast and Slow’ on my commute this week."

    @Raaaaaachelw
    platform
    star
    star
    star
    star
    star

    "Crazy how much I learned while walking the dog. BeFreed = small habits → big gains."

    @Matt, YC alum
    platform
    comments
    12
    likes
    108

    "Reading used to feel like a chore. Now it’s just part of my lifestyle."

    @Erin, Investment Banking Associate , NYC
    platform
    comments
    254
    likes
    17

    "Feels effortless compared to reading. I’ve finished 6 books this month already."

    @djmikemoore
    platform
    star
    star
    star
    star
    star

    "BeFreed turned my guilty doomscrolling into something that feels productive and inspiring."

    @Pitiful
    platform
    comments
    96
    likes
    4.5K

    "BeFreed turned my commute into learning time. 20-min podcasts are perfect for finishing books I never had time for."

    @SofiaP
    platform
    star
    star
    star
    star
    star

    "BeFreed replaced my podcast queue. Imagine Spotify for books — that’s it. 🙌"

    @Jaded_Falcon
    platform
    comments
    201
    thumbsUp
    16

    "It is great for me to learn something from the book without reading it."

    @OojasSalunke
    platform
    star
    star
    star
    star
    star

    "The themed book list podcasts help me connect ideas across authors—like a guided audio journey."

    @Leo, Law Student, UPenn
    platform
    comments
    37
    likes
    483

    "Makes me feel smarter every time before going to work"

    @Cashflowbubu
    platform
    star
    star
    star
    star
    star

    "Instead of endless scrolling, I just hit play on BeFreed. It saves me so much time."

    @Moemenn
    platform
    star
    star
    star
    star
    star

    "I never knew where to start with nonfiction—BeFreed’s book lists turned into podcasts gave me a clear path."

    @Chloe, Solo founder, LA
    platform
    comments
    12
    likes
    117

    "Perfect balance between learning and entertainment. Finished ‘Thinking, Fast and Slow’ on my commute this week."

    @Raaaaaachelw
    platform
    star
    star
    star
    star
    star

    "Crazy how much I learned while walking the dog. BeFreed = small habits → big gains."

    @Matt, YC alum
    platform
    comments
    12
    likes
    108

    "Reading used to feel like a chore. Now it’s just part of my lifestyle."

    @Erin, Investment Banking Associate , NYC
    platform
    comments
    254
    likes
    17

    "Feels effortless compared to reading. I’ve finished 6 books this month already."

    @djmikemoore
    platform
    star
    star
    star
    star
    star

    "BeFreed turned my guilty doomscrolling into something that feels productive and inspiring."

    @Pitiful
    platform
    comments
    96
    likes
    4.5K

    "BeFreed turned my commute into learning time. 20-min podcasts are perfect for finishing books I never had time for."

    @SofiaP
    platform
    star
    star
    star
    star
    star

    "BeFreed replaced my podcast queue. Imagine Spotify for books — that’s it. 🙌"

    @Jaded_Falcon
    platform
    comments
    201
    thumbsUp
    16

    "It is great for me to learn something from the book without reading it."

    @OojasSalunke
    platform
    star
    star
    star
    star
    star

    "The themed book list podcasts help me connect ideas across authors—like a guided audio journey."

    @Leo, Law Student, UPenn
    platform
    comments
    37
    likes
    483

    "Makes me feel smarter every time before going to work"

    @Cashflowbubu
    platform
    star
    star
    star
    star
    star
    1.5K Ratings4.7
    Start your learning journey, now
    BeFreed App
    BeFreed

    Learn Anything, Personalized

    DiscordLinkedIn
    Featured book summaries
    Crucial ConversationsThe Perfect MarriageInto the WildNever Split the DifferenceAttachedGood to GreatSay Nothing
    Trending categories
    Self HelpCommunication SkillRelationshipMindfulnessPhilosophyInspirationProductivity
    Celebrities' reading list
    Elon MuskCharlie KirkBill GatesSteve JobsAndrew HubermanJoe RoganJordan Peterson
    Award winning collection
    Pulitzer PrizeNational Book AwardGoodreads Choice AwardsNobel Prize in LiteratureNew York TimesCaldecott MedalNebula Award
    Featured Topics
    ManagementAmerican HistoryWarTradingStoicismAnxietySex
    Best books by Year
    2025 Best Non Fiction Books2024 Best Non Fiction Books2023 Best Non Fiction Books
    Featured authors
    Chimamanda Ngozi AdichieGeorge OrwellO. J. SimpsonBarbara O'NeillWinston ChurchillCharlie Kirk
    BeFreed vs other apps
    BeFreed vs. Other Book Summary AppsBeFreed vs. ElevenReaderBeFreed vs. ReadwiseBeFreed vs. Anki
    Learning tools
    Knowledge VisualizerAI Podcast Generator
    Information
    About Usarrow
    Pricingarrow
    FAQarrow
    Blogarrow
    Careerarrow
    Partnershipsarrow
    Ambassador Programarrow
    Directoryarrow
    BeFreed
    Try now
    © 2026 BeFreed
    Term of UsePrivacy Policy
    BeFreed

    Learn Anything, Personalized

    DiscordLinkedIn
    Featured book summaries
    Crucial ConversationsThe Perfect MarriageInto the WildNever Split the DifferenceAttachedGood to GreatSay Nothing
    Trending categories
    Self HelpCommunication SkillRelationshipMindfulnessPhilosophyInspirationProductivity
    Celebrities' reading list
    Elon MuskCharlie KirkBill GatesSteve JobsAndrew HubermanJoe RoganJordan Peterson
    Award winning collection
    Pulitzer PrizeNational Book AwardGoodreads Choice AwardsNobel Prize in LiteratureNew York TimesCaldecott MedalNebula Award
    Featured Topics
    ManagementAmerican HistoryWarTradingStoicismAnxietySex
    Best books by Year
    2025 Best Non Fiction Books2024 Best Non Fiction Books2023 Best Non Fiction Books
    Learning tools
    Knowledge VisualizerAI Podcast Generator
    Featured authors
    Chimamanda Ngozi AdichieGeorge OrwellO. J. SimpsonBarbara O'NeillWinston ChurchillCharlie Kirk
    BeFreed vs other apps
    BeFreed vs. Other Book Summary AppsBeFreed vs. ElevenReaderBeFreed vs. ReadwiseBeFreed vs. Anki
    Information
    About Usarrow
    Pricingarrow
    FAQarrow
    Blogarrow
    Careerarrow
    Partnershipsarrow
    Ambassador Programarrow
    Directoryarrow
    BeFreed
    Try now
    © 2026 BeFreed
    Term of UsePrivacy Policy

    Key Takeaways

    1

    丢掉 Markdown:为什么 AI 时代需要“彩色”文档

    0:00
    0:30
    0:56
    1:05
    1:33
    1:46
    2:08
    2

    信号还是噪声:二十页 Wiki 真的不如三十行代码

    2:22
    2:43
    2:50
    3:14
    3:20
    3:45
    3:58
    4:18
    3

    走出 Notion 的围城:为什么 Repo-based 才是未来

    4:32
    4:52
    4:54
    5:12
    5:19
    5:36
    5:40
    6:05
    6:21
    4

    构建“上下文栈”:别再给 AI 塞垃圾桶了

    6:34
    6:42
    6:58
    7:02
    7:21
    7:23
    7:52
    8:06
    8:25
    8:31
    5

    自动化架构图:让文档自己“生长”

    8:56
    9:11
    9:21
    9:30
    9:52
    9:57
    10:11
    10:33
    10:39
    10:43
    6

    避坑指南:为什么你的 AI 助手越来越“笨”

    11:13
    11:28
    11:34
    10:43
    11:59
    12:04
    12:26
    9:30
    12:48
    12:57
    7

    实战清单:从明天起,这样管理你的代码库

    13:11
    13:23
    13:44
    13:48
    14:04
    14:10
    14:32
    14:48
    15:06
    8

    终局思考:当文档不再是文字,而是“活”的系统

    15:12
    15:24
    15:35
    15:47
    15:53
    16:07
    16:22
    16:36
    16:43
    16:45

    More like this

    DESIGN.md: The AI Design Blueprint book cover
    What is DESIGN.md — format, structure and usage with AI agentsdesign.md file: how to write a design system AI agents actually followStop reinventing your design system every project — use DESIGN.md instead | by Divya Patel | Apr, 2026 | MediumVoltAgent/awesome-design-md: A collection of DESIGN.md ... - GitHub
    5 sources
    DESIGN.md: The AI Design Blueprint
    Stop fighting generic AI code. Learn how a single Markdown file can align your AI agents with your brand's specific design system for consistent UI.
    14 min
    The Markdown Insurgency in AI Memory book cover
    Extend Claude CodeClaude Code Skills: Why Code Scripts Outperform Markdown Instructions for Agent Tasks | MindStudioOrchestrate teams of Claude Code sessionsAgent Memory in 2026 · MEMORY.md, frameworks, vector DBs, and hybrids — Jake Cuth.
    6 sources
    The Markdown Insurgency in AI Memory
    Complex vector databases are being replaced by simple text files. Discover why file-based memory often outperforms heavy infrastructure for AI agents.
    24 min
    Claude Code编程助手指南 book cover
    Python CookbookArtificial Intelligence and Generative AI for BeginnersChatGPT For DummiesLearn Python in One Day and Learn It Well
    22 sources
    Claude Code编程助手指南
    探索Anthropic的AI编程工具Claude Code如何提升开发效率60%。从基础安装到高级应用,学习如何让这个智能助手理解你的项目并执行代码操作。
    36 min
    2026 职场 AI 提效指南 book cover
    2026年度最佳 AI 工具指南-36氪从助手到系统、从秀场到交付,AI产业的2026进化路径-36氪最新调查:2026企业AI呈现六大趋势|智能体_新浪财经_新浪网2026年AI发展五大趋势:效率重构、智能升级与治理平衡
    8 sources
    2026 职场 AI 提效指南
    面对工具过载的焦虑,如何从 ChatGPT、Claude 和 Gemini 中选出最强辅助?本期 Lena 和 Eli 将带你拆解 S 级智能体清单,通过重构人机协作流,让你从低效重复劳动中解脱,真正找回工作的掌控感。
    22 min
    DeepSeek:效率革命下的智能新范式 book cover
    YouTube video CIDVbaXWp64
    1 source
    DeepSeek:效率革命下的智能新范式
    当大模型竞争从堆算力转向拼效率,DeepSeek V4 凭借架构创新撕开了 AGI 的新维度。我们将拆解这场让硅谷感到寒意的技术革命,带你洞察在智能体时代,为何极致的词元效率才是企业活下来的关键。
    11 min
    AI 学习:是外挂还是陷阱? book cover
    What Is ChatGPT Doing ... and Why Does It Work?Rewire Your BrainHow learning worksUncommon Sense Teaching
    26 sources
    AI 学习:是外挂还是陷阱?
    面对 AI 六周抵两年的学习神效,我们正陷入认知外包的陷阱。Lena 和 Eli 将深度拆解 ChatGPT 如何通过苏格拉底式引导重塑个性化教育,并探讨在算法喂养下,我们该如何守住深度思考的底线,避免大脑退化。
    15 min
    Skill Code book cover
    Skill Code
    Matt Beane
    Insightful guide on preserving human skills in the AI era, revealing the hidden code behind expert-novice relationships.
    10 min
    AI 2041 book cover
    AI 2041
    Kai-Fu Lee & Chen Qiufan
    Exploring AI's future and its implications
    10 min