mirror of
https://github.com/openai/codex.git
synced 2026-10-30 19:18:49 +00:00
Integrate syntax highlighting into diff rendering and markdown code blocks, with proper line wrapping that preserves styled spans. - Add detect_lang_for_path() for extension-based language detection - Syntax-aware diff rendering for Add/Delete/Update file changes - wrap_styled_spans() splits long highlighted lines across display rows - Buffer fenced code blocks in markdown_render for batch highlighting - Add snapshot tests for highlighted diff wrapping - Replace code_block_unhighlighted test with 3 syntax color assertions