mirror of
https://github.com/openai/codex.git
synced 2026-11-26 23:40:43 +00:00
## Why Markdown file links can repeat the same path in the transcript. For example, `[docs/guide.md](docs/guide.md)` renders as `docs/guide.md (docs/guide.md)`. ## What changed When a file link's visible label matches the displayed destination, use the label as the clickable path and preserve its inline formatting. When the label differs, keep the destination in parentheses so details such as line anchors remain visible. ## Testing Extend rendering snapshots for relative paths and line anchors, check hyperlink ranges in narrow tables, and cover copying selections from formatted file link labels. GitOrigin-RevId: ade81a85e0dfe336d630388bd586634d0a80357f