The Unreasonable Effectiveness of HTML: Why the Claude Code Team Switched from Markdown
Thariq Shihipar, a member of the Claude Code technical staff at Anthropic, published a widely-shared piece arguing that HTML β not Markdown β is the superior output format for Claude Code workflows. The article demonstrates six high-value use cases where HTML's richer expressiveness (interactive elements, SVG diagrams, styled tables, tabbed navigation) delivers dramatically better results than Markdown's flat text limitations. The post sparked major community discussion with over 750,000 views, a Hacker News thread, and coverage in Lenny's Newsletter and Simon Willison's blog.
Featured Video
A video we selected to help illustrate this changelog
Sources & Mentions
5 external resources covering this update
Why this Claude Code engineer uses HTML files as AI specs | Thariq Shihipar (Anthropic)
Youtube
Using Claude Code: The Unreasonable Effectiveness of HTML
Hacker News
Using Claude Code: The Unreasonable Effectiveness of HTML
Simon Willison
HTML is the new markdown: How Anthropic engineers are building with Claude Code
Lenny's Newsletter
Anthropic Engineer Just Killed Markdown Outputs β I Tested His HTML In Claude Code
Medium
HTML as the New Default Output Format for Claude Code
On May 20, 2026, Thariq Shihipar β a member of the technical staff on the Claude Code team at Anthropic β published "Using Claude Code: The Unreasonable Effectiveness of HTML," a piece that quickly became one of the most-discussed Claude Code technique guides of the year.
The central argument is deceptively simple: when working with Claude Code, requesting HTML output instead of Markdown unlocks dramatically richer, more useful results. The post went viral within 48 hours β accumulating over 750,000 views, 14,000 likes, 30,000 bookmarks, and 1,600 quote posts on X β and prompted substantial community discussion on Hacker News and developer blogs.
Why HTML Beats Markdown for AI-Generated Content
Shihipar identifies five structural advantages of HTML over Markdown in the Claude Code context:
Information density is the most fundamental. Markdown's expressive range is essentially limited to headings, lists, code blocks, and basic tables. HTML can represent styled tables with color-coded cells, SVG illustrations, embedded charts, interactive sliders, tabs, and collapsible sections β all within a single file. When Claude is limited to Markdown and needs to convey spatial or visual information, it resorts to ASCII diagrams and Unicode approximations. HTML eliminates these compromises.
Visual clarity scales better with content volume. A Markdown spec that runs to 150 lines becomes a wall of text. The same content structured as HTML β with navigation tabs, color-coded sections, and embedded diagrams β becomes something colleagues will actually read.
Shareability is simpler: HTML files render natively in any browser, can be served as links, and require no special tooling to view. Markdown typically requires a renderer or IDE preview.
Two-way interactivity is unique to HTML: interactive sliders, parameter toggles, and option knobs let users adjust AI-generated designs or configurations and export modified results back into Claude Code prompts. This creates a tighter human-in-the-loop cycle.
Context integration: Claude Code's large context window allows HTML outputs to synthesize data from file systems, MCP integrations (Slack, Linear), browser history, and git repositories into comprehensive, visual documents.
Six Use Cases Where HTML Shines
1. Specs, Planning, and Exploration
HTML files serve as rich problem-solving canvases β side-by-side comparisons of implementation approaches, mockup-annotated plans, and data flow diagrams. These files persist as living references throughout a project.
Example prompt: "Generate 6 distinctly different approaches and lay them out as a single HTML file in a grid so I can compare them side by side."
2. Code Review and Understanding
HTML enables annotated diff rendering with inline margin comments, color-coded severity levels, flowcharts, and call-graph visualizations β making complex PRs and codebase walkthroughs far more navigable than Markdown-rendered code blocks.
3. Design and Prototypes
Because Claude Design itself uses HTML, Claude Code agents can sketch and iterate on designs directly. Interactive sliders for animations, component variant selectors, and design token visualizations let users tune parameters and export working values.
4. Reports, Research, and Learning
Claude Code can synthesize information from multiple data sources into an interactive HTML report β inline SVG diagrams, tabbed sections, embedded charts β rather than a flat Markdown document.
5. Custom Editing Interfaces
Throwaway HTML editors built for specific data problems are a standout use case: Kanban-style drag-and-drop boards, feature-flag dependency visualizers, and live template-preview editors. Critical to the pattern: a "copy as JSON" or "copy as prompt" button that exports the modified state back into Claude Code.
6. Data Curation and Annotation
HTML interfaces excel at approval/rejection workflows, tagging tasks, color selection, schedule configuration, and regex builder UIs β tasks that are awkward to express purely in text but map naturally to interactive HTML form elements.
The Human-in-the-Loop Argument
Beyond the technical advantages, Shihipar's most resonant point is philosophical: "The real reason I use HTML instead of Markdown is that it helps me feel much more in the loop with Claude." As AI agents take on larger, longer-running tasks, the risk of disengagement grows. Richer output formats that are visually engaging and interactive counteract that drift β keeping the human actively reading, adjusting, and directing rather than passively waiting.
The article is accompanied by a public companion site (thariqs.github.io/html-effectiveness) with 20 self-contained HTML files, each demonstrating a real use case. Getting started requires only one prompt change: ask Claude to "make an HTML file" instead of a Markdown document.