L Loach Docs
Ctrl K

Code blocks & canvas

Every fenced code block in an assistant reply is syntax-highlighted, line-numbered and comes with a small toolbar. For longer snippets, the Open in canvas action gives you a wider, easier-to-read view alongside the conversation.

Inline actions

Hover over any code block and the toolbar exposes:

The canvas panel

The canvas opens in the right-hand slot of the window. It shows:

The canvas is also where text and code attachment previews open — clicking a recognised code or text file chip in the transcript routes straight here, with the same highlighting and export controls.

Heads up

The canvas and the parameters sidebar share the same right-hand slot. Opening the canvas will close the parameters panel for that chat; closing the canvas brings it back.