add_code_block
Inserts a monospace code block with a dark background and syntax highlighting onto an Inkboard page. Use it to display code snippets on a whiteboard at a chosen position or below existing content.
Instructions
Adds a code block (monospace font, dark background, syntax highlighting).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X of the top-left corner. Defaults to below the existing content. | |
| y | No | Y of the top-left corner. | |
| code | Yes | ||
| page | No | Page: number (from 1) or name. Defaults to the first. | |
| path | No | Path of the board file (.inkboard; .inkboard.json and .tableau.json also accepted). Optional when the application is open: the tool then acts live on the displayed board (undoable with Ctrl+Z). |