Code Block Components, Reinvented

Each of these started from the plain code block (code, code snippet, snippet) and took it somewhere new. Last, some that aren't a code block at heart but can stand in for one.

A new take on the code block

  • Polyglot

    API Code Snippet Tabs

    Switch languages and shared values glide into place.

Can stand in for one

  • Diff Apply

    Animated Code Diff

    Not a code block at heart, but it can stand in for one: a code change applies itself, with Keep and Undo.

  • Agent Session

    AI Agent Terminal Demo

    Not a code block at heart, but it can stand in for one: a coding agent's terminal beside the app it edits.