codex icon indicating copy to clipboard operation
codex copied to clipboard

Request to have text formatted

Open adrianveen opened this issue 1 year ago • 2 comments

What feature would you like to see?

Output has no formatting (all white text). Code blocks needed to be requested. Image

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

adrianveen avatar Nov 05 '25 19:11 adrianveen

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:

  • Settings: https://github.com/Eriz1818/xCodex/blob/main/docs/xcodex/settings.md
  • Release notes: https://github.com/Eriz1818/xCodex/blob/main/docs/xcodex/releases/0.3.5.md
  • Theming/token roles: https://github.com/Eriz1818/xCodex/blob/main/docs/xcodex/themes.md
Image

Eriz1818 avatar Feb 04 '26 07:02 Eriz1818

Syntax highlighting is now implemented

etraut-openai avatar Mar 20 '26 06:03 etraut-openai