MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / pushStyle

Function pushStyle

static/ansi-to-html.ts:310–312  ·  view source on GitHub ↗
(stack: string[], style: string)

Source from the content-addressed store, hash-verified

308}
309
310function pushStyle(stack: string[], style: string): string {
311 return pushTag(stack, 'span', style);
312}
313
314function pushForegroundColor(stack: string[], color: string): string {
315 return pushTag(stack, 'span', 'color:' + color);

Callers 2

handleRgbFunction · 0.85
handleDisplayFunction · 0.85

Calls 1

pushTagFunction · 0.85

Tested by

no test coverage detected