Claude Code 支持丰富的终端输出格式,包括颜色、样式和结构化显示。
{ "ui": { "colorScheme": "auto", // auto, light, dark, custom "colors": { "success": "#00ff00", "error": "#ff0000", "warning": "#ffff00", "info": "#0000ff" } } }
Claude Code 自动渲染 Markdown 格式:
代码块:
function hello() { console.log('Hello World'); }
列表:
表格:
{ "output": { "showLineNumbers": true, "syntaxHighlighting": true, "maxWidth": 120, "theme": "monokai" } }
在本章中,我们学习了: