Artfical AI / Docs
tCode overview Open tAI Install tCode
Prompt examples

Syntax highlighting in responses

Code shown inside a response, whether quoted directly from an existing file or newly written as part of the turn, is syntax-highlighted using whichever theme is currently active for your session.

This is the same theme setting, and the same highlighting engine, used for the code blocks throughout this documentation itself, so a snippet reads the same way it would sitting in your actual editor rather than as plain, undifferentiated text.

See Configuration for how to list available themes and switch between them with /theme.

Highlighting is applied automatically based on the language a code block appears to be in; there is no need to tell tCode what language a snippet is in for it to be colored correctly, the same automatic detection a modern editor would apply.

Because the theme setting is shared with the tAI web app, described in Code theme, a response you review later in the browser shows the same colors you saw in the terminal, rather than reverting to a different default.