[Feature request] Syntax highlighting in markdown responses
Resolved 💬 2 comments Opened Jul 10, 2025 by MauScheff Closed Jul 11, 2025
💡 Likely answer: A maintainer (bolinfest, collaborator)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
codex-cli 0.3.0
Which model were you using?
codex-mini-latest
What platform is your computer?
Darwin 24.4.0 x86_64 i386
What steps can reproduce the bug?
When I get an explanation from codex, sometimes it includes markdown code snippets, it would be great if this are syntax highlighted in the way that Github Copilot Chat does, or in any way really, it would make it easier to read.
What is the expected behavior?
Syntax highlighted code
What do you see instead?
│```ts ││
│if (typeof outputDef === "string") { ││
│ return port === "value" ? outputDef : null; ││
│} ││
│```
Additional information
Using VSCode with zsh. Maybe I can use codex-mini-latest with Github Copilot Chat in agentic mode? Will that be as good?
2 Comments
See https://github.com/openai/codex/issues/1246
Note that tagged code blocks do seem to get highlighted for me in some cases, but I don't know how broad the language support is for syntax highlighting in the library we are using offhand.
Thanks!\ it's good to know that this is being improved.