Output Styling


Terminal Output Format

Claude Code supports rich terminal output formats, including colors, styles, and structured displays.

Color Scheme Configuration

{
  "ui": {
    "colorScheme": "auto",  // auto, light, dark, custom
    "colors": {
      "success": "#00ff00",
      "error": "#ff0000",
      "warning": "#ffff00",
      "info": "#0000ff"
    }
  }
}

Markdown Rendering

Claude Code automatically renders Markdown format:

Code Blocks:

function hello() {
  console.log('Hello World');
}

Lists:

  • Item 1
  • Item 2
    • Sub-item

Tables:

NameAgeCity
Alice25NYC
Bob30SF

Custom Output

Configure Output Options

{
  "output": {
    "showLineNumbers": true,
    "syntaxHighlighting": true,
    "maxWidth": 120,
    "theme": "monokai"
  }
}

Summary

In this chapter, we learned:

  • ✅ Terminal output formats
  • ✅ Markdown rendering
  • ✅ Custom output options

Next Step: Continue with Hooks.