MCPcopy Index your code
hub / github.com/codeaashu/claude-code / formatCell

Function formatCell

src/components/MarkdownTable.tsx:84–86  ·  view source on GitHub ↗
(tokens: Token[] | undefined)

Source from the content-addressed store, hash-verified

82
83 // Format cell content to ANSI string
84 function formatCell(tokens: Token[] | undefined): string {
85 return tokens?.map(_ => formatToken(_, theme, 0, null, null, highlight)).join('') ?? '';
86 }
87
88 // Get plain text (stripped of ANSI codes)
89 function getPlainText(tokens_0: Token[] | undefined): string {

Callers 4

getPlainTextFunction · 0.85
calculateMaxRowLinesFunction · 0.85
renderRowLinesFunction · 0.85
renderVerticalFormatFunction · 0.85

Calls 1

formatTokenFunction · 0.85

Tested by

no test coverage detected