Claude Code Just Killed Markdown (Use HTML Instead)
Beto, May 23, 2026 · 4,775 views
Claude code just changed how I use AI outputs by switching from Markdown to HTML. This shift means you get richer, more interactive, and visually clearer responses from Claude. If you want to build better AI-powered apps or analyze data with more clarity, this video is for you.
I show how HTML outputs let you embed tables, colors, graphs, toggles, sliders, and even JavaScript interactions inside Claude responses. This makes it easier to understand complex data or code explanations. I also demo real use cases like analyzing ad spend data and reviewing Swift code with clickable explanations.
What's inside
- Claude code team’s switch from Markdown to HTML outputs
- Using HTML for richer, interactive AI responses
- Analyzing Apple Ads vs revenue data with HTML graphs
- Generating and reviewing Swift code explanations in HTML
- Iterating on HTML responses with selectors and chat pins
- Using HTML for design prototypes and UI interactions
- Tradeoffs: token usage vs clarity with HTML vs Markdown
- How to get started asking Claude for HTML outputs
Claude code team’s switch from Markdown to HTML outputs
The Claude code team recently announced they no longer use Markdown internally for AI outputs. Instead, they generate HTML responses by default. This is a big deal because HTML allows much richer formatting and interactivity than Markdown.
For developers and AI users, this means you can now ask Claude to produce HTML outputs that look like mini websites, not just plain text or simple formatting. This opens up new possibilities for presenting data, code, and UI prototypes in a clearer and more engaging way.
Using HTML for richer, interactive AI responses
HTML outputs let you embed tables, colors, images, and even interactive elements like toggles, sliders, and JavaScript code inside Claude’s responses. This makes the output more dynamic and easier to scan visually.
For example, you can create graphs with color-coded data points or interactive UI components that respond to user input. This is a huge step up from Markdown’s limited formatting, which is mostly static and text-based.
Analyzing Apple Ads vs revenue data with HTML graphs
I demoed a real use case where I dragged a CSV file with Apple Ads spend and revenue data into Claude. I asked Claude to generate an HTML report showing if we are making or losing money on ads.
Claude returned a clean HTML file with colored graphs and charts that clearly showed daily profit and loss. Red numbers indicated losses, blue numbers profits, and the graphs made it easy to spot trends at a glance. This kind of visual clarity is hard to achieve with Markdown.
Generating and reviewing Swift code explanations in HTML
As a developer, I’m not fluent in Swift modifiers, so I asked Claude to generate an HTML file explaining how a specific Swift modifier works. Claude created an interactive code snippet where I could click on each line to get detailed explanations.
This approach makes it much easier to understand unfamiliar code. Instead of scrolling through plain text, you get a clickable, annotated code walkthrough. It’s a great way to learn or review code with AI assistance.
Iterating on HTML responses with selectors and chat pins
If you don’t like a part of the HTML response, you can use CSS selectors or chat pins to highlight or isolate that section. Then you can ask Claude specific questions about that part or request changes.
This iterative workflow lets you refine the AI output interactively, making it easier to debug or improve the generated content. It’s a powerful way to work with complex HTML responses inside the chat.
Using HTML for design prototypes and UI interactions
HTML is also great for prototyping UI designs and interactions. Claude Design, which is based on HTML, lets you create visual prototypes that can later be translated into React or Swift code.
You can prototype animations, sliders, knobs, and other interactive elements in HTML, then ask Claude to generate equivalent code for your target platform. This helps bridge the gap between design and development with AI.
Tradeoffs: token usage vs clarity with HTML vs Markdown
Markdown uses fewer tokens, so it’s cheaper and faster in some cases. But HTML outputs, while heavier, provide much clearer and more scannable results. This can reduce the need for repeated prompts and clarifications, saving tokens in the long run.
The Claude team now prefers HTML because the improved clarity and interactivity outweigh the extra token cost. For complex outputs, HTML is the better choice.
How to get started asking Claude for HTML outputs
To get HTML responses from Claude, you must explicitly ask for HTML in your prompt. Otherwise, Claude defaults to Markdown.
Start by requesting an HTML artifact or file that presents your data or code clearly. Experiment with asking for tables, graphs, or interactive explanations. This simple change unlocks much richer AI outputs for your projects.
Resources

Premium resourcePro Membership
Get access to exclusive AI workflows, templates, and support.
Like this article? Get the rest of the library plus weekly React Native tips. Free.