---
title: Code & Data
description: Walk through source code, stylesheets, and structured JSON/YAML data with high-contrast syntax highlighting, Line Spotlight, and collapsible trees.
sidebar:
  label: Code & Data
  order: 12
lastUpdated: "2026-12-03"
---

Walk audiences through source code, stylesheets, API payloads, and configuration files without squinting at tiny editor windows. **Code & Data** delivers auditorium-ready syntax highlighting, interactive **Line Spotlight**, and a live collapsible **JSON / YAML Tree**.

## Supported File Formats

- **Structured Data**: `.json`, `.yaml`, `.yml` (with live collapsible tree view and raw text view)
- **Code & Stylesheets**: `.css`, and common source code files with automatic syntax highlighting

## Real-World Presenter Use Cases

- **Engineering Demos & Architecture Talks**: Tap specific lines with **Line Spotlight** to highlight the exact logic you are explaining while dimming surrounding lines so every eye stays focused.
- **API & Configuration Walkthroughs**: Expand and collapse nested `.json` or `.yaml` branches live during a technical briefing—revealing only the fields relevant to the current question.
- **Side-by-Side Code & Output**: Place your code or JSON payload in the left pane and the resulting **Rich Interactive HTML** or **Image Studio** preview in the right pane.

## How to Use It on Stage

:::steps
1. Tap an empty pane (or **Add Content**) and select your code, `.css`, `.json`, or `.yaml` file.
2. Tap **Text Size** in the contextual toolbar to make every character effortless to read from across the room.
3. Tap **Line Spotlight** and tap any line (or range of lines) to illuminate it while gently dimming the rest of the file.
4. For `.json` and `.yaml` files, switch between **Tree View** (to expand and collapse nested keys live) and **Source View**.
5. Use **Search** in the toolbar to jump directly to a symbol, key, or line number during Q&A.
:::

## Contextual Toolbar Controls

| Control | What It Does |
|---|---|
| **Line Spotlight** | Highlights selected lines and dims surrounding code so the audience follows your exact focus. |
| **Tree / Source View** | Switches `.json` and `.yaml` files between an interactive collapsible tree and formatted source text. |
| **Text Size** | Scales code font size smoothly for projectors, TVs, and live streams. |
| **Line Numbers & Wrap** | Toggles line numbers and soft line wrapping for narrow split panes. |
| **Search** | Finds and jumps straight to matching keys, symbols, or text. |

:::tip[Turn On Word Wrap in Narrow Split Panes]
When showing code in a 50 / 50 or 70 / 30 **Split View** alongside slides or a live preview, enable **Line Wrap** in the toolbar so long lines never clip off the right edge of the audience screen.
:::
