codex
codex copied to clipboard
Request to have text formatted
What feature would you like to see?
Output has no formatting (all white text). Code blocks needed to be requested.
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
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
/settingsmenu
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
Syntax highlighting is now implemented