MCPcopy
hub / github.com/ResearAI/DeepScientist / ColorizeCodeOptions

Interface ColorizeCodeOptions

src/tui/src/utils/CodeColorizer.tsx:5–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import { theme } from '../semantic-colors.js'
4
5export interface ColorizeCodeOptions {
6 code: string
7 language?: string | null
8 availableHeight?: number
9 maxWidth: number
10 hideLineNumbers?: boolean
11}
12
13const resolveLineColor = (line: string, language?: string | null): string => {
14 const isDiff = language === 'diff' || language === 'patch'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected