Request to have text formatted

Resolved 💬 2 comments Opened Nov 5, 2025 by adrianveen Closed Mar 20, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What feature would you like to see?

Output has no formatting (all white text). Code blocks needed to be requested.
<img width="929" height="610" alt="Image" src="https://github.com/user-attachments/assets/357b5887-66d5-49fe-a4a4-79168901f012" />

Would love to see code blocks. Doesn't need be full syntax highlighting but some highlighting would be much preferred over the current format.

This is in WSL2 using powershell

Additional information

_No response_

View original on GitHub ↗

2 Comments

Eriz1818 · 6 months ago

I implemented syntax highlighting in my fork, xCodex (xcodex), and shipped it in v0.3.5.

What it does:

  • Syntax-highlights fenced code blocks in the transcript (themeable).
  • Also supports diff highlighting in the transcript (separate toggle).

Languages supported (v0.3.5):
Bash (bash/sh/zsh), C, C++, CSS, Go, HTML, Java, JavaScript, JSON, Python, Ruby, Rust, TypeScript, YAML.

How to try:

  • Install: npm i -g @eriz1818/xcodex
  • Toggle in TUI: /settings transcript syntax-highlight toggle

(or config.toml: [tui] transcript_syntax_highlight = true)

  • or via /settings menu

Docs:

<img width="2056" height="1153" alt="Image" src="https://github.com/user-attachments/assets/f8e4cac5-9c00-4281-be08-ed64c893f009" />

etraut-openai contributor · 5 months ago

Syntax highlighting is now implemented