HTML is the ideal canvas for LLMs ✦
Thariq Shihipar on X:
I’ve started preferring HTML as an output format instead of Markdown and increasingly see this being used by others on the Claude Code team, this is why.
I don’t know whether I, and many others, are just catching up to the latest model capabilities, or if it’s because the harnesses have levelled up via new skills and MCPs, but in the past fortnight something clicked for me, and now almost every chat feels like it could have an HTML element to it. Let me share a few examples:
- After reading about rumoured CGT changes in Australia’s upcoming federal budget, I asked Claude to create a calculator so I could model the impact on my investments without back-and-forth in the chat.
- I mocked up and iterated on several app screens for a new feature in just a few minutes, then asked Claude (the app) to write a document I could give to Claude Code to implement.
- I asked Claude to generate an artifact covering a recent npm supply chain attack. This pulls together information from multiple sources into a single experience, and progressively reveals information so I can better comprehend it.
So far I’ve mostly created these in the Claude app, but after reading Thariq’s post I’m inspired to experiment with them in Claude Code too.