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

Function getPlainText

src/components/MarkdownTable.tsx:89–91  ·  view source on GitHub ↗
(tokens_0: Token[] | undefined)

Source from the content-addressed store, hash-verified

87
88 // Get plain text (stripped of ANSI codes)
89 function getPlainText(tokens_0: Token[] | undefined): string {
90 return stripAnsi(formatCell(tokens_0));
91 }
92
93 // Get the longest word width in a cell (minimum width to avoid breaking words)
94 function getMinWidth(tokens_1: Token[] | undefined): number {

Callers 3

getMinWidthFunction · 0.85
getIdealWidthFunction · 0.85
renderVerticalFormatFunction · 0.85

Calls 2

stripAnsiFunction · 0.85
formatCellFunction · 0.85

Tested by

no test coverage detected