feat(frontend): syntax-highlight all tool results + expand language support#357
feat(frontend): syntax-highlight all tool results + expand language support#357dimakis wants to merge 1 commit into
Conversation
Use CodeBlock for all tool result rendering, not just Read tool. Bash output gets bash highlighting, Write/Edit results get the file's language, and everything else gets consistent monospace + copy button. Add clojure, dart, elixir, erlang, haskell, nginx, nix, objectivec, ocaml, powershell, scala, wasm to both CodeBlock registrations and the EXT_MAP language map. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Centaur ReviewFound 5 issue(s) (1 critical) (3 warning).
|
Summary
CodeBlockinstead of plain<pre>— Bash output getsbashhighlighting, Write/Edit results use the file's language, everything else gets consistent monospace styling with copy buttonCodeBlockregistrations andEXT_MAP: clojure, dart, elixir, erlang, haskell, nginx, nix, objectivec, ocaml, powershell, scala, wasmTest plan
.nix,.ex,.hs,.dart,.scalafile → correct highlighting🤖 Generated with Claude Code