{"version":"2.1.289","anchor":"syntax-highlighting-gets-a-work-bound","canonical_anchor":"syntax-highlighting-gets-a-work-bound","heading":"Syntax highlighting gives up on code blocks that take too much work","tier":"notice","area":"Terminal UI","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.289\/e\/syntax-highlighting-gets-a-work-bound","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.289","markdown":"### Syntax highlighting gives up on code blocks that take too much work\n\nCode highlighting now has a work limit based on text length, nesting and embedded languages, and stops highlighting a block that goes over it\n\n**Unclear.** How the block is shown once highlighting is abandoned is not stated.\n\n**What**\n\nSyntax highlighting is the colouring of code shown in Claude Code's output. It now runs under a work limit. The limit depends on:\n\n- the length of the text\n\n- how deeply the code is nested\n\n- how many other languages are embedded inside it\n\nIf highlighting a block needs more work than the limit allows, Claude Code abandons highlighting for that block.\n\n**Why**\n\nSome unusual code blocks could make highlighting take a very long time and leave Claude Code hanging. The limit stops that from happening.\n\n- Area: Terminal UI\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}